|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.google.gdata.data.AbstractExtension
com.google.gdata.data.ExtensionPoint
com.google.gdata.data.BaseEntry<E>
com.google.gdata.data.media.MediaEntry<E>
com.google.gdata.data.photos.GphotoEntry<PhotoEntry>
com.google.gdata.data.photos.PhotoEntry
public class PhotoEntry
Entry for photo kinds, contains photo metadata.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class com.google.gdata.data.BaseEntry |
---|
BaseEntry.AtomHandler, BaseEntry.EntryState |
Nested classes/interfaces inherited from class com.google.gdata.data.ExtensionPoint |
---|
ExtensionPoint.CumulativeBlobHandler, ExtensionPoint.ExtensionHandler |
Nested classes/interfaces inherited from class com.google.gdata.data.AbstractExtension |
---|
AbstractExtension.AttributesHandler |
Field Summary | |
---|---|
static Category |
CATEGORY
Photo kind category. |
static java.lang.String |
KIND
Photo kind term value. |
Fields inherited from class com.google.gdata.data.BaseEntry |
---|
state |
Fields inherited from class com.google.gdata.data.ExtensionPoint |
---|
xmlBlob |
Fields inherited from class com.google.gdata.data.AbstractExtension |
---|
localName, namespace |
Fields inherited from interface com.google.gdata.data.photos.PhotoData |
---|
PHOTO_CATEGORY, PHOTO_KIND |
Constructor Summary | |
---|---|
PhotoEntry()
Default mutable constructor. |
|
PhotoEntry(BaseEntry<?> sourceEntry)
Constructs a new instance by doing a shallow copy of data from an existing BaseEntry instance. |
Method Summary | |
---|---|
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. |
Methods inherited from class com.google.gdata.data.photos.GphotoEntry |
---|
generateRss, getAdaptedEntry, getDescription, getFeed, getFeedLink, getGphotoId, setDescription, setGphotoId, setGphotoId |
Methods inherited from class com.google.gdata.data.media.MediaEntry |
---|
getContentHandlerInfo, getMediaEditLink, getMediaSource, setMediaSource, setService, updateMedia |
Methods inherited from class com.google.gdata.data.BaseEntry |
---|
addAdaptor, 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, visitChildren |
Methods inherited from class com.google.gdata.data.AbstractExtension |
---|
consumeAttributes, disableStrictValidation, enableStrictValidation, eq, generateAttributes, getExtensionLocalName, getExtensionNamespace, isImmutable, isStrictValidation, putAttributes, sameClassAs, setImmutable, throwExceptionForMissingAttribute, throwExceptionIfImmutable |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface com.google.gdata.data.photos.AtomData |
---|
getAuthors, getCategories, getContributors, getDescription, getId, getLinks, getRights, getTitle, getUpdated, setDescription, setId, setRights, setTitle, setUpdated |
Methods inherited from interface com.google.gdata.data.photos.GphotoData |
---|
getGphotoId, setGphotoId, setGphotoId |
Methods inherited from interface com.google.gdata.data.photos.Extensible |
---|
addExtension, addRepeatingExtension, removeExtension, removeExtension, removeRepeatingExtension, setExtension |
Methods inherited from interface com.google.gdata.data.IEntry |
---|
getCanEdit, getContent, getEdited, getEditLink, getPublished, getResumableEditMediaLink, getSelectedFields, getSummary, setCanEdit, setEdited, setPublished, setSelectedFields |
Methods inherited from interface com.google.gdata.data.IAtom |
---|
addLink, getAuthors, getCategories, getEtag, getId, getKind, getLink, getLinks, getSelfLink, getTitle, getUpdated, getVersionId, removeLinks, removeLinks, setEtag, setId, setKind, setUpdated, setVersionId |
Field Detail |
---|
public static final java.lang.String KIND
public static final Category CATEGORY
Constructor Detail |
---|
public PhotoEntry()
public PhotoEntry(BaseEntry<?> sourceEntry)
BaseEntry
instance.
sourceEntry
- source entryMethod Detail |
---|
public void declareExtensions(ExtensionProfile extProfile)
ExtensionPoint
declareExtensions
in interface Kind.Adaptor
declareExtensions
in interface Extensible
declareExtensions
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 PhotoData
public void setExifTags(ExifTags exifTags)
setExifTags
in interface PhotoData
exifTags
- 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 MediaData
public 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()
AbstractExtension
validate
in class AbstractExtension
public java.lang.String toString()
toString
in class java.lang.Object
public 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.IOException
ServiceException
CommentEntry.KIND
,
TagEntry.KIND
public java.lang.String getAlbumId()
PhotoData
getAlbumId
in interface PhotoData
public java.lang.String getAlbumAccess()
getAlbumAccess
in interface PhotoData
public java.lang.String getVideoStatus()
PhotoData
getVideoStatus
in interface PhotoData
public java.lang.String getChecksum()
PhotoData
getChecksum
in interface PhotoData
public java.lang.String getClient()
PhotoData
getClient
in interface PhotoData
public java.lang.Integer getCommentCount() throws ServiceException
PhotoData
getCommentCount
in interface PhotoData
ServiceException
- no longer, but used to.public java.lang.Boolean getCommentsEnabled() throws ServiceException
PhotoData
getCommentsEnabled
in interface PhotoData
ServiceException
- no longer, but used to.public java.util.Date getFeaturedDate()
getFeaturedDate
in interface PhotoData
public java.lang.Long getHeight() throws ServiceException
PhotoData
getHeight
in interface PhotoData
ServiceException
- no longer, but used to.public java.lang.Float getPosition() throws ServiceException
PhotoData
getPosition
in interface PhotoData
ServiceException
- no longer, but used to.public java.lang.Integer getRotation() throws ServiceException
PhotoData
getRotation
in interface PhotoData
ServiceException
- no longer, but used to.public java.lang.Long getSize() throws ServiceException
PhotoData
getSize
in interface PhotoData
ServiceException
- no longer, but used to.public java.util.Date getTimestamp() throws ServiceException
PhotoData
getTimestamp
in interface PhotoData
ServiceException
- no longer, but used to.public java.lang.Long getVersion() throws ServiceException
PhotoData
getVersion
in interface PhotoData
ServiceException
- no longer, but used to.public java.lang.Long getViewCount()
getViewCount
in interface PhotoData
public java.lang.Long getWidth() throws ServiceException
PhotoData
getWidth
in interface PhotoData
ServiceException
- no longer, but used to.public void setAlbumId(java.lang.Long albumId)
PhotoData
setAlbumId
in interface PhotoData
public void setAlbumId(java.lang.String albumId)
PhotoData
setAlbumId
in interface PhotoData
public void setAlbumAccess(java.lang.String access)
PhotoData
setAlbumAccess
in interface PhotoData
access
- the access of the album.public void setVideoStatus(java.lang.String videoStatus)
PhotoData
setVideoStatus
in interface PhotoData
public void setChecksum(java.lang.String checksum)
PhotoData
setChecksum
in interface PhotoData
checksum
- the checksum on the photo, computed by a client.public void setClient(java.lang.String client)
PhotoData
setClient
in interface PhotoData
client
- the client that created the photo.public void setCommentCount(java.lang.Integer commentCount)
PhotoData
setCommentCount
in interface PhotoData
commentCount
- the number of comments on the photo.public void setCommentsEnabled(java.lang.Boolean commentsEnabled)
PhotoData
setCommentsEnabled
in interface PhotoData
commentsEnabled
- true if comments are enabled in the photo.public void setFeaturedDate(java.util.Date featuredDate)
PhotoData
setFeaturedDate
in interface PhotoData
featuredDate
- the date that the photo was featured.public void setHeight(java.lang.Long height)
PhotoData
setHeight
in interface PhotoData
height
- the height of the photo.public void setPosition(java.lang.Float position)
PhotoData
setPosition
in interface PhotoData
position
- the position of the photo in the album.public void setRotation(java.lang.Integer rotation)
PhotoData
setRotation
in interface PhotoData
rotation
- the rotation of the photo.public void setSize(java.lang.Long size)
PhotoData
setSize
in interface PhotoData
size
- the size of the photo in bytes.public void setTimestamp(java.util.Date timestamp)
PhotoData
setTimestamp
in interface PhotoData
timestamp
- the timestamp on the photo.public void setVersion(java.lang.Long version)
PhotoData
setVersion
in interface PhotoData
version
- the version of the photo.public void setViewCount(java.lang.Long viewCount)
PhotoData
setViewCount
in interface PhotoData
viewCount
- the number of views for this photo.public void setWidth(java.lang.Long width)
PhotoData
setWidth
in interface PhotoData
width
- the width of the photo.public Point getGeoLocation()
PointData
getGeoLocation
in interface PointData
public void setGeoLocation(java.lang.Double lat, java.lang.Double lon)
PointData
setGeoLocation
in interface PointData
lat
- The latitude coordinate, between -90 and 90 degrees.lon
- The longitude coordinate, between -180 and 180 degrees.public void setGeoLocation(Point point)
PointData
setGeoLocation
in interface PointData
point
- A point containing the latitude and longitude coordinates.public void setGeoBoundingBox(Point lowerLeft, Point upperRight)
BoxData
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.
setGeoBoundingBox
in interface BoxData
lowerLeft
- the lower left coordinate of the box.upperRight
- the upper right coordinate of the box.public void setGeoBoundingBox(Box boundingBox)
BoxData
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.
setGeoBoundingBox
in interface BoxData
boundingBox
- the box that bounds this entity.public Box getGeoBoundingBox()
BoxData
getGeoBoundingBox
in interface BoxData
public void clearPoint()
PointData
clearPoint
in interface PointData
public void clearGeoBoundingBox()
BoxData
clearGeoBoundingBox
in interface BoxData
public void addStreamId(java.lang.String streamId)
PhotoData
addStreamId
in interface PhotoData
public java.util.List<java.lang.String> getStreamIds()
PhotoData
getStreamIds
in interface PhotoData
public java.util.List<MediaCategory> getMediaCategories()
MediaData
getMediaCategories
in interface MediaData
public java.util.List<MediaContent> getMediaContents()
MediaData
getMediaContents
in interface MediaData
public java.util.List<MediaCredit> getMediaCredits()
MediaData
getMediaCredits
in interface MediaData
public MediaKeywords getMediaKeywords()
MediaData
null
will be returned.
getMediaKeywords
in interface MediaData
null
.public java.util.List<MediaThumbnail> getMediaThumbnails()
MediaData
getMediaThumbnails
in interface MediaData
public void setKeywords(MediaKeywords keywords)
MediaData
setKeywords
in interface MediaData
public java.lang.Boolean isStarred()
PhotoData
isStarred
in interface PhotoData
public void setStarred(java.lang.Boolean starred)
PhotoData
setStarred
in interface PhotoData
starred
- If this photo is starred by current user.public java.lang.Integer getTotalStars()
PhotoData
getTotalStars
in interface PhotoData
public void setTotalStars(java.lang.Integer totalStars)
PhotoData
setTotalStars
in interface PhotoData
totalStars
- the number of users who starred this photo.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |