| 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.PhotoFeed | ||||||
Feed for a Photo in our google data api. This feed represents a photo
as the container for other objects. A Photo feed contains entries
of CommentEntry or TagEntry kind. The photo feed itself
also contains all of the metadata available as part of a PhotoData
object.
|
[Expand]
Inherited Constants | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From interface
com.google.gdata.data.photos.PhotoData
| |||||||||||
| 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.PhotoData
| |||||||||||
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Constructs a new empty photo feed.
| |||||||||||
Constructs a new photo feed from a shallow copy of the data in the source
feed.
| |||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Add an individual streamId to the photo.
| |||||||||||
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 id of the album the photo is on.
| |||||||||||
The checksum on the photo.
| |||||||||||
The client string stored on the photo.
| |||||||||||
The number of comments on this photo.
| |||||||||||
Get a list of entries of the
CommentEntry kind. | |||||||||||
Gets the status of the commenting preference on the photo.
| |||||||||||
The exif information on the photo.
| |||||||||||
Gets the bounding box of this entity.
| |||||||||||
Gets the geo-location of the entity.
| |||||||||||
The height of the photo in pixels.
| |||||||||||
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 position of the photo in the album.
| |||||||||||
The rotation of the photo.
| |||||||||||
The size of the photo in bytes.
| |||||||||||
Stream ids can be used to specify additional information about where a
photo came from, or where it is being used.
| |||||||||||
Get a list of entries of the
TagEntry kind. | |||||||||||
The time the photo was taken.
| |||||||||||
The number of users who starred this photo.
| |||||||||||
The version of the image.
| |||||||||||
The video status in case the photo entry is a video.
| |||||||||||
The width of the photo in pixels.
| |||||||||||
If this photo is starred by current user.
| |||||||||||
Set the access for the album that contains this photo.
| |||||||||||
Set the albumId of the photo as a string, the album the photo is in.
| |||||||||||
Sets the id of the album the photo is in.
| |||||||||||
Set the checksum of the photo.
| |||||||||||
Set the client string on the photo.
| |||||||||||
Set the number of comments on the photo.
| |||||||||||
Sets whether comments can be made on the photo.
| |||||||||||
Sets the exif tags for the photo.
| |||||||||||
Sets the date that the photo was featured.
| |||||||||||
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 height of the photo.
| |||||||||||
Set the media keywords on this element to the given keywords.
| |||||||||||
Set the position of the photo.
| |||||||||||
Set the rotation in degrees of the photo.
| |||||||||||
Set the size of the photo.
| |||||||||||
Sets if this photo is starred by current user.
| |||||||||||
Set the timestamp on the photo.
| |||||||||||
Sets the number of users who starred this photo.
| |||||||||||
Set the version of the photo.
| |||||||||||
Set the video status of the photo entry.
| |||||||||||
Sets the view count for this photo.
| |||||||||||
Set the width of the photo.
| |||||||||||
|
[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.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
| |||||||||||
From interface
com.google.gdata.data.photos.PhotoData
| |||||||||||
Constructs a new empty photo feed.
Constructs a new photo 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 |
|---|
Add an individual streamId to the photo. The streamid is an opaque string stored along with the photo and can be used to identify where a photo is from or used.
| streamId |
|---|
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 id of the album the photo is on.
The checksum on the photo. This is another piece of client-provided information that will be stored on the server and returned to the client.
The client string stored on the photo. Clients can use this to provide additional information about the photo that they can use later.
The number of comments on this photo.
| ServiceException |
|---|
Gets the status of the commenting preference on the photo. If comments are not enabled on the photo no comments may be sent.
| ServiceException |
|---|
The exif information on the photo. See the documentation for
ExifTags for more information on available exif fields.
Gets the bounding box of this entity.
Gets the geo-location of the entity.
The height of the photo in pixels. This is the height of the original image stored in the database, but not necessarily the height of the image returned by querying the image url (depending on image size).
| ServiceException |
|---|
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 position of the photo in the album. This can be used to order the photo based on where the user has placed it within the album.
| ServiceException |
|---|
The rotation of the photo. This is only useful when downloading the original photo as the rotation is taken into account on thumbnails and the image is always provided in the right orientation.
| ServiceException |
|---|
The size of the photo in bytes. Read only, calculated by the server.
| ServiceException |
|---|
Stream ids can be used to specify additional information about where a photo came from, or where it is being used. For example, a client may mark each photo they edit with a streamid so that the list of edited photos can be queried efficiently.
The time the photo was taken. Modifiable by the client.
| ServiceException |
|---|
The number of users who starred this photo.
The version of the image. This is the version of the image itself, and is changed whenever the image content is changed (such as by rotation).
| ServiceException |
|---|
The video status in case the photo entry is a video.
The width of the photo in pixels. This is the width of the original image stored in the database, but not necessarily the width of the image returned by querying the image url (depending on image size).
| ServiceException |
|---|
If this photo is starred by current user.
Set the access for the album that contains this photo.
| access | The access of the album. |
|---|
Set the albumId of the photo as a string, the album the photo is in.
| albumId |
|---|
Sets the id of the album the photo is in. If the albumid is changed the photo will be moved to the new album (as long as the provided albumid is valid). Set the albumId of the photo as a long, the album the photo is in.
| albumId |
|---|
Set the checksum of the photo. Returned by the server, this is an opaque string and will not be used by the server.
| checksum | The checksum on the photo, computed by a client. |
|---|
Set the client string on the photo.
| client | The client that created the photo. |
|---|
Set the number of comments on the photo. Used by the server, this field is calculated and cannot be modified by the client.
| commentCount | The number of comments on the photo. |
|---|
Sets whether comments can be made on the photo. The client can change whether comments are allowed as long as they are authenticated as the owner of the photo.
| commentsEnabled | True if comments are enabled in the photo. |
|---|
Sets the exif tags for the photo. This will override existing exif data that was calculated when the photo was first uploaded.
| tags | The exif tags for the photo, a collection of exif tags. |
|---|
Sets the date that the photo was featured.
| featuredDate | The date that the photo was featured. |
|---|
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 height of the photo. Used by the server, this has no effect on the client.
| height | The height of the photo. |
|---|
Set the media keywords on this element to the given keywords. Will create the media:group element as needed.
| keywords |
|---|
Set the position of the photo. This is the photo's position in the album it is in. This can be changed to place a photo between two other photos by choosing a position between the other two positions. Note that the server may change the positions to provide more space between photos if the limits of floating point rounding would cause errors, so the most recent position should be used before modifying a photo. Optimistic concurrency will catch this, however.
| position | The position of the photo in the album. |
|---|
Set the rotation in degrees of the photo. This can be used to rotate the photo on the server.
| rotation | The rotation of the photo. |
|---|
Set the size of the photo. This is used on the server, setting this on the client will have no effect.
| size | The size of the photo in bytes. |
|---|
Sets if this photo is starred by current user.
| starred | If this photo is starred by current user. |
|---|
Set the timestamp on the photo. This is the time the photo itself was taken.
| timestamp | The timestamp on the photo. |
|---|
Sets the number of users who starred this photo.
| totalStars | The number of users who starred this photo. |
|---|
Set the version of the photo. Used by the server to set the version, this is read only on the client.
| version | The version of the photo. |
|---|
Set the video status of the photo entry.
| videoId |
|---|
Sets the view count for this photo.
| viewCount | The number of views for this photo. |
|---|
Set the width of the photo. Used by the server, this has no effect on the client.
| width | The width of the photo. |
|---|