| java.lang.Object | ||
| ↳ | com.google.gdata.data.photos.impl.GphotoDataImpl | |
| ↳ | com.google.gdata.data.photos.impl.PhotoDataImpl | |
Implementation class for photo data objects. This class takes an
ExtensionPoint and uses it to provide all of the methods that
PhotoData 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.PhotoData
| |||||||||||
| Fields | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| boundingBoxData | |||||||||||
| mediaData | |||||||||||
| pointData | |||||||||||
|
[Expand]
Inherited Fields | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
com.google.gdata.data.photos.impl.GphotoDataImpl
| |||||||||||
From interface
com.google.gdata.data.photos.PhotoData
| |||||||||||
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Construct a new implementation of PhotoGphotoData with the given extension
point as the backing storage for data.
| |||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Add the streamId to the list of stream ids.
| |||||||||||
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 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.
| |||||||||||
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.
| |||||||||||
Get a list of stream ids on this element.
| |||||||||||
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.
| |||||||||||
Sets the album the photo is in.
| |||||||||||
Sets the album the photo is in.
| |||||||||||
Set the checksum of the photo this item is about.
| |||||||||||
Set the client of the photo this item is about.
| |||||||||||
Set the number of comments on the photo this item represents.
| |||||||||||
Set the whether comments are enabled in the photo this item represents.
| |||||||||||
Set the exif tags on the photo this item is about.
| |||||||||||
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 the item is about.
| |||||||||||
Set the media keywords on this element to the given keywords.
| |||||||||||
Set the position of the photo this item is about.
| |||||||||||
Set the rotation in degrees of the photo.
| |||||||||||
Set the size of the photo this item is about.
| |||||||||||
Sets if this photo is starred by current user.
| |||||||||||
Set the timestamp on the photo this item is about.
| |||||||||||
Sets the number of users who starred this photo.
| |||||||||||
Set the version of the photo this item is about.
| |||||||||||
Sets the video status of the video/photo entry.
| |||||||||||
Sets the view count for this photo.
| |||||||||||
Set the width of the photo this item is about.
| |||||||||||
|
[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.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
| |||||||||||
Construct a new implementation of PhotoGphotoData with the given extension point as the backing storage for data.
| extensionPoint |
|---|
Add the streamId to the list of stream ids.
| 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 Extensible
within the target extension profile. Forwards to
declareExtensions(ExtensionProfile).
| 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.
Gets the status of the commenting preference on the photo. If comments are not enabled on the photo no comments may be sent.
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).
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.
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.
The size of the photo in bytes. Read only, calculated by the server.
Get a list of stream ids on this element.
The time the photo was taken. Modifiable by the client.
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).
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).
If this photo is starred by current user.
Set the access for the album that contains this photo.
| access | The access of the album. |
|---|
Sets the album the photo is in.
| albumId |
|---|
Sets the album the photo is in.
| albumId |
|---|
Set the checksum of the photo this item is about.
| checksum | The checksum on the photo. |
|---|
Set the client of the photo this item is about.
| client | The client that created the photo. |
|---|
Set the number of comments on the photo this item represents.
| commentCount | The number of comments on the photo. |
|---|
Set the whether comments are enabled in the photo this item represents.
| commentsEnabled | True if comments are enabled in the photo. |
|---|
Set the exif tags on the photo this item is about.
| tags | The exif tags for the photo. |
|---|
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. |
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 the item is about.
| 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 item is about. This is the photo's position in the album it is in (in the context of the feed).
| position | The position of the photo in the album. |
|---|
Set the rotation in degrees of the photo.
| rotation | The rotation of the photo. |
|---|
Set the size of the photo this item is about.
| size | The size of the photo. |
|---|
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 item is about.
| 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 this item is about.
| version | The version of the photo. |
|---|
Sets the video status of the video/photo entry.
| videoStatus |
|---|
Sets the view count for this photo.
| viewCount | The number of views for this photo. |
|---|
Set the width of the photo this item is about.
| width | The width of the photo. |
|---|