|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.google.gdata.data.AbstractExtension com.google.gdata.data.ExtensionPoint com.google.gdata.data.BaseEntry<E> com.google.gdata.data.media.MediaEntry<FormTypeEntry> com.frevvo.forms.client.FormTypeEntry
public class FormTypeEntry
This entry represents a single FormType created by a user. It is also always owned/contained by an ApplicationEntry.
This entry does not contain any owned/contained feeds.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class com.google.gdata.data.BaseEntry |
---|
com.google.gdata.data.BaseEntry.AtomHandler, com.google.gdata.data.BaseEntry.EntryState |
Nested classes/interfaces inherited from class com.google.gdata.data.ExtensionPoint |
---|
com.google.gdata.data.ExtensionPoint.CumulativeBlobHandler, com.google.gdata.data.ExtensionPoint.ExtensionHandler |
Nested classes/interfaces inherited from class com.google.gdata.data.AbstractExtension |
---|
com.google.gdata.data.AbstractExtension.AttributesHandler |
Field Summary | |
---|---|
static java.lang.String |
EMBED_BORDER_PARAMETER
true (default) to center the iframe in the page, or
false otherwise |
static java.lang.String |
EMBED_BUTTONCLASS_N_PARAMETER
Button's css class parameter (see VALUE_BUTTONCLASS_* constants). |
static java.lang.String |
EMBED_BUTTONCLICK_N_PARAMETER
Button's onclick javascript parameter. |
static java.lang.String |
EMBED_BUTTONHREF_N_PARAMETER
Button's href parameter. |
static java.lang.String |
EMBED_BUTTONLABEL_N_PARAMETER
Button's label parameter. |
static java.lang.String |
EMBED_BUTTONTITLE_N_PARAMETER
Button's title parameter. |
static java.lang.String |
EMBED_CENTER_PARAMETER
true (default) to center the iframe in the page, or
false otherwise |
static java.lang.String |
EMBED_CONTAINER_PARAMETER
true to generate a container markup to centralize the form
in the page, false (default) otherwise |
static java.lang.String |
EMBED_HEIGHT_PARAMETER
The initial height (defaults to the height set in the form or 600px otherwise) for the iframe; useful when EMBED_RESIZE_PARAMETER is set to false |
static java.lang.String |
EMBED_ID_PARAMETER
Override the iframe id attribute (defaults to frevvo-form
allowing more than on form embedded in the same page |
static java.lang.String |
EMBED_RESIZE_PARAMETER
true (default) to auto resize the iframe when the form or
form designer changes its height or width, false to disable
it, 'vert' for vertical resize only and 'horz' for horizontal resize. |
static java.lang.String |
EMBED_WIDTH_PARAMETER
The initial witdh (defaults to the width set in the form or 600px otherwise) for the iframe; useful when EMBED_RESIZE_PARAMETER is set to false |
static java.lang.String |
FORMTYPE_CLIENTID_PARAMETER
The client id that is going to be associated with the new instance created; if an instance already exist it will be reused instead of creating a new one |
static java.lang.String |
FORMTYPE_DATA_PARAMETER
A java.util.Map containing control names/values used to
initialize the form |
static java.lang.String |
FORMTYPE_DOCACTIONSYNC_PARAMETER
true (default) to perform the document action synchronously,
false otherwise |
static java.lang.String |
FORMTYPE_DOCACTIONURL_PARAMETER
The url used to send the form documents. |
static java.lang.String |
FORMTYPE_ENTRY_URL_FORMAT
|
static java.lang.String |
FORMTYPE_ERRORACTIONTARGET_PARAMETER
The target frame to be redirected to the error action url: use with EMBED_ERRORACTIONURL_PARAMETER |
static java.lang.String |
FORMTYPE_ERRORACTIONURL_PARAMETER
The url used to redirect the browser when there are doc action errors submitting the form. |
static java.lang.String |
FORMTYPE_FORMACTIONMETHOD_PARAMETER
The target frame to be redirected to the form action url: use with EMBED_FORMACTIONMETHOD_PARAMETER |
static java.lang.String |
FORMTYPE_FORMACTIONTARGET_PARAMETER
The target frame to be redirected to the form action url: use with EMBED_FORMACTIONTARGET_PARAMETER |
static java.lang.String |
FORMTYPE_FORMACTIONURL_PARAMETER
The url used to redirect the browser after the form designer is finished/cancelled or the form submitted. |
static java.lang.String |
FORMTYPE_LOCALE_PARAMETER
The locale |
static java.lang.String |
FORMTYPE_ONINIT_PARAMETER
The Javascript function name to be called before the form is initialized |
static java.lang.String |
FORMTYPE_ONSUBMIT_PARAMETER
The Javascript function name to be called after the form is submitted |
static java.lang.String |
FORMTYPE_READONLY_PARAMETER
true to render the form in read-only mode,
false false otherwise |
static java.lang.String |
FORMTYPE_THEME_PARAMETER
The theme id or name used to override the theme set in the form of application |
static java.lang.String |
REL_CONTROLTYPE
|
static java.lang.String |
REL_DESIGNER
|
static java.lang.String |
REL_DOCUMENTTYPES
|
static java.lang.String |
REL_FORM
|
static java.lang.String |
REL_FORM_POPUP
|
static java.lang.String |
REL_SCHEMA
|
static java.lang.String |
REL_SNAPSHOT
|
static java.lang.String |
REL_SUBMISSIONS
|
static java.lang.String |
VALUE_BUTTONCLASS_EDIT
Pre-defined styling for an edit button |
static java.lang.String |
VALUE_BUTTONCLASS_REMOVE
Pre-defined styling for a remove button |
static java.lang.String |
VALUE_FORMACTIONTARGET_CLOSE
Closes the current frame |
static java.lang.String |
VALUE_FORMACTIONTARGET_FRAME
Redirects the current form frame |
static java.lang.String |
VALUE_FORMACTIONTARGET_PARENT
Redirects the parent frame |
static java.lang.String |
VALUE_FORMACTIONTARGET_TOP
Redirects the top frame of the browser |
static java.lang.String |
VALUE_RESIZE_FALSE
Turn auto resize off |
static java.lang.String |
VALUE_RESIZE_HORIZONTAL
Turn auto resize on horizontally only |
static java.lang.String |
VALUE_RESIZE_TRUE
Turn auto resize on |
static java.lang.String |
VALUE_RESIZE_VERTICAL
Turn auto resize on vertically only |
Fields inherited from class com.google.gdata.data.BaseEntry |
---|
state |
Fields inherited from class com.google.gdata.data.ExtensionPoint |
---|
xmlBlob |
Fields inherited from class com.google.gdata.data.AbstractExtension |
---|
localName, namespace |
Constructor Summary | |
---|---|
FormTypeEntry()
Constructs a new Entry instance |
Method Summary | |
---|---|
com.google.gdata.data.media.MediaSource |
createAttachmentSource(java.lang.String controlName,
java.lang.String fileName,
java.io.InputStream is,
java.lang.String contentType)
Create a new attachment source that can be used to instantiate a form and initialize an Upload control (See |
com.google.gdata.data.media.MediaSource |
createDocumentSource(java.lang.String name,
java.io.InputStream is)
Create a new XML Document Source that can be used to instantiate a form and initialize it with XML (See |
java.net.URL |
createFormInstance(java.util.Map<java.lang.String,java.lang.Object> linkParams,
java.util.List<com.google.gdata.data.media.MediaSource> documents)
Creates a new Form instance and returns the raw instance URL |
java.net.URL |
createFormInstanceEmbed(java.util.Map<java.lang.String,java.lang.Object> linkParams,
java.util.List<com.google.gdata.data.media.MediaSource> documents)
Creates a new Form instance and returns the embed instance URL |
void |
declareExtensions(com.google.gdata.data.ExtensionProfile extProfile)
|
ControlTypeFeed |
getControlTypeFeed()
Get the ControlTypeFeed owned by this FormTypeEntry. |
com.google.gdata.data.Link |
getControlTypeFeedLink()
Get the ControlTypeFeed link owned by this FormType. |
DeployState |
getDeployState()
|
DocumentTypeFeed |
getDocumentTypeFeed()
Get the DocumentTypeFeed owned by this entry. |
com.google.gdata.data.Link |
getDocumentTypeFeedLink()
Get the DocumentTypeFeed link owned by this entry. |
static java.net.URL |
getEntryURL(java.net.URL baseUrl,
java.lang.String id)
Gets an URL for accessing an FormType entry |
static java.net.URL |
getEntryURL(java.net.URL baseUrl,
java.lang.String id,
boolean full)
Get the formtype entry URL |
com.google.gdata.data.Link |
getFormTypeEditorEmbedLink(java.util.Map<java.lang.String,java.lang.Object> linkParams)
Get the Javascript link to this FormTypeEntry 's designer. |
com.google.gdata.data.Link |
getFormTypeEditorLink(java.util.Map<java.lang.String,java.lang.Object> linkParams)
Get the HTML link to this FormTypeEntry 's designer. |
com.google.gdata.data.Link |
getFormTypeEmbedLink(java.util.Map<java.lang.String,java.lang.Object> linkParams)
Get the embed JS url for this FormTypeEntry that can be used
to automatically generate an iframe and container markup. |
com.google.gdata.data.Link |
getFormTypeLink(java.util.Map<java.lang.String,java.lang.Object> linkParams)
Get the HTML link to this FormTypeEntry . |
com.google.gdata.data.Link |
getFormTypePopupLink(java.util.Map<java.lang.String,java.lang.Object> linkParams)
Get a link to an HTML page that embeds this FormTypeEntry . |
com.google.gdata.data.Link |
getFormTypeSchemaLink()
Get the XML Schema for the FormType. |
KeysExtension |
getKeys()
Get the keys associated with this submission |
java.lang.String |
getKind()
Get the kind of formtype: either FLOW or FORM |
ApplicationEntry |
getOnwerEntry()
Get the owner ApplicationEntry for this FormTypeEntry. |
java.lang.String |
getOwnerId()
Get the id of the ApplicationEntry that owns this FormTypeEntry. |
FormTypeEntry |
getSelf(boolean full)
Get self entry |
com.google.gdata.data.Link |
getSnapshotLink(java.lang.String contentType)
Get the snapshot link for the given content type |
java.util.List<com.google.gdata.data.Link> |
getSnapshotLinks()
Get all available snapshot links for this entry |
SubmissionFeed |
getSubmissionFeed()
Get the SubmissionFeed for this entry. |
com.google.gdata.data.Link |
getSubmissionFeedLink()
Get the SubmissionFeed link for submissions for this FormType. |
com.google.gdata.data.Link |
getSubmissionsEmbedLink(java.util.Map<java.lang.String,java.lang.Object> linkParams)
Get the submissions embed JS url for this FormTypeEntry that
can be used to automatically generate an iframe and container markup
showing submissions for this form. |
com.google.gdata.data.Link |
getSubmissionsLink(java.util.Map<java.lang.String,java.lang.Object> linkParams)
Get the HTML link to this FormTypeEntry . |
java.lang.String |
getTemplateId()
|
Visibility |
getVisibility()
|
boolean |
isPublic()
Deprecated. Use getVisibility() instead |
boolean |
isReadOnly()
Is this entry read only? |
protected static java.util.Map<java.lang.String,java.lang.Object> |
normalizeParameters(java.util.Map<java.lang.String,java.lang.Object> linkParams)
Normalize link parameters before using them to generate urls |
void |
setDeployState(DeployState deployState)
|
void |
setKind(java.lang.String v)
|
void |
setPublic(boolean isPublic)
Deprecated. Use getVisibility() instead |
void |
setReadOnly(boolean readOnly)
Sets the read-only property for this entry |
void |
setTemplateId(java.lang.String templateId)
|
void |
setVisibility(Visibility visibility)
|
FormTypeEntry |
updateMedia(boolean arg0)
|
Methods inherited from class com.google.gdata.data.media.MediaEntry |
---|
getContentHandlerInfo, getMediaEditLink, getMediaSource, setMediaSource, setService |
Methods inherited from class com.google.gdata.data.BaseEntry |
---|
addAdaptor, addHtmlLink, addLink, addLink, delete, generate, generateAtom, generateRss, getAdaptedEntry, getAdaptor, getAdaptors, getAuthors, getCanEdit, getCategories, getContent, getContributors, getEdited, getEditLink, getEtag, getHandler, getHtmlLink, getId, getLink, getLinks, getLinks, getPlainTextContent, getPubControl, getPublished, getRights, getSelf, getSelfLink, getService, getSource, getSummary, getTextContent, getTitle, getUpdated, getVersionId, isDraft, parseAtom, parseAtom, parseAtom, readEntry, readEntry, removeLinks, removeLinks, setCanEdit, setContent, setContent, setDraft, setEdited, setEtag, setId, setPubControl, setPublished, setRights, setSource, setSummary, setTitle, setUpdated, setVersionId, update, visitChildren |
Methods inherited from class com.google.gdata.data.ExtensionPoint |
---|
addExtension, addExtension, addRepeatingExtension, addRepeatingExtension, checkRequiredExtensions, createExtensionInstance, generate, generateCumulativeXmlBlob, generateExtensions, generateStartElement, getExtension, getExtensionDescription, getExtensionHandler, getExtensions, getManifest, getRepeatingExtension, getRepeatingExtensions, getXmlBlob, hasExtension, hasRepeatingExtension, initializeArbitraryXml, parseCumulativeXmlBlob, removeExtension, removeExtension, removeRepeatingExtension, setExtension, setXmlBlob, visit, visitChild |
Methods inherited from class com.google.gdata.data.AbstractExtension |
---|
consumeAttributes, eq, generateAttributes, getExtensionLocalName, getExtensionNamespace, isImmutable, putAttributes, sameClassAs, setImmutable, throwExceptionForMissingAttribute, throwExceptionIfImmutable, validate |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.google.gdata.data.IEntry |
---|
getCanEdit, getContent, getEdited, getEditLink, getPublished, getSummary, setCanEdit, setEdited, setPublished |
Methods inherited from interface com.google.gdata.data.IAtom |
---|
addLink, getAuthors, getCategories, getEtag, getId, getLink, getLinks, getSelfLink, getTitle, getUpdated, getVersionId, removeLinks, removeLinks, setEtag, setId, setUpdated, setVersionId |
Field Detail |
---|
public static final java.lang.String REL_FORM
public static final java.lang.String REL_FORM_POPUP
public static final java.lang.String REL_CONTROLTYPE
public static final java.lang.String REL_DESIGNER
public static final java.lang.String REL_SUBMISSIONS
public static final java.lang.String REL_SCHEMA
public static final java.lang.String REL_DOCUMENTTYPES
public static final java.lang.String REL_SNAPSHOT
public static final java.lang.String FORMTYPE_ENTRY_URL_FORMAT
public static final java.lang.String EMBED_CONTAINER_PARAMETER
true
to generate a container markup to centralize the form
in the page, false
(default) otherwise
public static final java.lang.String EMBED_RESIZE_PARAMETER
true
(default) to auto resize the iframe when the form or
form designer changes its height or width, false
to disable
it, 'vert' for vertical resize only and 'horz' for horizontal resize.
public static final java.lang.String EMBED_CENTER_PARAMETER
true
(default) to center the iframe in the page, or
false
otherwise
public static final java.lang.String EMBED_BORDER_PARAMETER
true
(default) to center the iframe in the page, or
false
otherwise
public static final java.lang.String EMBED_HEIGHT_PARAMETER
false
public static final java.lang.String EMBED_WIDTH_PARAMETER
false
public static final java.lang.String EMBED_ID_PARAMETER
frevvo-form
allowing more than on form embedded in the same page
public static final java.lang.String EMBED_BUTTONLABEL_N_PARAMETER
EMBED_BUTTONLABEL_N_PARAMETER+0
public static final java.lang.String EMBED_BUTTONTITLE_N_PARAMETER
EMBED_BUTTONTITLE_N_PARAMETER+0
public static final java.lang.String EMBED_BUTTONCLICK_N_PARAMETER
EMBED_BUTTONCLICK_N_PARAMETER+0
public static final java.lang.String EMBED_BUTTONCLASS_N_PARAMETER
EMBED_BUTTONCLAS_N_PARAMETER+0
public static final java.lang.String EMBED_BUTTONHREF_N_PARAMETER
EMBED_BUTTONHREF_N_PARAMETER+0
public static final java.lang.String VALUE_BUTTONCLASS_EDIT
public static final java.lang.String VALUE_BUTTONCLASS_REMOVE
public static final java.lang.String FORMTYPE_DATA_PARAMETER
java.util.Map
containing control names/values used to
initialize the form
public static final java.lang.String FORMTYPE_THEME_PARAMETER
public static final java.lang.String FORMTYPE_CLIENTID_PARAMETER
public static final java.lang.String FORMTYPE_READONLY_PARAMETER
true
to render the form in read-only mode,
false
false otherwise
public static final java.lang.String FORMTYPE_FORMACTIONURL_PARAMETER
public static final java.lang.String FORMTYPE_FORMACTIONTARGET_PARAMETER
EMBED_FORMACTIONTARGET_PARAMETER
public static final java.lang.String FORMTYPE_FORMACTIONMETHOD_PARAMETER
EMBED_FORMACTIONMETHOD_PARAMETER
public static final java.lang.String FORMTYPE_ERRORACTIONURL_PARAMETER
public static final java.lang.String FORMTYPE_ERRORACTIONTARGET_PARAMETER
EMBED_ERRORACTIONURL_PARAMETER
public static final java.lang.String FORMTYPE_DOCACTIONURL_PARAMETER
public static final java.lang.String FORMTYPE_DOCACTIONSYNC_PARAMETER
true
(default) to perform the document action synchronously,
false
otherwise
public static final java.lang.String FORMTYPE_ONINIT_PARAMETER
public static final java.lang.String FORMTYPE_ONSUBMIT_PARAMETER
public static final java.lang.String FORMTYPE_LOCALE_PARAMETER
public static final java.lang.String VALUE_FORMACTIONTARGET_TOP
public static final java.lang.String VALUE_FORMACTIONTARGET_FRAME
public static final java.lang.String VALUE_FORMACTIONTARGET_PARENT
public static final java.lang.String VALUE_FORMACTIONTARGET_CLOSE
public static final java.lang.String VALUE_RESIZE_TRUE
public static final java.lang.String VALUE_RESIZE_HORIZONTAL
public static final java.lang.String VALUE_RESIZE_VERTICAL
public static final java.lang.String VALUE_RESIZE_FALSE
Constructor Detail |
---|
public FormTypeEntry()
Method Detail |
---|
public static java.net.URL getEntryURL(java.net.URL baseUrl, java.lang.String id) throws java.net.MalformedURLException
id
- the theme entry id
java.net.MalformedURLException
public static java.net.URL getEntryURL(java.net.URL baseUrl, java.lang.String id, boolean full) throws java.net.MalformedURLException
baseUrl
- The base urlid
- The formTypeEntry idfull
- Whether full metadata needs to be returned
java.net.MalformedURLException
protected static java.util.Map<java.lang.String,java.lang.Object> normalizeParameters(java.util.Map<java.lang.String,java.lang.Object> linkParams)
linkParameters
-
public void declareExtensions(com.google.gdata.data.ExtensionProfile extProfile)
declareExtensions
in interface com.google.gdata.data.Kind.Adaptor
declareExtensions
in class com.google.gdata.data.ExtensionPoint
public java.lang.String getKind()
getKind
in interface com.google.gdata.data.IAtom
getKind
in class com.google.gdata.data.BaseEntry<FormTypeEntry>
public void setKind(java.lang.String v)
setKind
in interface com.google.gdata.data.IAtom
setKind
in class com.google.gdata.data.BaseEntry<FormTypeEntry>
public FormTypeEntry getSelf(boolean full) throws java.io.IOException, com.google.gdata.util.ServiceException
full
- Whether to include full metadata including keys
java.io.IOException
com.google.gdata.util.ServiceException
public com.google.gdata.data.Link getFormTypeEditorLink(java.util.Map<java.lang.String,java.lang.Object> linkParams) throws com.google.gdata.util.ServiceException
FormTypeEntry
's designer.
linkParams
- The parameters used to customize the link to the designer
com.google.gdata.util.ServiceException
public com.google.gdata.data.Link getFormTypeEditorEmbedLink(java.util.Map<java.lang.String,java.lang.Object> linkParams)
Get the Javascript link to this FormTypeEntry
's designer.
This link can be used to automatically generate an iframe and container
markup.
Next is an example of how this link href should be used in an html page:
<script language="JavaScript" type="text/javascript" src="{EMBEDLINK}"/>
linkParams
- The parameters used to customize the embed url (see
EMBED_*_PARAMETERS constants)
public com.google.gdata.data.Link getFormTypeLink(java.util.Map<java.lang.String,java.lang.Object> linkParams) throws com.google.gdata.util.ServiceException
FormTypeEntry
.
linkParams
- The parameters used to customize the link to the form
FormTypeEntry
's form
com.google.gdata.util.ServiceException
public com.google.gdata.data.Link getFormTypePopupLink(java.util.Map<java.lang.String,java.lang.Object> linkParams) throws com.google.gdata.util.ServiceException
FormTypeEntry
.
linkParams
- The parameters used to customize the link to the form
FormTypeEntry
's form
com.google.gdata.util.ServiceException
public com.google.gdata.data.Link getFormTypeEmbedLink(java.util.Map<java.lang.String,java.lang.Object> linkParams)
Get the embed JS url for this FormTypeEntry
that can be used
to automatically generate an iframe and container markup.
Next is an example of how this link href should be used in an html page:
<script language="JavaScript" type="text/javascript" src="{EMBEDLINK}"/>
linkParams
- The parameters used to customize the embed url (see
EMBED_*_PARAMETERS constants)
public com.google.gdata.data.Link getSubmissionsLink(java.util.Map<java.lang.String,java.lang.Object> linkParams) throws com.google.gdata.util.ServiceException
FormTypeEntry
.
linkParams
- The parameters used to customize the link to the form
FormTypeEntry
's form
com.google.gdata.util.ServiceException
public com.google.gdata.data.Link getSubmissionsEmbedLink(java.util.Map<java.lang.String,java.lang.Object> linkParams)
Get the submissions embed JS url for this FormTypeEntry
that
can be used to automatically generate an iframe and container markup
showing submissions for this form.
Next is an example of how this link href should be used in an html page:
linkParams
- The parameters used to customize the embed url (see
EMBED_*_PARAMETERS constants)
public com.google.gdata.data.Link getSubmissionFeedLink()
Get the SubmissionFeed link for submissions for this FormType.
Invoking this method will not hit the server.
public SubmissionFeed getSubmissionFeed() throws java.net.MalformedURLException, java.io.IOException, com.google.gdata.util.ServiceException
Get the SubmissionFeed for this entry.
Invoking this method will hit the server.
java.io.IOException
com.google.gdata.util.ServiceException
java.net.MalformedURLException
public com.google.gdata.data.Link getFormTypeSchemaLink()
Get the XML Schema for the FormType. This is the XML Schema that describes the from scratch document that will be submitted by the form
public com.google.gdata.data.Link getControlTypeFeedLink()
Get the ControlTypeFeed link owned by this FormType.
Invoking this method will not hit the server.
public ControlTypeFeed getControlTypeFeed() throws java.net.MalformedURLException, java.io.IOException, com.google.gdata.util.ServiceException
Get the ControlTypeFeed owned by this FormTypeEntry.
Invoking this method will hit the server.
java.io.IOException
com.google.gdata.util.ServiceException
java.net.MalformedURLException
public com.google.gdata.data.Link getDocumentTypeFeedLink()
Get the DocumentTypeFeed link owned by this entry. Each form always has one from scratch DocumentTypeEntry and zero or more DocumentTypeEntry's from uploaded schemas
Invoking this method will not hit the server.
public DocumentTypeFeed getDocumentTypeFeed() throws java.net.MalformedURLException, java.io.IOException, com.google.gdata.util.ServiceException
Get the DocumentTypeFeed owned by this entry.
Invoking this method will hit the server.
java.io.IOException
com.google.gdata.util.ServiceException
java.net.MalformedURLException
public java.util.List<com.google.gdata.data.Link> getSnapshotLinks()
public com.google.gdata.data.Link getSnapshotLink(java.lang.String contentType)
contentType
- The type of snapshot
public boolean isReadOnly()
public void setReadOnly(boolean readOnly)
readOnly
- public java.lang.String getTemplateId()
public void setTemplateId(java.lang.String templateId)
public java.lang.String getOwnerId()
public ApplicationEntry getOnwerEntry() throws com.google.gdata.util.ServiceException, java.io.IOException
com.google.gdata.util.ServiceException
java.io.IOException
public KeysExtension getKeys()
public DeployState getDeployState()
public void setDeployState(DeployState deployState)
public Visibility getVisibility()
public void setVisibility(Visibility visibility)
public boolean isPublic()
true
is it is public, false
otherwisepublic void setPublic(boolean isPublic)
isPublic
- true
make this entry public, false
to make is privatepublic java.net.URL createFormInstance(java.util.Map<java.lang.String,java.lang.Object> linkParams, java.util.List<com.google.gdata.data.media.MediaSource> documents) throws com.google.gdata.util.ServiceException
linkParams
- The parameters that can be used to initialize the form
instancedocuments
- A list of XML documents that can be used to initialize the
form
com.google.gdata.util.ServiceException
public java.net.URL createFormInstanceEmbed(java.util.Map<java.lang.String,java.lang.Object> linkParams, java.util.List<com.google.gdata.data.media.MediaSource> documents) throws com.google.gdata.util.ServiceException
linkParams
- The parametes that can be used to initialize the form instancedocuments
- The list of XML documents that can be used to initialize the
form
com.google.gdata.util.ServiceException
public com.google.gdata.data.media.MediaSource createDocumentSource(java.lang.String name, java.io.InputStream is)
name
- The name of this MediaSource. For xml documents this is
irrelevant since the association with the form document type is made on
the server using the xml namespace (i.e. make sure the targetNamespaces
match)is
- The input stream to the xml content
public com.google.gdata.data.media.MediaSource createAttachmentSource(java.lang.String controlName, java.lang.String fileName, java.io.InputStream is, java.lang.String contentType)
controlName
- The name of this MediaSource that must match the name
of an Upload control in the formis
- The input stream to the xml contentcontentType
- the content type of the attachment
public FormTypeEntry updateMedia(boolean arg0) throws java.io.IOException, com.google.gdata.util.ServiceException
updateMedia
in class com.google.gdata.data.media.MediaEntry<FormTypeEntry>
java.io.IOException
com.google.gdata.util.ServiceException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |