|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.google.gdata.data.AbstractExtension
com.google.gdata.data.ExtensionPoint
com.google.gdata.data.BaseEntry<E>
com.google.gdata.data.media.MediaEntry<SchemaEntry>
com.frevvo.forms.client.SchemaEntry
public class SchemaEntry
This entry represents a single Schema 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 |
|---|
BaseEntry.AtomHandler, BaseEntry.EntryState |
| Nested classes/interfaces inherited from class com.google.gdata.data.ExtensionPoint |
|---|
ExtensionPoint.CumulativeBlobHandler, ExtensionPoint.ExtensionHandler |
| Nested classes/interfaces inherited from class com.google.gdata.data.AbstractExtension |
|---|
AbstractExtension.AttributesHandler |
| Field Summary | |
|---|---|
static String |
REL_DOCUMENTTYPES
|
static String |
SCHEMA_ENTRY_URL_FORMAT
|
| 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 | |
|---|---|
SchemaEntry()
Constructs a new Entry instance |
|
| Method Summary | |
|---|---|
void |
declareExtensions(ExtensionProfile extProfile)
Initializes an ExtensionProfile based upon the extensions expected by an this entry. |
DocumentTypeFeed |
getDocumentTypeFeed()
Get the DocumentTypeFeed owned by this entry. |
Link |
getDocumentTypeFeedLink()
Get the DocumentTypeFeed link owned by this entry. |
static URL |
getEntryURL(URL baseUrl,
String id)
Gets an URL for accessing an schema entry |
ApplicationEntry |
getOnwerEntry()
Get the ApplicationEntry that owns this feed. |
String |
getOwnerId()
Get the application id that owns this feed. |
SchemaEntry |
update()
|
SchemaEntry |
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, getKind, 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, setKind, setPubControl, setPublished, setRights, setSource, setSummary, setTitle, setUpdated, setVersionId, visitChildren |
| 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, getKind, getLink, getLinks, getSelfLink, getTitle, getUpdated, getVersionId, removeLinks, removeLinks, setEtag, setId, setKind, setUpdated, setVersionId |
| Field Detail |
|---|
public static final String REL_DOCUMENTTYPES
public static final String SCHEMA_ENTRY_URL_FORMAT
| Constructor Detail |
|---|
public SchemaEntry()
| Method Detail |
|---|
public static URL getEntryURL(URL baseUrl,
String id)
throws MalformedURLException
id - the schema entry id
MalformedURLExceptionpublic void declareExtensions(ExtensionProfile extProfile)
declareExtensions in interface Kind.AdaptordeclareExtensions in class ExtensionPointpublic String getOwnerId()
Get the application id that owns this feed.
You can use the ownerId to get the ApplicationEntry associated with this SchemaFeed.
public ApplicationEntry getOnwerEntry()
throws ServiceException,
IOException
Get the ApplicationEntry that owns this feed.
This method differs from the getOwnerId() method in that it
returns the associated ApplicationEntry as opposed to returning the
ownerId.
ServiceException
IOExceptionpublic 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 MalformedURLException,
IOException,
ServiceException
Get the DocumentTypeFeed owned by this entry.
Invoking this method will hit the server.
IOException
ServiceException
MalformedURLException
public SchemaEntry update()
throws IOException,
ServiceException
update in class BaseEntry<SchemaEntry>IOException
ServiceException
public SchemaEntry updateMedia(boolean arg0)
throws IOException,
ServiceException
updateMedia in class MediaEntry<SchemaEntry>IOException
ServiceException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||