com.frevvo.forms.client
Class ThemeEntry
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<ThemeEntry>
com.frevvo.forms.client.ThemeEntry
- All Implemented Interfaces:
- Extension, IAtom, IEntry, Kind.Adaptable, Kind.Adaptor, IMediaEntry
public class ThemeEntry
- extends MediaEntry<ThemeEntry>
This entry represents a single theme created by a user, its owner.
|
Constructor Summary |
ThemeEntry()
Constructs a new Entry instance |
| 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.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.IAtom |
addLink, getAuthors, getCategories, getEtag, getId, getKind, getLink, getLinks, getSelfLink, getTitle, getUpdated, getVersionId, removeLinks, removeLinks, setEtag, setId, setKind, setUpdated, setVersionId |
THEME_ENTRY_URL_FORMAT
public static final String THEME_ENTRY_URL_FORMAT
- See Also:
- Constant Field Values
ThemeEntry
public ThemeEntry()
- Constructs a new Entry instance
getEntryURL
public static URL getEntryURL(URL baseUrl,
String id)
throws MalformedURLException
- Gets an URL for accessing a theme entry
- Parameters:
id - the theme entry id
- Returns:
- The entry URL
- Throws:
MalformedURLException
declareExtensions
public void declareExtensions(ExtensionProfile extProfile)
- Initializes an ExtensionProfile based upon the extensions expected by an
this entry.
- Specified by:
declareExtensions in interface Kind.Adaptor- Overrides:
declareExtensions in class ExtensionPoint
getOwnerId
public String getOwnerId()
Get the user id that owns this feed.
You can use the ownerId to get the UserEntry associated with this
ApplicationFeed.
- Returns:
- The ownerId
getOnwerEntry
public UserEntry getOnwerEntry()
throws ServiceException,
IOException
Get the UserEntry that owns this feed.
This method differs from the getOwnerId() method in that it
returns the associated UserEntry as opposed to returning the
ownerId.
- Returns:
- The user entry
- Throws:
ServiceException
IOException
update
public ThemeEntry update()
throws IOException,
ServiceException
- Overrides:
update in class BaseEntry<ThemeEntry>
- Throws:
IOException
ServiceException
updateMedia
public ThemeEntry updateMedia(boolean arg0)
throws IOException,
ServiceException
- Overrides:
updateMedia in class MediaEntry<ThemeEntry>
- Throws:
IOException
ServiceException
Copyright © 2006-2011 frevvo Inc. All Rights Reserved.