com.frevvo.forms.client
Class UserEntry

java.lang.Object
  extended by com.google.gdata.data.AbstractExtension
      extended by com.google.gdata.data.ExtensionPoint
          extended by com.google.gdata.data.BaseEntry<UserEntry>
              extended by com.frevvo.forms.client.UserEntry
All Implemented Interfaces:
Extension, IAtom, IEntry, Kind.Adaptable, Kind.Adaptor

public class UserEntry
extends BaseEntry<UserEntry>


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_APPS
           
static String REL_THEMES
           
static String USER_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
UserEntry()
          Constructs a new Entry instance
 
Method Summary
 ApplicationFeed getApplicationFeed()
           Get the ApplicationFeed owned by this entry.
 Link getApplicationFeedLink()
           Get the ApplicationFeed link owned by this entry.
static URL getEntryURL(URL baseUrl, String id)
          Gets an URL for accessing a user entry
 ThemeFeed getThemeFeed()
           Get the ThemeFeed owned by this entry.
 Link getThemeFeedLink()
           Get the ThemeFeed link owned by this entry.
 UserEntry update()
           
 
Methods inherited from class com.google.gdata.data.BaseEntry
addAdaptor, addHtmlLink, addLink, addLink, delete, generate, generateAtom, generateRss, getAdaptedEntry, getAdaptor, getAdaptors, getAuthors, getCanEdit, getCategories, getContent, getContentHandlerInfo, getContributors, getEdited, getEditLink, getEtag, getHandler, getHtmlLink, getId, getKind, getLink, getLinks, getLinks, getMediaEditLink, 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, setService, setSource, setSummary, setTitle, setUpdated, setVersionId, visitChildren
 
Methods inherited from class com.google.gdata.data.ExtensionPoint
addExtension, addExtension, addRepeatingExtension, addRepeatingExtension, checkRequiredExtensions, createExtensionInstance, declareExtensions, 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.Kind.Adaptor
declareExtensions
 

Field Detail

REL_APPS

public static final String REL_APPS
See Also:
Constant Field Values

REL_THEMES

public static final String REL_THEMES
See Also:
Constant Field Values

USER_ENTRY_URL_FORMAT

public static final String USER_ENTRY_URL_FORMAT
See Also:
Constant Field Values
Constructor Detail

UserEntry

public UserEntry()
Constructs a new Entry instance

Method Detail

getEntryURL

public static URL getEntryURL(URL baseUrl,
                              String id)
                       throws MalformedURLException
Gets an URL for accessing a user entry

Parameters:
id - the user entry id
Returns:
The entry URL
Throws:
MalformedURLException

getApplicationFeedLink

public Link getApplicationFeedLink()

Get the ApplicationFeed link owned by this entry.

Invoking this method will not hit the server.

Returns:
The ApplicationFeed link

getApplicationFeed

public ApplicationFeed getApplicationFeed()
                                   throws IOException,
                                          ServiceException

Get the ApplicationFeed owned by this entry.

This method differs from the getApplicationFeedLink() method in that it returns the associated feed as opposed to returning only the link.

Invoking this method will hit the server.

Returns:
The ApplicationFeed
Throws:
IOException
ServiceException

getThemeFeedLink

public Link getThemeFeedLink()

Get the ThemeFeed link owned by this entry.

Invoking this method will not hit the server.

Returns:
The ThemeFeed link

getThemeFeed

public ThemeFeed getThemeFeed()
                       throws IOException,
                              ServiceException

Get the ThemeFeed owned by this entry.

This method differs from the getThemeFeedLink() method in that it returns the associated feed as opposed to returning only the link.

Invoking this method will hit the server.

Returns:
The ThemeFeed
Throws:
IOException
ServiceException

update

public UserEntry update()
                 throws IOException,
                        ServiceException
Overrides:
update in class BaseEntry<UserEntry>
Throws:
IOException
ServiceException


Copyright © 2006-2011 frevvo Inc. All Rights Reserved.