| java.lang.Object | ||
| ↳ | com.google.gdata.data.photos.impl.GphotoDataImpl | |
| ↳ | com.google.gdata.data.photos.impl.AlbumDataImpl | |
Implementation class for album data objects. This class takes an
ExtensionPoint and uses it to provide all of the methods that
AlbumData specifies. These methods are handled by using
extension classes to retrieve or set extensions of the appropriate type.
|
[Expand]
Inherited Constants | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From interface
com.google.gdata.data.photos.AlbumData
| |||||||||||
| Fields | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| boundingBoxData | |||||||||||
| mediaData | |||||||||||
| pointData | |||||||||||
|
[Expand]
Inherited Fields | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
com.google.gdata.data.photos.impl.GphotoDataImpl
| |||||||||||
From interface
com.google.gdata.data.photos.AlbumData
| |||||||||||
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Construct a new implementation of AlbumGphotoData with the given
extension point as the backing storage for data.
| |||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Clears the bounding box and removes the extension point.
| |||||||||||
Clears the point data and removes the extension point.
| |||||||||||
Declares the set of expected Extension types for an Extensible
within the target extension profile.
| |||||||||||
The access level of the album, either private, protected, or public.
| |||||||||||
The number of bytes that are used by photos in this album.
| |||||||||||
The number of comments on the album.
| |||||||||||
Whether or not commenting is allowed on this album.
| |||||||||||
Gets the date on the album, this is the date set by the user.
| |||||||||||
Gets the bounding box of this entity.
| |||||||||||
Gets the geo-location of the entity.
| |||||||||||
This method is deprecated.
use the media:content element to get the image source.
| |||||||||||
The location of the album is a string representing where the photos in
the album where taken.
| |||||||||||
Retrieve the list of media:category elements inside the media:group on
this element.
| |||||||||||
Retrieve the list of media:content elements inside the media:group on
this element.
| |||||||||||
Retrieve the list of media:credit elements inside the media:group on
this element.
| |||||||||||
Retrieve the media:group element on this element.
| |||||||||||
Retrieve the list of media:keywords elements inside the media:group on
this element.
| |||||||||||
Retrieve the list of media:thumbnail elements inside the media:group on
this element.
| |||||||||||
The name of the album is its canonicalized title.
| |||||||||||
The nickname of the user who owns the album.
| |||||||||||
The number of spaces for photos that are available in the album.
| |||||||||||
The number of photos that are contained in this album.
| |||||||||||
This method is deprecated.
use the media:thumbnail element to get thumbnails.
| |||||||||||
The username of the owner of the album.
| |||||||||||
Set the access for the album this entry represents.
| |||||||||||
Set the number of bytes used in the album this entry represents.
| |||||||||||
Set the number of comments on the album this entry represents.
| |||||||||||
Set the whether comments are enabled in the album this entry represents.
| |||||||||||
Sets the date on the album, this is the user-defined date.
| |||||||||||
Sets the bounding box based on two
Point objects. | |||||||||||
Sets the bounding box for this entity based on a
Box extension. | |||||||||||
Sets the geo-location of the entity based on the lat and long coordinates
passed in.
| |||||||||||
Sets the geo-location of the entity based on the Point extension.
| |||||||||||
This method is deprecated.
set the media:content element with the image source.
| |||||||||||
Set the media keywords on this element to the given keywords.
| |||||||||||
Set the location for the album this entry represents.
| |||||||||||
Set the name for the album this entry represents.
| |||||||||||
Set the nickname for the owner of the album this entry represents.
| |||||||||||
Set the number of photos remaining in the album this entry represents.
| |||||||||||
Set the number of photos used on the album this entry represents.
| |||||||||||
This method is deprecated.
use the media:thumbnail element to set thumbnails.
| |||||||||||
Set the username for the owner of the album this entry represents.
| |||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
com.google.gdata.data.photos.impl.GphotoDataImpl
| |||||||||||
From class
java.lang.Object
| |||||||||||
From interface
com.google.gdata.data.geo.BoxData
| |||||||||||
From interface
com.google.gdata.data.geo.PointData
| |||||||||||
From interface
com.google.gdata.data.photos.AlbumData
| |||||||||||
From interface
com.google.gdata.data.photos.Extensible
| |||||||||||
From interface
com.google.gdata.data.photos.GphotoData
| |||||||||||
From interface
com.google.gdata.data.photos.MediaData
| |||||||||||
Construct a new implementation of AlbumGphotoData with the given extension point as the backing storage for data.
| extensionPoint |
|---|
Clears the bounding box and removes the extension point.
Clears the point data and removes the extension point.
Declares the set of expected Extension types for an Extensible
within the target extension profile. Forwards to
declareExtensions(ExtensionProfile).
| extProfile | The ExtensionProfile to initialize. |
|---|
The access level of the album, either private, protected, or public. This may be null when the access level of the album is not known.
The number of bytes that are used by photos in this album. Useful to see how much space each album is taking up of the user's quota. This method is calculated by the server so it should be considered read-only by the client.
The number of comments on the album. This is calculated based on the comments stored on the server.
Whether or not commenting is allowed on this album. If set to true then comments may be added to the album, if set to false then no comments can be made on photos in this album.
Gets the date on the album, this is the date set by the user.
Gets the bounding box of this entity.
Gets the geo-location of the entity.
This method is deprecated.
use the media:content element to get the image source.
The location of the album is a string representing where the photos in the album where taken.
Retrieve the list of media:category elements inside the media:group on this element. If either the media:group or media:category elements are missing then an empty list will be returned.
Retrieve the list of media:content elements inside the media:group on this element. If either the media:group or media:content elements are missing then an empty list will be returned.
Retrieve the list of media:credit elements inside the media:group on this element. If either the media:group or media:credit elements are missing then an empty list will be returned.
Retrieve the media:group element on this element. This will return null if there was no media:group element set.
Retrieve the list of media:keywords elements inside the media:group on
this element. If either the media:group or media:keywords elements are
missing then null will be returned.
null.
Retrieve the list of media:thumbnail elements inside the media:group on this element. If either the media:group or media:thumbnail elements are missing then an empty list will be returned.
The name of the album is its canonicalized title. This is the name that can be used in urls to access the album by name rather than by id.
The nickname of the user who owns the album. This is provided to make it easier to display ownership information about albums. This is a read only field calculated by the server based on the owner of the album.
The number of spaces for photos that are available in the album. This should be treated as a read only field as it is calculated on the server. Once 0 photos are left no more photos can be uploaded to this album until photos have been deleted.
The number of photos that are contained in this album. This should be treated as a read only field, it is calculated on the server.
This method is deprecated.
use the media:thumbnail element to get thumbnails.
Returns the photo:thumbnail element for the album.
The username of the owner of the album. This username can be used to query for the gallery of the owner of the album, for example.
Set the access for the album this entry represents.
| access | The access of the album. |
|---|
Set the number of bytes used in the album this entry represents.
| bytesUsed | The number of bytes used. |
|---|
Set the number of comments on the album this entry represents.
| commentCount | The number of comments on the album. |
|---|
Set the whether comments are enabled in the album this entry represents.
| commentsEnabled | True if comments are enabled in the album. |
|---|
Sets the date on the album, this is the user-defined date.
| date | The date the album represents. |
|---|
Sets the bounding box based on two Point objects. If there is an
existing Box on this object, the new points will be copied into the
existing box rather than creating a new box.
| lowerLeft | The lower left coordinate of the box. |
|---|---|
| upperRight | The upper right coordinate of the box. |
Sets the bounding box for this entity based on a Box extension. If
there is an existing Box on this object, the new box will have its points
copied into the existing box rather than using the passed-in box.
| boundingBox | The box that bounds this entity. |
|---|
Sets the geo-location of the entity based on the lat and long coordinates passed in. This will create a new Point object if none exists, otherwise it will copy the new coordinates into the existing object.
| lat | The latitude coordinate, between -90 and 90 degrees. |
|---|---|
| lon | The longitude coordinate, between -180 and 180 degrees. |
Sets the geo-location of the entity based on the Point extension. This will use the passed in extension as the geo location if none already exists, otherwise it will copy the given point's data into the existing point object.
| point | A point containing the latitude and longitude coordinates. |
|---|
This method is deprecated.
set the media:content element with the image source.
Set the full image url for use in the photo:imgsrc element.
| imageUrl | The full url to the image. |
|---|
Set the media keywords on this element to the given keywords. Will create the media:group element as needed.
| keywords |
|---|
Set the location for the album this entry represents.
| location | The location of the album. |
|---|
Set the name for the album this entry represents.
| name | The canonical name of the album. |
|---|
Set the nickname for the owner of the album this entry represents.
| nickname | The nickname of the owner. |
|---|
Set the number of photos remaining in the album this entry represents.
| photosLeft | The number of photos left. |
|---|
Set the number of photos used on the album this entry represents.
| photosUsed | The number of photos used. |
|---|
This method is deprecated.
use the media:thumbnail element to set thumbnails.
Set the thumbnail url for use in the photo:thumbnail element.
| thumbUrl | The full url to the thumbnail. |
|---|
Set the username for the owner of the album this entry represents.
| username | The username of the owner. |
|---|