| java.lang.Object | |||||||
| ↳ | com.google.gdata.data.AbstractExtension | ||||||
| ↳ | com.google.gdata.data.ExtensionPoint | ||||||
| ↳ | com.google.gdata.data.Source | ||||||
| ↳ | com.google.gdata.data.BaseFeed<F extends com.google.gdata.data.BaseFeed, E extends com.google.gdata.data.BaseEntry> | ||||||
| ↳ | com.google.gdata.data.media.MediaFeed<F extends com.google.gdata.data.BaseFeed, E extends com.google.gdata.data.BaseEntry> | ||||||
| ↳ | com.google.gdata.data.photos.GphotoFeed<F extends com.google.gdata.data.photos.GphotoFeed> | ||||||
| ↳ | com.google.gdata.data.photos.AlbumFeed | ||||||
Feed for an Album in our google photos api. This feed represents an album
as the container for other objects. An Album feed contains entries
of PhotoEntry or TagEntry kind. The album feed itself also
contains all of the metadata available as part of an AlbumData
object.
|
[Expand]
Inherited Constants | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From interface
com.google.gdata.data.photos.AlbumData
| |||||||||||
| Fields | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| delegate | |||||||||||
|
[Expand]
Inherited Fields | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
com.google.gdata.data.photos.GphotoFeed
| |||||||||||
From class
com.google.gdata.data.BaseFeed
| |||||||||||
From class
com.google.gdata.data.Source
| |||||||||||
From class
com.google.gdata.data.ExtensionPoint
| |||||||||||
From class
com.google.gdata.data.AbstractExtension
| |||||||||||
From interface
com.google.gdata.data.photos.AlbumData
| |||||||||||
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Constructs a new empty album feed.
| |||||||||||
Constructs a new album feed from a shallow copy of the data in the source
feed.
| |||||||||||
| 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 ExtensionPoint within
the target extension profile.
The implementation of this method for BaseFeed will declare any extensions associated with the contained entry type. | |||||||||||
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.
| |||||||||||
The date the album was taken.
| |||||||||||
Gets the bounding box of this entity.
| |||||||||||
Gets the geo-location of the entity.
| |||||||||||
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.
| |||||||||||
Get a list of entries of the
PhotoEntry kind. | |||||||||||
The number of spaces for photos that are available in the album.
| |||||||||||
The number of photos that are contained in this album.
| |||||||||||
Get a list of entries of the
TagEntry kind. | |||||||||||
The username of the owner of the album.
| |||||||||||
Insert a photo into this album by inserting a
MediaSource
containing the photo data. | |||||||||||
Set the access for the album this data object represents.
| |||||||||||
Set the number of bytes used in the album this data object represents.
| |||||||||||
Set the number of comments on the album.
| |||||||||||
Set the whether comments are enabled in the album.
| |||||||||||
Set the date of the album.
| |||||||||||
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.
| |||||||||||
Set the media keywords on this element to the given keywords.
| |||||||||||
Set the location string for where the photos in the album were taken.
| |||||||||||
Set the canonical name of the album.
| |||||||||||
Set the nickname for the owner of the album this data object represents.
| |||||||||||
Set the number of photos remaining that can be uploaded to this album.
| |||||||||||
Set the number of photos used on the album this data object represents.
| |||||||||||
Set the username for the owner of the album this data object represents.
| |||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
com.google.gdata.data.photos.GphotoFeed
| |||||||||||
From class
com.google.gdata.data.media.MediaFeed
| |||||||||||
From class
com.google.gdata.data.BaseFeed
| |||||||||||
From class
com.google.gdata.data.Source
| |||||||||||
From class
com.google.gdata.data.ExtensionPoint
| |||||||||||
From class
com.google.gdata.data.AbstractExtension
| |||||||||||
From class
java.lang.Object
| |||||||||||
From interface
com.google.gdata.data.Extension
| |||||||||||
From interface
com.google.gdata.data.IAtom
| |||||||||||
From interface
com.google.gdata.data.IFeed
| |||||||||||
From interface
com.google.gdata.data.Kind.Adaptable
| |||||||||||
From interface
com.google.gdata.data.Kind.Adaptor
| |||||||||||
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.AtomData
| |||||||||||
From interface
com.google.gdata.data.photos.Extensible
| |||||||||||
From interface
com.google.gdata.data.photos.GphotoData
| |||||||||||
From interface
com.google.gdata.data.photos.MediaData
| |||||||||||
Constructs a new empty album feed.
Constructs a new album feed from a shallow copy of the data in the source feed. This is used to get the correct entry type based on the category of the entry.
| sourceFeed |
|---|
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 ExtensionPoint within the target extension profile. The base implementation does not declare any extensions, but can be overridden by specific types of ExtensionPoints that always contain a well-defined set of extensions.
The implementation of this method for BaseFeed will declare any extensions associated with the contained entry type.
| 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.
| ServiceException |
|---|
The number of comments on the album. This is calculated based on the comments stored on the server.
| ServiceException |
|---|
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.
| ServiceException |
|---|
The date the album was taken. Date ranges are not currently allowed. This is typically set to the date the earliest photo in the album was taken.
| ServiceException |
|---|
Gets the bounding box of this entity.
Gets the geo-location of the entity.
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.
| ServiceException |
|---|
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.
| ServiceException |
|---|
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.
Insert a photo into this album by inserting a MediaSource
containing the photo data.
| photoSource |
|---|
| IOException | |
|---|---|
| ServiceException |
Set the access for the album this data object represents. Valid values are "private" or "public". Anything other than "public" will be set as "private", which is the default.
| access | The access level of the album. |
|---|
Set the number of bytes used in the album this data object represents. This method is used by the server, setting this on the client will have no effect.
| bytesUsed | The number of bytes used. |
|---|
Set the number of comments on the album. Used by the server, this has no effect on the client.
| commentCount | The number of comments on the album. |
|---|
Set the whether comments are enabled in the album. This will change the setting on the server if set by the owner of the album and updated.
| commentsEnabled | True if comments are enabled in the album. |
|---|
Set the date of the album. Dates that are too early will be truncated by the server, where too early currently means anything before 1970.
| 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. |
| IllegalArgumentException |
|---|
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. |
|---|
Set the media keywords on this element to the given keywords. Will create the media:group element as needed.
| keywords |
|---|
Set the location string for where the photos in the album were taken. This string may be geocoded by the server to provide coordinates based on the location.
| location | The location of the album. |
|---|
Set the canonical name of the album. This is used on the server.
If you wish to change the title of the album you should instead use
setTitle(com.google.gdata.data.TextConstruct).
| name | The canonical name of the album. |
|---|
Set the nickname for the owner of the album this data object represents. This is used by the server and has no effect on the client.
| nickname | The nickname of the owner. |
|---|
Set the number of photos remaining that can be uploaded to this album. This is used by the server, changing this value on the client will have no effect.
| photosLeft | The number of photos left. |
|---|
Set the number of photos used on the album this data object represents. This is used by the server, changing this value on the client will have no effect.
| photosUsed | The number of photos used. |
|---|
Set the username for the owner of the album this data object represents. This is used by the server, setting it on the client will have no effect. We currently do not support moving albums between users.
| username | The username of the owner. |
|---|