public interface AlbumData extends GphotoData, PointData, BoxData, MediaData
Modifier and Type | Field and Description |
---|---|
static Category |
ALBUM_CATEGORY
A category object for albums.
|
static java.lang.String |
ALBUM_KIND
The fully qualified king term for albums.
|
static java.lang.String |
KIND
The unqualified kind for an album.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getAccess()
The access level of the album, either private, protected, or public.
|
java.lang.Long |
getBytesUsed()
The number of bytes that are used by photos in this album.
|
java.lang.Integer |
getCommentCount()
The number of comments on the album.
|
java.lang.Boolean |
getCommentsEnabled()
Whether or not commenting is allowed on this album.
|
java.util.Date |
getDate()
The date the album was taken.
|
java.lang.String |
getLocation()
The location of the album is a string representing where the photos in
the album where taken.
|
java.lang.String |
getName()
The name of the album is its canonicalized title.
|
java.lang.String |
getNickname()
The nickname of the user who owns the album.
|
java.lang.Integer |
getPhotosLeft()
The number of spaces for photos that are available in the album.
|
java.lang.Integer |
getPhotosUsed()
The number of photos that are contained in this album.
|
java.lang.String |
getUsername()
The username of the owner of the album.
|
void |
setAccess(java.lang.String access)
Set the access for the album this data object represents.
|
void |
setBytesUsed(java.lang.Long bytesUsed)
Set the number of bytes used in the album this data object represents.
|
void |
setCommentCount(java.lang.Integer commentCount)
Set the number of comments on the album.
|
void |
setCommentsEnabled(java.lang.Boolean commentsEnabled)
Set the whether comments are enabled in the album.
|
void |
setDate(java.util.Date date)
Set the date of the album.
|
void |
setLocation(java.lang.String location)
Set the location string for where the photos in the album were taken.
|
void |
setName(java.lang.String name)
Set the canonical name of the album.
|
void |
setNickname(java.lang.String nickname)
Set the nickname for the owner of the album this data object represents.
|
void |
setPhotosLeft(java.lang.Integer photosLeft)
Set the number of photos remaining that can be uploaded to this album.
|
void |
setPhotosUsed(java.lang.Integer photosUsed)
Set the number of photos used on the album this data object represents.
|
void |
setUsername(java.lang.String username)
Set the username for the owner of the album this data object represents.
|
getGphotoId, setGphotoId, setGphotoId
clearPoint, getGeoLocation, setGeoLocation, setGeoLocation
clearGeoBoundingBox, getGeoBoundingBox, setGeoBoundingBox, setGeoBoundingBox
getMediaCategories, getMediaContents, getMediaCredits, getMediaGroup, getMediaKeywords, getMediaThumbnails, setKeywords
addExtension, addRepeatingExtension, declareExtensions, removeExtension, removeExtension, removeRepeatingExtension, setExtension
static final java.lang.String KIND
static final java.lang.String ALBUM_KIND
static final Category ALBUM_CATEGORY
java.lang.String getName()
void setName(java.lang.String name)
AtomData.setTitle(com.google.gdata.data.TextConstruct)
.name
- the canonical name of the album.java.lang.String getLocation()
void setLocation(java.lang.String location)
location
- the location of the album.java.util.Date getDate() throws ServiceException
ServiceException
void setDate(java.util.Date date)
date
- the date the album represents.java.lang.String getAccess()
void setAccess(java.lang.String access)
access
- the access level of the album.java.lang.Integer getPhotosUsed() throws ServiceException
ServiceException
void setPhotosUsed(java.lang.Integer photosUsed)
photosUsed
- the number of photos used.java.lang.Integer getPhotosLeft() throws ServiceException
ServiceException
void setPhotosLeft(java.lang.Integer photosLeft)
photosLeft
- the number of photos left.java.lang.Long getBytesUsed() throws ServiceException
ServiceException
void setBytesUsed(java.lang.Long bytesUsed)
bytesUsed
- the number of bytes used.java.lang.String getUsername()
void setUsername(java.lang.String username)
username
- the username of the owner.java.lang.String getNickname()
void setNickname(java.lang.String nickname)
nickname
- the nickname of the owner.java.lang.Boolean getCommentsEnabled() throws ServiceException
ServiceException
void setCommentsEnabled(java.lang.Boolean commentsEnabled)
commentsEnabled
- true if comments are enabled in the album.java.lang.Integer getCommentCount() throws ServiceException
ServiceException
void setCommentCount(java.lang.Integer commentCount)
commentCount
- the number of comments on the album.