| java.lang.Object | ||||||
| ↳ | com.google.gdata.data.AbstractExtension | |||||
| ↳ | com.google.gdata.data.ExtensionPoint | |||||
| ↳ | com.google.gdata.data.BaseEntry<E extends com.google.gdata.data.BaseEntry> | |||||
| ↳ | com.google.gdata.data.media.MediaEntry<E extends com.google.gdata.data.BaseEntry<E>> | |||||
| ↳ | com.google.gdata.data.photos.GphotoEntry<E extends com.google.gdata.data.photos.GphotoEntry<E>> | |||||
| ↳ | com.google.gdata.data.photos.PhotoEntry | |||||
Entry for photo kinds, contains photo metadata.
| Constants | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| String | KIND | Photo kind term value. | |||||||||
|
[Expand]
Inherited Constants | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From interface
com.google.gdata.data.photos.PhotoData
| |||||||||||
| Fields | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| CATEGORY | Photo kind category. | ||||||||||
|
[Expand]
Inherited Fields | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
com.google.gdata.data.photos.GphotoEntry
| |||||||||||
From class
com.google.gdata.data.BaseEntry
| |||||||||||
From class
com.google.gdata.data.ExtensionPoint
| |||||||||||
From class
com.google.gdata.data.AbstractExtension
| |||||||||||
From interface
com.google.gdata.data.photos.PhotoData
| |||||||||||
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Default mutable constructor.
| |||||||||||
Constructs a new instance by doing a shallow copy of data from an existing
BaseEntry instance. | |||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Add an individual streamId to the photo.
| |||||||||||
Adds a new the streamIds on this 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.
| |||||||||||
Returns the access level for the album.
| |||||||||||
The id of the album the photo is on.
| |||||||||||
Returns the album ID of the album this photo is in.
| |||||||||||
The checksum on the photo.
| |||||||||||
Returns the the checksum for the photo provided by the client.
| |||||||||||
The client string stored on the photo.
| |||||||||||
Returns the the client that uploaded the photo.
| |||||||||||
The number of comments on this photo.
| |||||||||||
Returns the the count of comments on this photo.
| |||||||||||
Gets the status of the commenting preference on the photo.
| |||||||||||
Returns the whether comments are enabled on this photo.
| |||||||||||
Returns the the exif information on the photo.
| |||||||||||
Returns the datetime in unix timestamp format for when the photo was
featured.
| |||||||||||
Retrieve the photo feed and associated entries.
| |||||||||||
Gets the bounding box of this entity.
| |||||||||||
Gets the geo-location of the entity.
| |||||||||||
Returns the geolocation as a geo:point.
| |||||||||||
Returns the geo bounding box as a georss:box.
| |||||||||||
Returns the geolocation as a georss:point.
| |||||||||||
Returns the geolocation as a georss:where.
| |||||||||||
Returns the geo bounding box as a gml:Envelope.
| |||||||||||
Returns the geolocation as a gml:point.
| |||||||||||
The height of the photo in pixels.
| |||||||||||
Returns the the height of the photo.
| |||||||||||
Returns the the version of the image bytes.
| |||||||||||
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.
| |||||||||||
Returns the mediarss group for media metadata.
| |||||||||||
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.
| |||||||||||
Returns the the properties of the original video.
| |||||||||||
The position of the photo in the album.
| |||||||||||
Returns the position of the photo in its album.
| |||||||||||
The rotation of the photo.
| |||||||||||
Returns the the rotation of the photo in degrees.
| |||||||||||
The size of the photo in bytes.
| |||||||||||
Returns the the size of the photo in bytes.
| |||||||||||
Returns the if viewer starred the photo and total number of stars.
| |||||||||||
Stream ids can be used to specify additional information about where a
photo came from, or where it is being used.
| |||||||||||
Returns the the streamIds on this photo.
| |||||||||||
The time the photo was taken.
| |||||||||||
Returns the the time the photo was taken.
| |||||||||||
The number of users who starred this photo.
| |||||||||||
The version of the image.
| |||||||||||
Returns the version of the photo metadata.
| |||||||||||
The video status in case the photo entry is a video.
| |||||||||||
Returns the the status of the video upload if this is a video.
| |||||||||||
Returns the the number of views for this image.
| |||||||||||
The width of the photo in pixels.
| |||||||||||
Returns the the width of the photo.
| |||||||||||
Returns whether it has the access level for the album.
| |||||||||||
Returns whether it has the album ID of the album this photo is in.
| |||||||||||
Returns whether it has the the checksum for the photo provided by the
client.
| |||||||||||
Returns whether it has the the client that uploaded the photo.
| |||||||||||
Returns whether it has the the count of comments on this photo.
| |||||||||||
Returns whether it has the whether comments are enabled on this photo.
| |||||||||||
Returns whether it has the the exif information on the photo.
| |||||||||||
Returns whether it has the datetime in unix timestamp format for when the
photo was featured.
| |||||||||||
Returns whether it has the geolocation as a geo:point.
| |||||||||||
Returns whether it has the geo bounding box as a georss:box.
| |||||||||||
Returns whether it has the geolocation as a georss:point.
| |||||||||||
Returns whether it has the geolocation as a georss:where.
| |||||||||||
Returns whether it has the geo bounding box as a gml:Envelope.
| |||||||||||
Returns whether it has the geolocation as a gml:point.
| |||||||||||
Returns whether it has the the height of the photo.
| |||||||||||
Returns whether it has the the version of the image bytes.
| |||||||||||
Returns whether it has the mediarss group for media metadata.
| |||||||||||
Returns whether it has the the properties of the original video.
| |||||||||||
Returns whether it has the position of the photo in its album.
| |||||||||||
Returns whether it has the the rotation of the photo in degrees.
| |||||||||||
Returns whether it has the the size of the photo in bytes.
| |||||||||||
Returns whether it has the if viewer starred the photo and total number of
stars.
| |||||||||||
Returns whether it has the the streamIds on this photo.
| |||||||||||
Returns whether it has the the time the photo was taken.
| |||||||||||
Returns whether it has the version of the photo metadata.
| |||||||||||
Returns whether it has the the status of the video upload if this is a
video.
| |||||||||||
Returns whether it has the the number of views for this image.
| |||||||||||
Returns whether it has the the width of the photo.
| |||||||||||
If this photo is starred by current user.
| |||||||||||
Set the access for the album that contains this photo.
| |||||||||||
Sets the access level for the album.
| |||||||||||
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.
| |||||||||||
Sets the album ID of the album this photo is in.
| |||||||||||
Set the checksum of the photo.
| |||||||||||
Sets the the checksum for the photo provided by the client.
| |||||||||||
Set the client string on the photo.
| |||||||||||
Sets the the client that uploaded the photo.
| |||||||||||
Set the number of comments on the photo.
| |||||||||||
Sets the the count of comments on this photo.
| |||||||||||
Sets whether comments can be made on the photo.
| |||||||||||
Sets the whether comments are enabled on this photo.
| |||||||||||
Sets the the exif information on the photo.
| |||||||||||
Sets the date that the photo was featured.
| |||||||||||
Sets the datetime in unix timestamp format for when 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.
| |||||||||||
Sets the geolocation as a geo:point.
| |||||||||||
Sets the geo bounding box as a georss:box.
| |||||||||||
Sets the geolocation as a georss:point.
| |||||||||||
Sets the geolocation as a georss:where.
| |||||||||||
Sets the geo bounding box as a gml:Envelope.
| |||||||||||
Sets the geolocation as a gml:point.
| |||||||||||
Set the height of the photo.
| |||||||||||
Sets the the height of the photo.
| |||||||||||
Sets the the version of the image bytes.
| |||||||||||
Set the media keywords on this element to the given keywords.
| |||||||||||
Sets the mediarss group for media metadata.
| |||||||||||
Sets the the properties of the original video.
| |||||||||||
Set the position of the photo.
| |||||||||||
Sets the position of the photo in its album.
| |||||||||||
Set the rotation in degrees of the photo.
| |||||||||||
Sets the the rotation of the photo in degrees.
| |||||||||||
Set the size of the photo.
| |||||||||||
Sets the the size of the photo in bytes.
| |||||||||||
Sets if this photo is starred by current user.
| |||||||||||
Sets the if viewer starred the photo and total number of stars.
| |||||||||||
Set the timestamp on the photo.
| |||||||||||
Sets the the time the photo was taken.
| |||||||||||
Sets the number of users who starred this photo.
| |||||||||||
Set the version of the photo.
| |||||||||||
Sets the version of the photo metadata.
| |||||||||||
Set the video status of the photo entry.
| |||||||||||
Sets the the status of the video upload if this is a video.
| |||||||||||
Sets the view count for this photo.
| |||||||||||
Sets the the number of views for this image.
| |||||||||||
Set the width of the photo.
| |||||||||||
Sets the the width of the photo.
| |||||||||||
| Protected Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Checks the attributes to see if there are any problems.
| |||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
com.google.gdata.data.photos.GphotoEntry
| |||||||||||
From class
com.google.gdata.data.media.MediaEntry
| |||||||||||
From class
com.google.gdata.data.BaseEntry
| |||||||||||
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.IEntry
| |||||||||||
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.media.IMediaEntry
| |||||||||||
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
| |||||||||||
Photo kind term value.
Default mutable constructor.
Constructs a new instance by doing a shallow copy of data from an existing
BaseEntry instance.
| sourceEntry | Source entry |
|---|
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 |
|---|
Adds a new the streamIds on this photo.
| streamIdsExt | The streamIds on this 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 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.
| extProfile | The ExtensionProfile to initialize. |
|---|
Returns the access level for the album.
The id of the album the photo is on.
Returns the album ID of the album this photo is in.
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.
Returns the the checksum for the photo provided by 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.
Returns the the client that uploaded the photo.
The number of comments on this photo.
| ServiceException | no longer, but used to. |
|---|
Returns the the count 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.
| ServiceException | no longer, but used to. |
|---|
Returns the whether comments are enabled on this photo.
Returns the the exif information on the photo.
Returns the datetime in unix timestamp format for when the photo was featured.
Retrieve the photo feed and associated entries. The kinds parameter is a
list of the type of associated entries to return. For example
PhotoFeed photoAndComments = photoEntry.getFeed(CommentEntry.KIND,
TagEntry.KIND); If no kind parameters are passed, the default
of KIND will be used.
| kinds | The kinds of entries to retrieve, or empty to use the default. |
|---|
| IOException | |
|---|---|
| ServiceException |
Gets the bounding box of this entity.
Gets the geo-location of the entity.
Returns the geolocation as a geo:point.
Returns the geo bounding box as a georss:box.
Returns the geolocation as a georss:point.
Returns the geolocation as a georss:where.
Returns the geo bounding box as a gml:Envelope.
Returns the geolocation as a gml:point.
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 | no longer, but used to. |
|---|
Returns the the height of the photo.
Returns the the version of the image bytes.
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.
Returns the mediarss group for media metadata.
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.
Returns the the properties of the original video.
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 | no longer, but used to. |
|---|
Returns the position of the photo in its 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.
| ServiceException | no longer, but used to. |
|---|
Returns the the rotation of the photo in degrees.
The size of the photo in bytes. Read only, calculated by the server.
| ServiceException | no longer, but used to. |
|---|
Returns the the size of the photo in bytes.
Returns the if viewer starred the photo and total number of stars.
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.
Returns the the streamIds on this photo.
The time the photo was taken. Modifiable by the client.
| ServiceException | no longer, but used to. |
|---|
Returns the the time the photo was taken.
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 | no longer, but used to. |
|---|
Returns the version of the photo metadata.
The video status in case the photo entry is a video.
Returns the the status of the video upload if this is a video.
Returns the the number of views for this image.
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 | no longer, but used to. |
|---|
Returns the the width of the photo.
Returns whether it has the access level for the album.
Returns whether it has the album ID of the album this photo is in.
Returns whether it has the the checksum for the photo provided by the client.
Returns whether it has the the client that uploaded the photo.
Returns whether it has the the count of comments on this photo.
Returns whether it has the whether comments are enabled on this photo.
Returns whether it has the the exif information on the photo.
Returns whether it has the datetime in unix timestamp format for when the photo was featured.
Returns whether it has the geolocation as a geo:point.
Returns whether it has the geo bounding box as a georss:box.
Returns whether it has the geolocation as a georss:point.
Returns whether it has the geolocation as a georss:where.
Returns whether it has the geo bounding box as a gml:Envelope.
Returns whether it has the geolocation as a gml:point.
Returns whether it has the the height of the photo.
Returns whether it has the the version of the image bytes.
Returns whether it has the mediarss group for media metadata.
Returns whether it has the the properties of the original video.
Returns whether it has the position of the photo in its album.
Returns whether it has the the rotation of the photo in degrees.
Returns whether it has the the size of the photo in bytes.
Returns whether it has the if viewer starred the photo and total number of stars.
Returns whether it has the the streamIds on this photo.
Returns whether it has the the time the photo was taken.
Returns whether it has the version of the photo metadata.
Returns whether it has the the status of the video upload if this is a video.
Returns whether it has the the number of views for this image.
Returns whether it has the the width of the photo.
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 access level for the album.
| albumAccessExt | Access level for the album or null to
reset
|
|---|
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 |
|---|
Sets the album ID of the album this photo is in.
| albumIdExt | Album ID of the album this photo is in or
null to reset
|
|---|
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. |
|---|
Sets the the checksum for the photo provided by the client.
| checksumExt | The checksum for the photo provided by the client or
null to reset
|
|---|
Set the client string on the photo.
| client | The client that created the photo. |
|---|
Sets the the client that uploaded the photo.
| clientExt | The client that uploaded the photo or null to
reset
|
|---|
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 the the count of comments on this photo.
| commentCountExt | The count of comments on this photo or
null to reset
|
|---|
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 whether comments are enabled on this photo.
| commentsEnabledExt | Whether comments are enabled on this photo or
null to reset
|
|---|
Sets the the exif information on the photo.
| exifTags | The exif information on the photo or null to
reset
|
|---|
Sets the date that the photo was featured.
| featuredDate | The date that the photo was featured. |
|---|
Sets the datetime in unix timestamp format for when the photo was featured.
| featuredDateExt | Datetime in unix timestamp format for when the photo
was featured or null to reset
|
|---|
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. |
|---|
Sets the geolocation as a geo:point.
| geoPoint | Geolocation as a geo:point or null to reset
|
|---|
Sets the geo bounding box as a georss:box.
| geoRssBox | Geo bounding box as a georss:box or null to
reset
|
|---|
Sets the geolocation as a georss:point.
| geoRssPoint | Geolocation as a georss:point or null to
reset
|
|---|
Sets the geolocation as a georss:where.
| geoRssWhere | Geolocation as a georss:where or null to
reset
|
|---|
Sets the geo bounding box as a gml:Envelope.
| gmlEnvelope | Geo bounding box as a gml:Envelope or null
to reset
|
|---|
Sets the geolocation as a gml:point.
| gmlPoint | Geolocation as a gml:point or null to reset
|
|---|
Set the height of the photo. Used by the server, this has no effect on the client.
| height | The height of the photo. |
|---|
Sets the the height of the photo.
| heightExt | The height of the photo or null to reset
|
|---|
Sets the the version of the image bytes.
| imageVersionExt | The version of the image bytes or null
to reset
|
|---|
Set the media keywords on this element to the given keywords. Will create the media:group element as needed.
| keywords |
|---|
Sets the mediarss group for media metadata.
| mediaGroup | Mediarss group for media metadata or null to
reset
|
|---|
Sets the the properties of the original video.
| originalVideo | The properties of the original video or
null to reset
|
|---|
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. |
|---|
Sets the position of the photo in its album.
| positionExt | Position of the photo in its album or null
to reset
|
|---|
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. |
|---|
Sets the the rotation of the photo in degrees.
| rotationExt | The rotation of the photo in degrees or
null to reset
|
|---|
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 the the size of the photo in bytes.
| sizeExt | The size of the photo in bytes or null to reset
|
|---|
Sets if this photo is starred by current user.
| starred | If this photo is starred by current user. |
|---|
Sets the if viewer starred the photo and total number of stars.
| starredExt | If viewer starred the photo and total number of stars or
null to reset
|
|---|
Set the timestamp on the photo. This is the time the photo itself was taken.
| timestamp | The timestamp on the photo. |
|---|
Sets the the time the photo was taken.
| timestampExt | The time the photo was taken or null to
reset
|
|---|
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. |
|---|
Sets the version of the photo metadata.
| versionExt | Version of the photo metadata or null to
reset
|
|---|
Set the video status of the photo entry.
| videoStatus |
|---|
Sets the the status of the video upload if this is a video.
| videoStatusExt | The status of the video upload if this is a video or
null to reset
|
|---|
Sets the view count for this photo.
| viewCount | The number of views for this photo. |
|---|
Sets the the number of views for this image.
| viewCountExt | The number of views for this image or null
to reset
|
|---|
Set the width of the photo. Used by the server, this has no effect on the client.
| width | The width of the photo. |
|---|
Sets the the width of the photo.
| widthExt | The width of the photo or null to reset
|
|---|
Checks the attributes to see if there are any problems. Default implementation does nothing, though generally this is discouraged unless there really are no restrictions.