public class PhotoEntry extends GphotoEntry<PhotoEntry> implements AtomData, PhotoData
BaseEntry.AtomHandler, BaseEntry.EntryStateExtensionPoint.CumulativeBlobHandler, ExtensionPoint.ExtensionHandlerAbstractExtension.AttributesHandler| Modifier and Type | Field and Description |
|---|---|
static Category |
CATEGORY
Photo kind category.
|
static java.lang.String |
KIND
Photo kind term value.
|
xmlBloblocalName, namespacePHOTO_CATEGORY, PHOTO_KIND| Constructor and Description |
|---|
PhotoEntry()
Default mutable constructor.
|
PhotoEntry(BaseEntry<?> sourceEntry)
Constructs a new instance by doing a shallow copy of data from an existing
BaseEntry instance. |
| Modifier and Type | Method and Description |
|---|---|
void |
addStreamId(java.lang.String streamId)
Add an individual streamId to the photo.
|
void |
addStreamIdsExt(GphotoStreamId streamIdsExt)
Adds a new the streamIds on this photo.
|
void |
clearGeoBoundingBox()
Clears the bounding box and removes the extension point.
|
void |
clearPoint()
Clears the point data and removes the extension point.
|
void |
declareExtensions(ExtensionProfile extProfile)
Declares the set of expected Extension types for an ExtensionPoint within
the target extension profile.
|
java.lang.String |
getAlbumAccess() |
GphotoAccess |
getAlbumAccessExt()
Returns the access level for the album.
|
java.lang.String |
getAlbumId()
The id of the album the photo is on.
|
GphotoAlbumId |
getAlbumIdExt()
Returns the album ID of the album this photo is in.
|
java.lang.String |
getChecksum()
The checksum on the photo.
|
GphotoChecksum |
getChecksumExt()
Returns the the checksum for the photo provided by the client.
|
java.lang.String |
getClient()
The client string stored on the photo.
|
GphotoClient |
getClientExt()
Returns the the client that uploaded the photo.
|
java.lang.Integer |
getCommentCount()
The number of comments on this photo.
|
GphotoCommentCount |
getCommentCountExt()
Returns the the count of comments on this photo.
|
java.lang.Boolean |
getCommentsEnabled()
Gets the status of the commenting preference on the photo.
|
GphotoCommentsEnabled |
getCommentsEnabledExt()
Returns the whether comments are enabled on this photo.
|
ExifTags |
getExifTags()
Returns the the exif information on the photo.
|
java.util.Date |
getFeaturedDate() |
GphotoFeaturedDate |
getFeaturedDateExt()
Returns the datetime in unix timestamp format for when the photo was
featured.
|
PhotoFeed |
getFeed(java.lang.String... kinds)
Retrieve the photo feed and associated entries.
|
Box |
getGeoBoundingBox()
Gets the bounding box of this entity.
|
Point |
getGeoLocation()
Gets the geo-location of the entity.
|
W3CPoint |
getGeoPoint()
Returns the geolocation as a geo:point.
|
GeoRssBox |
getGeoRssBox()
Returns the geo bounding box as a georss:box.
|
GeoRssPoint |
getGeoRssPoint()
Returns the geolocation as a georss:point.
|
GeoRssWhere |
getGeoRssWhere()
Returns the geolocation as a georss:where.
|
GmlEnvelope |
getGmlEnvelope()
Returns the geo bounding box as a gml:Envelope.
|
GmlPoint |
getGmlPoint()
Returns the geolocation as a gml:point.
|
java.lang.Long |
getHeight()
The height of the photo in pixels.
|
GphotoHeight |
getHeightExt()
Returns the the height of the photo.
|
GphotoImageVersion |
getImageVersionExt()
Returns the the version of the image bytes.
|
java.util.List<MediaCategory> |
getMediaCategories()
Retrieve the list of media:category elements inside the media:group on
this element.
|
java.util.List<MediaContent> |
getMediaContents()
Retrieve the list of media:content elements inside the media:group on
this element.
|
java.util.List<MediaCredit> |
getMediaCredits()
Retrieve the list of media:credit elements inside the media:group on
this element.
|
MediaGroup |
getMediaGroup()
Returns the mediarss group for media metadata.
|
MediaKeywords |
getMediaKeywords()
Retrieve the list of media:keywords elements inside the media:group on
this element.
|
java.util.List<MediaThumbnail> |
getMediaThumbnails()
Retrieve the list of media:thumbnail elements inside the media:group on
this element.
|
GphotoOriginalVideo |
getOriginalVideo()
Returns the the properties of the original video.
|
java.lang.Float |
getPosition()
The position of the photo in the album.
|
GphotoPosition |
getPositionExt()
Returns the position of the photo in its album.
|
java.lang.Integer |
getRotation()
The rotation of the photo.
|
GphotoRotation |
getRotationExt()
Returns the the rotation of the photo in degrees.
|
java.lang.Long |
getSize()
The size of the photo in bytes.
|
GphotoSize |
getSizeExt()
Returns the the size of the photo in bytes.
|
GphotoStarred |
getStarredExt()
Returns the if viewer starred the photo and total number of stars.
|
java.util.List<java.lang.String> |
getStreamIds()
Stream ids can be used to specify additional information about where a
photo came from, or where it is being used.
|
java.util.List<GphotoStreamId> |
getStreamIdsExt()
Returns the the streamIds on this photo.
|
java.util.Date |
getTimestamp()
The time the photo was taken.
|
GphotoTimestamp |
getTimestampExt()
Returns the the time the photo was taken.
|
java.lang.Integer |
getTotalStars()
The number of users who starred this photo.
|
java.lang.Long |
getVersion()
The version of the image.
|
GphotoVersion |
getVersionExt()
Returns the version of the photo metadata.
|
java.lang.String |
getVideoStatus()
The video status in case the photo entry is a video.
|
GphotoVideoStatus |
getVideoStatusExt()
Returns the the status of the video upload if this is a video.
|
java.lang.Long |
getViewCount() |
GphotoViewCount |
getViewCountExt()
Returns the the number of views for this image.
|
java.lang.Long |
getWidth()
The width of the photo in pixels.
|
GphotoWidth |
getWidthExt()
Returns the the width of the photo.
|
boolean |
hasAlbumAccessExt()
Returns whether it has the access level for the album.
|
boolean |
hasAlbumIdExt()
Returns whether it has the album ID of the album this photo is in.
|
boolean |
hasChecksumExt()
Returns whether it has the the checksum for the photo provided by the
client.
|
boolean |
hasClientExt()
Returns whether it has the the client that uploaded the photo.
|
boolean |
hasCommentCountExt()
Returns whether it has the the count of comments on this photo.
|
boolean |
hasCommentsEnabledExt()
Returns whether it has the whether comments are enabled on this photo.
|
boolean |
hasExifTags()
Returns whether it has the the exif information on the photo.
|
boolean |
hasFeaturedDateExt()
Returns whether it has the datetime in unix timestamp format for when the
photo was featured.
|
boolean |
hasGeoPoint()
Returns whether it has the geolocation as a geo:point.
|
boolean |
hasGeoRssBox()
Returns whether it has the geo bounding box as a georss:box.
|
boolean |
hasGeoRssPoint()
Returns whether it has the geolocation as a georss:point.
|
boolean |
hasGeoRssWhere()
Returns whether it has the geolocation as a georss:where.
|
boolean |
hasGmlEnvelope()
Returns whether it has the geo bounding box as a gml:Envelope.
|
boolean |
hasGmlPoint()
Returns whether it has the geolocation as a gml:point.
|
boolean |
hasHeightExt()
Returns whether it has the the height of the photo.
|
boolean |
hasImageVersionExt()
Returns whether it has the the version of the image bytes.
|
boolean |
hasMediaGroup()
Returns whether it has the mediarss group for media metadata.
|
boolean |
hasOriginalVideo()
Returns whether it has the the properties of the original video.
|
boolean |
hasPositionExt()
Returns whether it has the position of the photo in its album.
|
boolean |
hasRotationExt()
Returns whether it has the the rotation of the photo in degrees.
|
boolean |
hasSizeExt()
Returns whether it has the the size of the photo in bytes.
|
boolean |
hasStarredExt()
Returns whether it has the if viewer starred the photo and total number of
stars.
|
boolean |
hasStreamIdsExt()
Returns whether it has the the streamIds on this photo.
|
boolean |
hasTimestampExt()
Returns whether it has the the time the photo was taken.
|
boolean |
hasVersionExt()
Returns whether it has the version of the photo metadata.
|
boolean |
hasVideoStatusExt()
Returns whether it has the the status of the video upload if this is a
video.
|
boolean |
hasViewCountExt()
Returns whether it has the the number of views for this image.
|
boolean |
hasWidthExt()
Returns whether it has the the width of the photo.
|
java.lang.Boolean |
isStarred()
If this photo is starred by current user.
|
void |
setAlbumAccess(java.lang.String access)
Set the access for the album that contains this photo.
|
void |
setAlbumAccessExt(GphotoAccess albumAccessExt)
Sets the access level for the album.
|
void |
setAlbumId(java.lang.Long albumId)
Sets the id of the album the photo is in.
|
void |
setAlbumId(java.lang.String albumId)
Set the albumId of the photo as a string, the album the photo is in.
|
void |
setAlbumIdExt(GphotoAlbumId albumIdExt)
Sets the album ID of the album this photo is in.
|
void |
setChecksum(java.lang.String checksum)
Set the checksum of the photo.
|
void |
setChecksumExt(GphotoChecksum checksumExt)
Sets the the checksum for the photo provided by the client.
|
void |
setClient(java.lang.String client)
Set the client string on the photo.
|
void |
setClientExt(GphotoClient clientExt)
Sets the the client that uploaded the photo.
|
void |
setCommentCount(java.lang.Integer commentCount)
Set the number of comments on the photo.
|
void |
setCommentCountExt(GphotoCommentCount commentCountExt)
Sets the the count of comments on this photo.
|
void |
setCommentsEnabled(java.lang.Boolean commentsEnabled)
Sets whether comments can be made on the photo.
|
void |
setCommentsEnabledExt(GphotoCommentsEnabled commentsEnabledExt)
Sets the whether comments are enabled on this photo.
|
void |
setExifTags(ExifTags exifTags)
Sets the the exif information on the photo.
|
void |
setFeaturedDate(java.util.Date featuredDate)
Sets the date that the photo was featured.
|
void |
setFeaturedDateExt(GphotoFeaturedDate featuredDateExt)
Sets the datetime in unix timestamp format for when the photo was featured.
|
void |
setGeoBoundingBox(Box boundingBox)
Sets the bounding box for this entity based on a
Box extension. |
void |
setGeoBoundingBox(Point lowerLeft,
Point upperRight)
Sets the bounding box based on two
Point objects. |
void |
setGeoLocation(java.lang.Double lat,
java.lang.Double lon)
Sets the geo-location of the entity based on the lat and long coordinates
passed in.
|
void |
setGeoLocation(Point point)
Sets the geo-location of the entity based on the Point extension.
|
void |
setGeoPoint(W3CPoint geoPoint)
Sets the geolocation as a geo:point.
|
void |
setGeoRssBox(GeoRssBox geoRssBox)
Sets the geo bounding box as a georss:box.
|
void |
setGeoRssPoint(GeoRssPoint geoRssPoint)
Sets the geolocation as a georss:point.
|
void |
setGeoRssWhere(GeoRssWhere geoRssWhere)
Sets the geolocation as a georss:where.
|
void |
setGmlEnvelope(GmlEnvelope gmlEnvelope)
Sets the geo bounding box as a gml:Envelope.
|
void |
setGmlPoint(GmlPoint gmlPoint)
Sets the geolocation as a gml:point.
|
void |
setHeight(java.lang.Long height)
Set the height of the photo.
|
void |
setHeightExt(GphotoHeight heightExt)
Sets the the height of the photo.
|
void |
setImageVersionExt(GphotoImageVersion imageVersionExt)
Sets the the version of the image bytes.
|
void |
setKeywords(MediaKeywords keywords)
Set the media keywords on this element to the given keywords.
|
void |
setMediaGroup(MediaGroup mediaGroup)
Sets the mediarss group for media metadata.
|
void |
setOriginalVideo(GphotoOriginalVideo originalVideo)
Sets the the properties of the original video.
|
void |
setPosition(java.lang.Float position)
Set the position of the photo.
|
void |
setPositionExt(GphotoPosition positionExt)
Sets the position of the photo in its album.
|
void |
setRotation(java.lang.Integer rotation)
Set the rotation in degrees of the photo.
|
void |
setRotationExt(GphotoRotation rotationExt)
Sets the the rotation of the photo in degrees.
|
void |
setSize(java.lang.Long size)
Set the size of the photo.
|
void |
setSizeExt(GphotoSize sizeExt)
Sets the the size of the photo in bytes.
|
void |
setStarred(java.lang.Boolean starred)
Sets if this photo is starred by current user.
|
void |
setStarredExt(GphotoStarred starredExt)
Sets the if viewer starred the photo and total number of stars.
|
void |
setTimestamp(java.util.Date timestamp)
Set the timestamp on the photo.
|
void |
setTimestampExt(GphotoTimestamp timestampExt)
Sets the the time the photo was taken.
|
void |
setTotalStars(java.lang.Integer totalStars)
Sets the number of users who starred this photo.
|
void |
setVersion(java.lang.Long version)
Set the version of the photo.
|
void |
setVersionExt(GphotoVersion versionExt)
Sets the version of the photo metadata.
|
void |
setVideoStatus(java.lang.String videoStatus)
Set the video status of the photo entry.
|
void |
setVideoStatusExt(GphotoVideoStatus videoStatusExt)
Sets the the status of the video upload if this is a video.
|
void |
setViewCount(java.lang.Long viewCount)
Sets the view count for this photo.
|
void |
setViewCountExt(GphotoViewCount viewCountExt)
Sets the the number of views for this image.
|
void |
setWidth(java.lang.Long width)
Set the width of the photo.
|
void |
setWidthExt(GphotoWidth widthExt)
Sets the the width of the photo.
|
java.lang.String |
toString() |
protected void |
validate()
Checks the attributes to see if there are any problems.
|
generateRss, getAdaptedEntry, getDescription, getFeed, getFeedLink, getGphotoId, setDescription, setGphotoId, setGphotoIdgetContentHandlerInfo, getMediaEditLink, getMediaSource, setMediaSource, setService, updateMediaaddAdaptor, addHtmlLink, addLink, addLink, delete, generate, generateAtom, getAdaptor, getAdaptors, getAuthors, getCanEdit, getCategories, getContent, getContributors, getEdited, getEditLink, getEtag, getHandler, getHtmlLink, getId, getKind, getLink, getLinks, getLinks, getPlainTextContent, getPubControl, getPublished, getResumableEditMediaLink, getRights, getSelectedFields, getSelf, getSelfLink, getService, getSource, getSummary, getTextContent, getTitle, getUpdated, getVersionId, isDraft, parseAtom, parseAtom, parseAtom, readEntry, readEntry, removeLinks, removeLinks, setCanEdit, setContent, setContent, setDraft, setEdited, setEtag, setId, setKind, setPubControl, setPublished, setRights, setSelectedFields, setSource, setSummary, setTitle, setUpdated, setVersionId, update, visitChildrenaddExtension, addExtension, addRepeatingExtension, addRepeatingExtension, checkRequiredExtensions, createExtensionInstance, generate, generateCumulativeXmlBlob, generateExtensions, generateStartElement, getExtension, getExtensionDescription, getExtensionHandler, getExtensions, getManifest, getRepeatingExtension, getRepeatingExtensions, getXmlBlob, hasExtension, hasRepeatingExtension, initializeArbitraryXml, parseCumulativeXmlBlob, removeExtension, removeExtension, removeRepeatingExtension, setExtension, setXmlBlob, visit, visitChildconsumeAttributes, disableStrictValidation, enableStrictValidation, eq, generateAttributes, getExtensionLocalName, getExtensionNamespace, isImmutable, isStrictValidation, putAttributes, sameClassAs, setImmutable, throwExceptionForMissingAttribute, throwExceptionIfImmutableclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetAuthors, getCategories, getContributors, getDescription, getId, getLinks, getRights, getTitle, getUpdated, setDescription, setId, setRights, setTitle, setUpdatedgetGphotoId, setGphotoId, setGphotoIdaddExtension, addRepeatingExtension, removeExtension, removeExtension, removeRepeatingExtension, setExtensiongetCanEdit, getContent, getEdited, getEditLink, getPublished, getResumableEditMediaLink, getSelectedFields, getSummary, setCanEdit, setEdited, setPublished, setSelectedFieldsaddLink, getAuthors, getCategories, getEtag, getId, getKind, getLink, getLinks, getSelfLink, getTitle, getUpdated, getVersionId, removeLinks, removeLinks, setEtag, setId, setKind, setUpdated, setVersionIdpublic static final java.lang.String KIND
public static final Category CATEGORY
public void declareExtensions(ExtensionProfile extProfile)
ExtensionPointdeclareExtensions in interface Kind.AdaptordeclareExtensions in interface ExtensibledeclareExtensions in class GphotoEntry<PhotoEntry>extProfile - the ExtensionProfile to initialize.ExtensionProfile.addDeclarations(Kind.Adaptor)public GphotoAccess getAlbumAccessExt()
public void setAlbumAccessExt(GphotoAccess albumAccessExt)
albumAccessExt - access level for the album or null to
resetpublic boolean hasAlbumAccessExt()
public GphotoAlbumId getAlbumIdExt()
public void setAlbumIdExt(GphotoAlbumId albumIdExt)
albumIdExt - album ID of the album this photo is in or
null to resetpublic boolean hasAlbumIdExt()
public GphotoChecksum getChecksumExt()
public void setChecksumExt(GphotoChecksum checksumExt)
checksumExt - the checksum for the photo provided by the client or
null to resetpublic boolean hasChecksumExt()
public GphotoClient getClientExt()
public void setClientExt(GphotoClient clientExt)
clientExt - the client that uploaded the photo or null to
resetpublic boolean hasClientExt()
public GphotoCommentCount getCommentCountExt()
public void setCommentCountExt(GphotoCommentCount commentCountExt)
commentCountExt - the count of comments on this photo or
null to resetpublic boolean hasCommentCountExt()
public GphotoCommentsEnabled getCommentsEnabledExt()
public void setCommentsEnabledExt(GphotoCommentsEnabled commentsEnabledExt)
commentsEnabledExt - whether comments are enabled on this photo or
null to resetpublic boolean hasCommentsEnabledExt()
public ExifTags getExifTags()
getExifTags in interface PhotoDatapublic void setExifTags(ExifTags exifTags)
setExifTags in interface PhotoDataexifTags - the exif information on the photo or null to
resetpublic boolean hasExifTags()
public GphotoFeaturedDate getFeaturedDateExt()
public void setFeaturedDateExt(GphotoFeaturedDate featuredDateExt)
featuredDateExt - datetime in unix timestamp format for when the photo
was featured or null to resetpublic boolean hasFeaturedDateExt()
public W3CPoint getGeoPoint()
public void setGeoPoint(W3CPoint geoPoint)
geoPoint - geolocation as a geo:point or null to resetpublic boolean hasGeoPoint()
public GeoRssBox getGeoRssBox()
public void setGeoRssBox(GeoRssBox geoRssBox)
geoRssBox - geo bounding box as a georss:box or null to
resetpublic boolean hasGeoRssBox()
public GeoRssPoint getGeoRssPoint()
public void setGeoRssPoint(GeoRssPoint geoRssPoint)
geoRssPoint - geolocation as a georss:point or null to
resetpublic boolean hasGeoRssPoint()
public GeoRssWhere getGeoRssWhere()
public void setGeoRssWhere(GeoRssWhere geoRssWhere)
geoRssWhere - geolocation as a georss:where or null to
resetpublic boolean hasGeoRssWhere()
public GmlEnvelope getGmlEnvelope()
public void setGmlEnvelope(GmlEnvelope gmlEnvelope)
gmlEnvelope - geo bounding box as a gml:Envelope or null
to resetpublic boolean hasGmlEnvelope()
public GmlPoint getGmlPoint()
public void setGmlPoint(GmlPoint gmlPoint)
gmlPoint - geolocation as a gml:point or null to resetpublic boolean hasGmlPoint()
public GphotoHeight getHeightExt()
public void setHeightExt(GphotoHeight heightExt)
heightExt - the height of the photo or null to resetpublic boolean hasHeightExt()
public GphotoImageVersion getImageVersionExt()
public void setImageVersionExt(GphotoImageVersion imageVersionExt)
imageVersionExt - the version of the image bytes or null
to resetpublic boolean hasImageVersionExt()
public MediaGroup getMediaGroup()
getMediaGroup in interface MediaDatapublic void setMediaGroup(MediaGroup mediaGroup)
mediaGroup - mediarss group for media metadata or null to
resetpublic boolean hasMediaGroup()
public GphotoOriginalVideo getOriginalVideo()
public void setOriginalVideo(GphotoOriginalVideo originalVideo)
originalVideo - the properties of the original video or
null to resetpublic boolean hasOriginalVideo()
public GphotoPosition getPositionExt()
public void setPositionExt(GphotoPosition positionExt)
positionExt - position of the photo in its album or null
to resetpublic boolean hasPositionExt()
public GphotoRotation getRotationExt()
public void setRotationExt(GphotoRotation rotationExt)
rotationExt - the rotation of the photo in degrees or
null to resetpublic boolean hasRotationExt()
public GphotoSize getSizeExt()
public void setSizeExt(GphotoSize sizeExt)
sizeExt - the size of the photo in bytes or null to resetpublic boolean hasSizeExt()
public GphotoStarred getStarredExt()
public void setStarredExt(GphotoStarred starredExt)
starredExt - if viewer starred the photo and total number of stars or
null to resetpublic boolean hasStarredExt()
public java.util.List<GphotoStreamId> getStreamIdsExt()
public void addStreamIdsExt(GphotoStreamId streamIdsExt)
streamIdsExt - the streamIds on this photopublic boolean hasStreamIdsExt()
public GphotoTimestamp getTimestampExt()
public void setTimestampExt(GphotoTimestamp timestampExt)
timestampExt - the time the photo was taken or null to
resetpublic boolean hasTimestampExt()
public GphotoVersion getVersionExt()
public void setVersionExt(GphotoVersion versionExt)
versionExt - version of the photo metadata or null to
resetpublic boolean hasVersionExt()
public GphotoVideoStatus getVideoStatusExt()
public void setVideoStatusExt(GphotoVideoStatus videoStatusExt)
videoStatusExt - the status of the video upload if this is a video or
null to resetpublic boolean hasVideoStatusExt()
public GphotoViewCount getViewCountExt()
public void setViewCountExt(GphotoViewCount viewCountExt)
viewCountExt - the number of views for this image or null
to resetpublic boolean hasViewCountExt()
public GphotoWidth getWidthExt()
public void setWidthExt(GphotoWidth widthExt)
widthExt - the width of the photo or null to resetpublic boolean hasWidthExt()
protected void validate()
AbstractExtensionvalidate in class AbstractExtensionpublic java.lang.String toString()
toString in class java.lang.Objectpublic PhotoFeed getFeed(java.lang.String... kinds) throws java.io.IOException, ServiceException
PhotoFeed photoAndComments = photoEntry.getFeed(CommentEntry.KIND,
TagEntry.KIND); If no kind parameters are passed, the default
of CommentEntry.KIND will be used.kinds - the kinds of entries to retrieve, or empty to use the default.java.io.IOExceptionServiceExceptionCommentEntry.KIND,
TagEntry.KINDpublic java.lang.String getAlbumId()
PhotoDatagetAlbumId in interface PhotoDatapublic java.lang.String getAlbumAccess()
getAlbumAccess in interface PhotoDatapublic java.lang.String getVideoStatus()
PhotoDatagetVideoStatus in interface PhotoDatapublic java.lang.String getChecksum()
PhotoDatagetChecksum in interface PhotoDatapublic java.lang.String getClient()
PhotoDatapublic java.lang.Integer getCommentCount()
throws ServiceException
PhotoDatagetCommentCount in interface PhotoDataServiceException - no longer, but used to.public java.lang.Boolean getCommentsEnabled()
throws ServiceException
PhotoDatagetCommentsEnabled in interface PhotoDataServiceException - no longer, but used to.public java.util.Date getFeaturedDate()
getFeaturedDate in interface PhotoDatapublic java.lang.Long getHeight()
throws ServiceException
PhotoDatagetHeight in interface PhotoDataServiceException - no longer, but used to.public java.lang.Float getPosition()
throws ServiceException
PhotoDatagetPosition in interface PhotoDataServiceException - no longer, but used to.public java.lang.Integer getRotation()
throws ServiceException
PhotoDatagetRotation in interface PhotoDataServiceException - no longer, but used to.public java.lang.Long getSize()
throws ServiceException
PhotoDatagetSize in interface PhotoDataServiceException - no longer, but used to.public java.util.Date getTimestamp()
throws ServiceException
PhotoDatagetTimestamp in interface PhotoDataServiceException - no longer, but used to.public java.lang.Long getVersion()
throws ServiceException
PhotoDatagetVersion in interface PhotoDataServiceException - no longer, but used to.public java.lang.Long getViewCount()
getViewCount in interface PhotoDatapublic java.lang.Long getWidth()
throws ServiceException
PhotoDatagetWidth in interface PhotoDataServiceException - no longer, but used to.public void setAlbumId(java.lang.Long albumId)
PhotoDatasetAlbumId in interface PhotoDatapublic void setAlbumId(java.lang.String albumId)
PhotoDatasetAlbumId in interface PhotoDatapublic void setAlbumAccess(java.lang.String access)
PhotoDatasetAlbumAccess in interface PhotoDataaccess - the access of the album.public void setVideoStatus(java.lang.String videoStatus)
PhotoDatasetVideoStatus in interface PhotoDatapublic void setChecksum(java.lang.String checksum)
PhotoDatasetChecksum in interface PhotoDatachecksum - the checksum on the photo, computed by a client.public void setClient(java.lang.String client)
PhotoDatapublic void setCommentCount(java.lang.Integer commentCount)
PhotoDatasetCommentCount in interface PhotoDatacommentCount - the number of comments on the photo.public void setCommentsEnabled(java.lang.Boolean commentsEnabled)
PhotoDatasetCommentsEnabled in interface PhotoDatacommentsEnabled - true if comments are enabled in the photo.public void setFeaturedDate(java.util.Date featuredDate)
PhotoDatasetFeaturedDate in interface PhotoDatafeaturedDate - the date that the photo was featured.public void setHeight(java.lang.Long height)
PhotoDatapublic void setPosition(java.lang.Float position)
PhotoDatasetPosition in interface PhotoDataposition - the position of the photo in the album.public void setRotation(java.lang.Integer rotation)
PhotoDatasetRotation in interface PhotoDatarotation - the rotation of the photo.public void setSize(java.lang.Long size)
PhotoDatapublic void setTimestamp(java.util.Date timestamp)
PhotoDatasetTimestamp in interface PhotoDatatimestamp - the timestamp on the photo.public void setVersion(java.lang.Long version)
PhotoDatasetVersion in interface PhotoDataversion - the version of the photo.public void setViewCount(java.lang.Long viewCount)
PhotoDatasetViewCount in interface PhotoDataviewCount - the number of views for this photo.public void setWidth(java.lang.Long width)
PhotoDatapublic Point getGeoLocation()
PointDatagetGeoLocation in interface PointDatapublic void setGeoLocation(java.lang.Double lat,
java.lang.Double lon)
PointDatasetGeoLocation in interface PointDatalat - The latitude coordinate, between -90 and 90 degrees.lon - The longitude coordinate, between -180 and 180 degrees.public void setGeoLocation(Point point)
PointDatasetGeoLocation in interface PointDatapoint - A point containing the latitude and longitude coordinates.public void setGeoBoundingBox(Point lowerLeft, Point upperRight)
BoxDataPoint 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.setGeoBoundingBox in interface BoxDatalowerLeft - the lower left coordinate of the box.upperRight - the upper right coordinate of the box.public void setGeoBoundingBox(Box boundingBox)
BoxDataBox 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.setGeoBoundingBox in interface BoxDataboundingBox - the box that bounds this entity.public Box getGeoBoundingBox()
BoxDatagetGeoBoundingBox in interface BoxDatapublic void clearPoint()
PointDataclearPoint in interface PointDatapublic void clearGeoBoundingBox()
BoxDataclearGeoBoundingBox in interface BoxDatapublic void addStreamId(java.lang.String streamId)
PhotoDataaddStreamId in interface PhotoDatapublic java.util.List<java.lang.String> getStreamIds()
PhotoDatagetStreamIds in interface PhotoDatapublic java.util.List<MediaCategory> getMediaCategories()
MediaDatagetMediaCategories in interface MediaDatapublic java.util.List<MediaContent> getMediaContents()
MediaDatagetMediaContents in interface MediaDatapublic java.util.List<MediaCredit> getMediaCredits()
MediaDatagetMediaCredits in interface MediaDatapublic MediaKeywords getMediaKeywords()
MediaDatanull will be returned.getMediaKeywords in interface MediaDatanull.public java.util.List<MediaThumbnail> getMediaThumbnails()
MediaDatagetMediaThumbnails in interface MediaDatapublic void setKeywords(MediaKeywords keywords)
MediaDatasetKeywords in interface MediaDatapublic java.lang.Boolean isStarred()
PhotoDatapublic void setStarred(java.lang.Boolean starred)
PhotoDatasetStarred in interface PhotoDatastarred - If this photo is starred by current user.public java.lang.Integer getTotalStars()
PhotoDatagetTotalStars in interface PhotoDatapublic void setTotalStars(java.lang.Integer totalStars)
PhotoDatasetTotalStars in interface PhotoDatatotalStars - the number of users who starred this photo.