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:
com.google.gdata.data.Extension, com.google.gdata.data.IAtom, com.google.gdata.data.IEntry, com.google.gdata.data.Kind.Adaptable, com.google.gdata.data.Kind.Adaptor

public class UserEntry
extends com.google.gdata.data.BaseEntry<UserEntry>


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 REL_APPS
           
static java.lang.String REL_THEMES
           
static java.lang.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.
 com.google.gdata.data.Link getApplicationFeedLink()
           Get the ApplicationFeed link owned by this entry.
static java.net.URL getEntryURL(java.net.URL baseUrl, java.lang.String id)
          Gets an URL for accessing a user entry
 ThemeFeed getThemeFeed()
           Get the ThemeFeed owned by this entry.
 com.google.gdata.data.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 java.lang.String REL_APPS
See Also:
Constant Field Values

REL_THEMES

public static final java.lang.String REL_THEMES
See Also:
Constant Field Values

USER_ENTRY_URL_FORMAT

public static final java.lang.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 java.net.URL getEntryURL(java.net.URL baseUrl,
                                       java.lang.String id)
                                throws java.net.MalformedURLException
Gets an URL for accessing a user entry

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

getApplicationFeedLink

public com.google.gdata.data.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 java.io.IOException,
                                          com.google.gdata.util.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:
java.io.IOException
com.google.gdata.util.ServiceException

getThemeFeedLink

public com.google.gdata.data.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 java.io.IOException,
                              com.google.gdata.util.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:
java.io.IOException
com.google.gdata.util.ServiceException

update

public UserEntry update()
                 throws java.io.IOException,
                        com.google.gdata.util.ServiceException
Overrides:
update in class com.google.gdata.data.BaseEntry<UserEntry>
Throws:
java.io.IOException
com.google.gdata.util.ServiceException


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