|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.google.gdata.data.photos.impl.GphotoDataImpl
com.google.gdata.data.photos.impl.UserDataImpl
public class UserDataImpl
Implementation class for user data objects. This class takes an
ExtensionPoint and uses it to provide all of the methods that
UserData specifies. These methods are handled by using
extension classes to retrieve or set extensions of the appropriate type.
| Field Summary |
|---|
| Fields inherited from interface com.google.gdata.data.photos.UserData |
|---|
KIND, USER_CATEGORY, USER_KIND |
| Constructor Summary | |
|---|---|
UserDataImpl(ExtensionPoint extensionPoint)
Construct a new implementation of UserGphotoData with the given extension point as the backing storage for data. |
|
| Method Summary | |
|---|---|
void |
declareExtensions(ExtensionProfile extProfile)
Declares the set of expected Extension types for an Extensible within the target extension profile. |
java.lang.Integer |
getMaxPhotos()
The number of photos a user can have in a single album. |
java.lang.String |
getNickname()
The nickname of the user. |
java.lang.Long |
getQuotaLimit()
The quota limit of the user. |
java.lang.Long |
getQuotaUsed()
The quota in bytes that the user has used. |
java.lang.String |
getThumbnail()
A url to the user's portrait. |
java.lang.String |
getUsername()
The username of the user. |
void |
setMaxPhotos(java.lang.Integer max)
Set the maximum number of photos the user is allowed. |
void |
setNickname(java.lang.String nickname)
Set the nickname of the user this item represents. |
void |
setQuotaLimit(java.lang.Long quota)
Set the quota limit for the user this item represents. |
void |
setQuotaUsed(java.lang.Long quota)
Set the used quota for the user. |
void |
setThumbnail(java.lang.String thumbnail)
Set the thumbnail for the user portrait. |
void |
setUsername(java.lang.String username)
Set the username for the user this item represents. |
| Methods inherited from class com.google.gdata.data.photos.impl.GphotoDataImpl |
|---|
addExtension, addRepeatingExtension, declare, getExtension, getGphotoId, getRepeatingExtension, getSimpleValue, removeExtension, removeExtension, removeRepeatingExtension, setExtension, setGphotoId, setGphotoId |
| 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.photos.GphotoData |
|---|
getGphotoId, setGphotoId, setGphotoId |
| Methods inherited from interface com.google.gdata.data.photos.Extensible |
|---|
addExtension, addRepeatingExtension, removeExtension, removeExtension, removeRepeatingExtension, setExtension |
| Constructor Detail |
|---|
public UserDataImpl(ExtensionPoint extensionPoint)
| Method Detail |
|---|
public void declareExtensions(ExtensionProfile extProfile)
ExtensibleExtensionPoint.declareExtensions(ExtensionProfile).
declareExtensions in interface ExtensibledeclareExtensions in class GphotoDataImplextProfile - the ExtensionProfile to initialize.public java.lang.String getUsername()
UserData
getUsername in interface UserDatapublic void setUsername(java.lang.String username)
setUsername in interface UserDatausername - the username of the user.public java.lang.String getNickname()
UserData
getNickname in interface UserDatapublic void setNickname(java.lang.String nickname)
setNickname in interface UserDatanickname - the nickname of the user.public java.lang.String getThumbnail()
UserData
getThumbnail in interface UserDatapublic void setThumbnail(java.lang.String thumbnail)
setThumbnail in interface UserDatathumbnail - the url to the user portrait image.public java.lang.Long getQuotaUsed()
UserData
getQuotaUsed in interface UserDatapublic void setQuotaUsed(java.lang.Long quota)
setQuotaUsed in interface UserDataquota - the quota usage in bytes for this user.public java.lang.Long getQuotaLimit()
UserData
getQuotaLimit in interface UserDatapublic void setQuotaLimit(java.lang.Long quota)
setQuotaLimit in interface UserDataquota - the quota in bytes for the user.public java.lang.Integer getMaxPhotos()
UserData
getMaxPhotos in interface UserDatapublic void setMaxPhotos(java.lang.Integer max)
setMaxPhotos in interface UserDatamax - the number of photos the user is allowed.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||