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