|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface UserData
An interface for the user data objects. This is implemented by both UserEntry and UserFeed, which allows the use of a common interface when handling items of the User kind.
Field Summary | |
---|---|
static java.lang.String |
KIND
The unqualified kind for a user. |
static Category |
USER_CATEGORY
A category object for users. |
static java.lang.String |
USER_KIND
The fully qualified kind term for users. |
Method Summary | |
---|---|
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 data represents. |
void |
setQuotaLimit(java.lang.Long quota)
Set the quota limit for the user this data 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 data represents. |
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, declareExtensions, removeExtension, removeExtension, removeRepeatingExtension, setExtension |
Field Detail |
---|
static final java.lang.String KIND
static final java.lang.String USER_KIND
static final Category USER_CATEGORY
Method Detail |
---|
java.lang.String getUsername()
void setUsername(java.lang.String username)
username
- the username of the user.java.lang.String getNickname()
void setNickname(java.lang.String nickname)
nickname
- the nickname of the user.java.lang.String getThumbnail()
void setThumbnail(java.lang.String thumbnail)
thumbnail
- the url to the user portrait image.java.lang.Long getQuotaUsed()
void setQuotaUsed(java.lang.Long quota)
quota
- the quota usage in bytes for this user.java.lang.Long getQuotaLimit()
void setQuotaLimit(java.lang.Long quota)
quota
- the quota in bytes for the user.java.lang.Integer getMaxPhotos()
void setMaxPhotos(java.lang.Integer max)
max
- the number of photos the user is allowed.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |