| java.lang.Object | ||||||
| ↳ | com.google.gdata.data.AbstractExtension | |||||
| ↳ | com.google.gdata.data.ExtensionPoint | |||||
| ↳ | com.google.gdata.data.BaseEntry<E extends com.google.gdata.data.BaseEntry> | |||||
| ↳ | com.google.gdata.data.media.MediaEntry<E extends com.google.gdata.data.BaseEntry<E>> | |||||
| ↳ | com.google.gdata.data.photos.GphotoEntry<E extends com.google.gdata.data.photos.GphotoEntry<E>> | |||||
| ↳ | com.google.gdata.data.photos.UserEntry | |||||
Entry for user kinds, contains user metadata.
| Constants | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| String | KIND | User kind term value. | |||||||||
|
[Expand]
Inherited Constants | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From interface
com.google.gdata.data.photos.UserData
| |||||||||||
| Fields | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| CATEGORY | User kind category. | ||||||||||
|
[Expand]
Inherited Fields | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
com.google.gdata.data.photos.GphotoEntry
| |||||||||||
From class
com.google.gdata.data.BaseEntry
| |||||||||||
From class
com.google.gdata.data.ExtensionPoint
| |||||||||||
From class
com.google.gdata.data.AbstractExtension
| |||||||||||
From interface
com.google.gdata.data.photos.UserData
| |||||||||||
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Default mutable constructor.
| |||||||||||
Constructs a new instance by doing a shallow copy of data from an existing
BaseEntry instance. | |||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Declares the set of expected Extension types for an ExtensionPoint within
the target extension profile.
| |||||||||||
Retrieve the user feed and associated entries.
| |||||||||||
The number of photos a user can have in a single album.
| |||||||||||
Returns the maximum number of photos allowed per album.
| |||||||||||
The nickname of the user.
| |||||||||||
Returns the display nickname of the user.
| |||||||||||
The quota limit of the user.
| |||||||||||
Returns the limit in bytes of the storage space for the user.
| |||||||||||
The quota in bytes that the user has used.
| |||||||||||
Returns the currently used quota of the user account.
| |||||||||||
A url to the user's portrait.
| |||||||||||
Returns the user portrait thumbnail.
| |||||||||||
The username of the user.
| |||||||||||
Returns the username or currently selected persona.
| |||||||||||
Returns whether it has the maximum number of photos allowed per album.
| |||||||||||
Returns whether it has the display nickname of the user.
| |||||||||||
Returns whether it has the limit in bytes of the storage space for the
user.
| |||||||||||
Returns whether it has the currently used quota of the user account.
| |||||||||||
Returns whether it has the user portrait thumbnail.
| |||||||||||
Returns whether it has the username or currently selected persona.
| |||||||||||
Set the maximum number of photos the user is allowed.
| |||||||||||
Sets the maximum number of photos allowed per album.
| |||||||||||
Set the nickname of the user this data represents.
| |||||||||||
Sets the display nickname of the user.
| |||||||||||
Set the quota limit for the user this data represents.
| |||||||||||
Sets the limit in bytes of the storage space for the user.
| |||||||||||
Set the used quota for the user.
| |||||||||||
Sets the currently used quota of the user account.
| |||||||||||
Set the thumbnail for the user portrait.
| |||||||||||
Sets the user portrait thumbnail.
| |||||||||||
Set the username for the user this data represents.
| |||||||||||
Sets the username or currently selected persona.
| |||||||||||
| Protected Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Checks the attributes to see if there are any problems.
| |||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
com.google.gdata.data.photos.GphotoEntry
| |||||||||||
From class
com.google.gdata.data.media.MediaEntry
| |||||||||||
From class
com.google.gdata.data.BaseEntry
| |||||||||||
From class
com.google.gdata.data.ExtensionPoint
| |||||||||||
From class
com.google.gdata.data.AbstractExtension
| |||||||||||
From class
java.lang.Object
| |||||||||||
From interface
com.google.gdata.data.Extension
| |||||||||||
From interface
com.google.gdata.data.IAtom
| |||||||||||
From interface
com.google.gdata.data.IEntry
| |||||||||||
From interface
com.google.gdata.data.Kind.Adaptable
| |||||||||||
From interface
com.google.gdata.data.Kind.Adaptor
| |||||||||||
From interface
com.google.gdata.data.media.IMediaEntry
| |||||||||||
From interface
com.google.gdata.data.photos.AtomData
| |||||||||||
From interface
com.google.gdata.data.photos.Extensible
| |||||||||||
From interface
com.google.gdata.data.photos.GphotoData
| |||||||||||
From interface
com.google.gdata.data.photos.UserData
| |||||||||||
User kind term value.
Default mutable constructor.
Constructs a new instance by doing a shallow copy of data from an existing
BaseEntry instance.
| sourceEntry | Source entry |
|---|
Declares the set of expected Extension types for an ExtensionPoint within the target extension profile. The base implementation does not declare any extensions, but can be overridden by specific types of ExtensionPoints that always contain a well-defined set of extensions.
| extProfile | The ExtensionProfile to initialize. |
|---|
Retrieve the user feed and associated entries. The kinds parameter is a
list of the associated entries to return. For example
UserFeed userAndPhotos = userEntry.getFeed(PhotoData.KIND,
TagData.KIND); If no kind parameters are passed, the default of
KIND will be used.
| kinds | The kinds of entries to retrieve, or empty to use the default. |
|---|
| IOException | |
|---|---|
| ServiceException |
The number of photos a user can have in a single album. Calculated on the server.
Returns the maximum number of photos allowed per album.
The nickname of the user. This is the display name of the user, defined by editing the user information through the UI.
Returns the display nickname of the user.
The quota limit of the user. Set on the server, only modifiable by purchasing more storage through the UI.
Returns the limit in bytes of the storage space for the user.
The quota in bytes that the user has used. This is calculated on the server.
Returns the currently used quota of the user account.
A url to the user's portrait.
Returns the user portrait thumbnail.
The username of the user. The username is the user's current persona, and is not a valid email address but is instead a unique name of the user on the server.
Returns the username or currently selected persona.
Returns whether it has the maximum number of photos allowed per album.
Returns whether it has the display nickname of the user.
Returns whether it has the limit in bytes of the storage space for the user.
Returns whether it has the currently used quota of the user account.
Returns whether it has the user portrait thumbnail.
Returns whether it has the username or currently selected persona.
Set the maximum number of photos the user is allowed. Used by the server to set the field, has no effect on the client.
| max | The number of photos the user is allowed. |
|---|
Sets the maximum number of photos allowed per album.
| maxPhotosExt | Maximum number of photos allowed per album or
null to reset
|
|---|
Set the nickname of the user this data represents. Used on the server to set the field of the entry or feed, this will have no effect on the client.
| nickname | The nickname of the user. |
|---|
Sets the display nickname of the user.
| nicknameExt | Display nickname of the user or null to
reset
|
|---|
Set the quota limit for the user this data represents. Used by the server to set the field in the response, has no effect on the client.
| quota | The quota in bytes for the user. |
|---|
Sets the limit in bytes of the storage space for the user.
| quotaLimitExt | Limit in bytes of the storage space for the user or
null to reset
|
|---|
Set the used quota for the user. Has no effect on the client.
| quota | The quota usage in bytes for this user. |
|---|
Sets the currently used quota of the user account.
| quotaUsedExt | Currently used quota of the user account or
null to reset
|
|---|
Set the thumbnail for the user portrait. This is used on the server and does not yet have the effect of changing the portrait when set on the client.
| thumbnail | The url to the user portrait image. |
|---|
Sets the user portrait thumbnail.
| thumbnailExt | User portrait thumbnail or null to reset
|
|---|
Set the username for the user this data represents. This is used by the server and setting it on the client will have no effect.
| username | The username of the user. |
|---|
Sets the username or currently selected persona.
| usernameExt | Username or currently selected persona or
null to reset
|
|---|
Checks the attributes to see if there are any problems. Default implementation does nothing, though generally this is discouraged unless there really are no restrictions.