com.frevvo.forms.client
public class SchemaEntry extends com.google.gdata.data.media.MediaEntry<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.
com.google.gdata.data.BaseEntry.AtomHandler, com.google.gdata.data.BaseEntry.EntryState
Modifier and Type | Field and Description |
---|---|
static String |
REL_DOCUMENTTYPES |
static String |
SCHEMA_ENTRY_URL_FORMAT |
Constructor and Description |
---|
SchemaEntry()
Constructs a new Entry instance
|
Modifier and Type | Method and Description |
---|---|
void |
declareExtensions(com.google.gdata.data.ExtensionProfile extProfile)
Initializes an ExtensionProfile based upon the extensions expected by an
this entry.
|
DocumentTypeFeed |
getDocumentTypeFeed()
Get the DocumentTypeFeed owned by this entry.
|
com.google.gdata.data.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()
Deprecated.
|
ApplicationEntry |
getOwnerEntry()
Get the ApplicationEntry that owns this feed.
|
String |
getOwnerId()
Get the application id that owns this feed.
|
boolean |
isSystem() |
void |
setSystem(boolean system) |
getContentHandlerInfo, getMediaEditLink, getMediaSource, setMediaSource, setService, updateMedia
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, update, visitChildren
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
consumeAttributes, eq, generateAttributes, getExtensionLocalName, getExtensionNamespace, isImmutable, putAttributes, sameClassAs, setImmutable, throwExceptionForMissingAttribute, throwExceptionIfImmutable, validate
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public static final String REL_DOCUMENTTYPES
public static final String SCHEMA_ENTRY_URL_FORMAT
public static URL getEntryURL(URL baseUrl, String id) throws MalformedURLException
id
- the schema entry idMalformedURLException
public boolean isSystem()
public void setSystem(boolean system)
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 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 getOwnerEntry() throws com.google.gdata.util.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.
com.google.gdata.util.ServiceException
IOException
public ApplicationEntry getOnwerEntry() throws com.google.gdata.util.ServiceException, IOException
com.google.gdata.util.ServiceException
IOException
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 MalformedURLException, IOException, com.google.gdata.util.ServiceException
Get the DocumentTypeFeed owned by this entry.
Invoking this method will hit the server.
IOException
com.google.gdata.util.ServiceException
MalformedURLException
Copyright © 2006–2015 frevvo Inc. All rights reserved.