cz.geek.picasa
Class PhotoBean
java.lang.Object
cz.geek.picasa.Media
cz.geek.picasa.PhotoBean
public class PhotoBean
- extends Media
|
Constructor Summary |
protected |
PhotoBean(com.google.gdata.data.photos.PhotoEntry photoentry)
|
|
Method Summary |
void |
addAdaptor(com.google.gdata.data.Kind.Adaptor adaptor)
|
void |
addExtension(com.google.gdata.data.Extension ext)
|
void |
addHtmlLink(String htmlUri,
String lang,
String title)
|
void |
addLink(com.google.gdata.data.Link link)
|
com.google.gdata.data.Link |
addLink(String rel,
String type,
String href)
|
void |
addRepeatingExtension(com.google.gdata.data.Extension ext)
|
void |
addStreamId(String streamId)
|
void |
clearGeoBoundingBox()
|
void |
clearPoint()
|
void |
declareExtensions(com.google.gdata.data.ExtensionProfile extProfile)
|
void |
delete()
|
boolean |
equals(Object obj)
|
void |
generate(com.google.gdata.util.common.xml.XmlWriter w,
com.google.gdata.data.ExtensionProfile p)
|
void |
generateAtom(com.google.gdata.util.common.xml.XmlWriter arg0,
com.google.gdata.data.ExtensionProfile arg1)
|
com.google.gdata.util.XmlBlob |
generateCumulativeXmlBlob(com.google.gdata.data.ExtensionProfile arg0)
|
void |
generateRss(com.google.gdata.util.common.xml.XmlWriter w,
com.google.gdata.data.ExtensionProfile extProfile)
|
com.google.gdata.data.photos.GphotoEntry<?> |
getAdaptedEntry()
|
<A extends com.google.gdata.data.Kind.Adaptor>
A |
|
getAdaptor(Class<A> adaptorClass)
|
Collection<com.google.gdata.data.Kind.Adaptor> |
getAdaptors()
|
String |
getAlbumId()
|
List<com.google.gdata.data.Person> |
getAuthors()
|
boolean |
getCanEdit()
|
Set<com.google.gdata.data.Category> |
getCategories()
|
String |
getChecksum()
|
String |
getClient()
|
Integer |
getCommentCount()
|
Boolean |
getCommentsEnabled()
|
com.google.gdata.data.Content |
getContent()
|
List<com.google.gdata.data.Person> |
getContributors()
|
com.google.gdata.data.TextConstruct |
getDescription()
|
com.google.gdata.data.DateTime |
getEdited()
|
com.google.gdata.data.Link |
getEditLink()
|
String |
getEtag()
|
com.google.gdata.data.photos.ExifTags |
getExifTags()
|
<T extends com.google.gdata.data.Extension>
T |
|
getExtension(Class<T> extensionClass)
|
String |
getExtensionLocalName()
|
com.google.gdata.util.common.xml.XmlNamespace |
getExtensionNamespace()
|
Collection<com.google.gdata.data.Extension> |
getExtensions()
|
<F extends com.google.gdata.data.photos.GphotoFeed<F>>
F |
|
getFeed(Class<F> feedClass,
String... kinds)
|
com.google.gdata.data.photos.PhotoFeed |
getFeed(String... kinds)
|
com.google.gdata.data.Link |
getFeedLink()
|
com.google.gdata.data.geo.Box |
getGeoBoundingBox()
|
com.google.gdata.data.geo.Point |
getGeoLocation()
|
String |
getGphotoId()
|
com.google.gdata.util.XmlParser.ElementHandler |
getHandler(com.google.gdata.data.ExtensionProfile p,
String namespace,
String localName,
Attributes attrs)
|
Long |
getHeight()
|
com.google.gdata.data.Link |
getHtmlLink()
|
String |
getId()
|
com.google.gdata.data.Link |
getLink(String arg0,
String arg1)
|
List<com.google.gdata.data.Link> |
getLinks()
|
List<com.google.gdata.data.Link> |
getLinks(String arg0,
String arg1)
|
List<com.google.gdata.data.media.mediarss.MediaCategory> |
getMediaCategories()
|
List<com.google.gdata.data.media.mediarss.MediaContent> |
getMediaContents()
|
List<com.google.gdata.data.media.mediarss.MediaCredit> |
getMediaCredits()
|
com.google.gdata.data.Link |
getMediaEditLink()
|
com.google.gdata.data.media.mediarss.MediaGroup |
getMediaGroup()
|
com.google.gdata.data.media.mediarss.MediaKeywords |
getMediaKeywords()
|
com.google.gdata.data.media.MediaSource |
getMediaSource()
|
List<com.google.gdata.data.media.mediarss.MediaThumbnail> |
getMediaThumbnails()
|
String |
getPlainTextContent()
|
Float |
getPosition()
|
com.google.gdata.data.PubControl |
getPubControl()
|
com.google.gdata.data.DateTime |
getPublished()
|
<T extends com.google.gdata.data.Extension>
List<T> |
|
getRepeatingExtension(Class<T> extensionClass)
|
Collection<List<com.google.gdata.data.Extension>> |
getRepeatingExtensions()
|
com.google.gdata.data.TextConstruct |
getRights()
|
Integer |
getRotation()
|
com.google.gdata.data.photos.PhotoEntry |
getSelf()
|
com.google.gdata.data.Link |
getSelfLink()
|
com.google.gdata.client.Service |
getService()
|
Long |
getSize()
|
com.google.gdata.data.Source |
getSource()
|
List<String> |
getStreamIds()
|
com.google.gdata.data.TextConstruct |
getSummary()
|
com.google.gdata.data.TextContent |
getTextContent()
|
Date |
getTimestamp()
|
com.google.gdata.data.TextConstruct |
getTitle()
|
com.google.gdata.data.DateTime |
getUpdated()
|
Long |
getVersion()
|
String |
getVersionId()
|
String |
getVideoStatus()
|
Long |
getWidth()
|
com.google.gdata.util.XmlBlob |
getXmlBlob()
|
<T extends com.google.gdata.data.Extension>
boolean |
|
hasExtension(Class<T> extensionClass)
|
int |
hashCode()
|
<T extends com.google.gdata.data.Extension>
boolean |
|
hasRepeatingExtension(Class<T> extensionClass)
|
boolean |
isDraft()
|
boolean |
isImmutable()
|
void |
parseAtom(com.google.gdata.data.ExtensionProfile extProfile,
InputStream input)
|
void |
parseAtom(com.google.gdata.data.ExtensionProfile extProfile,
Reader reader)
|
void |
parseAtom(com.google.gdata.data.ExtensionProfile extProfile,
com.google.gdata.data.XmlEventSource eventSource)
|
void |
parseCumulativeXmlBlob(com.google.gdata.util.XmlBlob blob,
com.google.gdata.data.ExtensionProfile extProfile,
Class<? extends com.google.gdata.data.ExtensionPoint> extendedClass)
|
void |
removeExtension(Class<? extends com.google.gdata.data.Extension> extensionClass)
|
void |
removeExtension(com.google.gdata.data.Extension ext)
|
void |
removeLinks(String arg0,
String arg1)
|
void |
removeRepeatingExtension(com.google.gdata.data.Extension ext)
|
void |
setAlbumId(Long albumId)
|
void |
setAlbumId(String albumId)
|
void |
setCanEdit(boolean v)
|
void |
setChecksum(String checksum)
|
void |
setClient(String client)
|
void |
setCommentCount(Integer commentCount)
|
void |
setCommentsEnabled(Boolean commentsEnabled)
|
void |
setContent(com.google.gdata.data.Content v)
|
void |
setContent(com.google.gdata.data.TextConstruct tc)
|
void |
setDescription(com.google.gdata.data.TextConstruct description)
|
void |
setDraft(Boolean v)
|
void |
setEdited(com.google.gdata.data.DateTime v)
|
void |
setEtag(String v)
|
void |
setExifTags(com.google.gdata.data.photos.ExifTags tags)
|
void |
setExtension(com.google.gdata.data.Extension ext)
|
void |
setGeoBoundingBox(com.google.gdata.data.geo.Box boundingBox)
|
void |
setGeoBoundingBox(com.google.gdata.data.geo.Point lowerLeft,
com.google.gdata.data.geo.Point upperRight)
|
void |
setGeoLocation(Double lat,
Double lon)
|
void |
setGeoLocation(com.google.gdata.data.geo.Point point)
|
void |
setGphotoId(Long id)
|
void |
setGphotoId(String id)
|
void |
setHeight(Long height)
|
void |
setId(String v)
|
void |
setImmutable(boolean isImmutable)
|
void |
setKeywords(com.google.gdata.data.media.mediarss.MediaKeywords keywords)
|
void |
setMediaSource(com.google.gdata.data.media.MediaSource arg0)
|
void |
setPosition(Float position)
|
void |
setPubControl(com.google.gdata.data.PubControl value)
|
void |
setPublished(com.google.gdata.data.DateTime v)
|
void |
setRights(com.google.gdata.data.TextConstruct v)
|
void |
setRotation(Integer rotation)
|
void |
setService(com.google.gdata.client.Service v)
|
void |
setSize(Long size)
|
void |
setSource(com.google.gdata.data.Source v)
|
void |
setSummary(com.google.gdata.data.TextConstruct v)
|
void |
setTimestamp(Date timestamp)
|
void |
setTitle(com.google.gdata.data.TextConstruct v)
|
void |
setUpdated(com.google.gdata.data.DateTime v)
|
void |
setVersion(Long version)
|
void |
setVersionId(String v)
|
void |
setVideoStatus(String videoStatus)
|
void |
setWidth(Long width)
|
void |
setXmlBlob(com.google.gdata.util.XmlBlob xmlBlob)
|
String |
toString()
|
com.google.gdata.data.photos.PhotoEntry |
update()
|
com.google.gdata.data.photos.PhotoEntry |
updateMedia(boolean updateEntry)
|
void |
visit(com.google.gdata.data.ExtensionVisitor ev,
com.google.gdata.data.ExtensionPoint parent)
|
PhotoBean
protected PhotoBean(com.google.gdata.data.photos.PhotoEntry photoentry)
addAdaptor
public void addAdaptor(com.google.gdata.data.Kind.Adaptor adaptor)
addExtension
public void addExtension(com.google.gdata.data.Extension ext)
addHtmlLink
public void addHtmlLink(String htmlUri,
String lang,
String title)
addLink
public void addLink(com.google.gdata.data.Link link)
addLink
public com.google.gdata.data.Link addLink(String rel,
String type,
String href)
addRepeatingExtension
public void addRepeatingExtension(com.google.gdata.data.Extension ext)
addStreamId
public void addStreamId(String streamId)
clearGeoBoundingBox
public void clearGeoBoundingBox()
clearPoint
public void clearPoint()
declareExtensions
public void declareExtensions(com.google.gdata.data.ExtensionProfile extProfile)
delete
public void delete()
throws IOException,
com.google.gdata.util.ServiceException
- Throws:
IOException
com.google.gdata.util.ServiceException
equals
public boolean equals(Object obj)
- Overrides:
equals in class Object
generate
public void generate(com.google.gdata.util.common.xml.XmlWriter w,
com.google.gdata.data.ExtensionProfile p)
throws IOException
- Throws:
IOException
generateAtom
public void generateAtom(com.google.gdata.util.common.xml.XmlWriter arg0,
com.google.gdata.data.ExtensionProfile arg1)
throws IOException
- Throws:
IOException
generateCumulativeXmlBlob
public com.google.gdata.util.XmlBlob generateCumulativeXmlBlob(com.google.gdata.data.ExtensionProfile arg0)
throws IOException
- Throws:
IOException
generateRss
public void generateRss(com.google.gdata.util.common.xml.XmlWriter w,
com.google.gdata.data.ExtensionProfile extProfile)
throws IOException
- Throws:
IOException
getAdaptedEntry
public com.google.gdata.data.photos.GphotoEntry<?> getAdaptedEntry()
throws com.google.gdata.data.Kind.AdaptorException
- Throws:
com.google.gdata.data.Kind.AdaptorException
getAdaptor
public <A extends com.google.gdata.data.Kind.Adaptor> A getAdaptor(Class<A> adaptorClass)
getAdaptors
public Collection<com.google.gdata.data.Kind.Adaptor> getAdaptors()
getAlbumId
public String getAlbumId()
getAuthors
public List<com.google.gdata.data.Person> getAuthors()
getCanEdit
public boolean getCanEdit()
getCategories
public Set<com.google.gdata.data.Category> getCategories()
getClient
public String getClient()
getCommentCount
public Integer getCommentCount()
throws com.google.gdata.util.ServiceException
- Throws:
com.google.gdata.util.ServiceException
getCommentsEnabled
public Boolean getCommentsEnabled()
throws com.google.gdata.util.ServiceException
- Throws:
com.google.gdata.util.ServiceException
getContent
public com.google.gdata.data.Content getContent()
getContributors
public List<com.google.gdata.data.Person> getContributors()
getDescription
public com.google.gdata.data.TextConstruct getDescription()
getEdited
public com.google.gdata.data.DateTime getEdited()
getEditLink
public com.google.gdata.data.Link getEditLink()
getEtag
public String getEtag()
getExifTags
public com.google.gdata.data.photos.ExifTags getExifTags()
getExtension
public <T extends com.google.gdata.data.Extension> T getExtension(Class<T> extensionClass)
getExtensionLocalName
public final String getExtensionLocalName()
getExtensionNamespace
public final com.google.gdata.util.common.xml.XmlNamespace getExtensionNamespace()
getExtensions
public Collection<com.google.gdata.data.Extension> getExtensions()
getFeed
public <F extends com.google.gdata.data.photos.GphotoFeed<F>> F getFeed(Class<F> feedClass,
String... kinds)
throws IOException,
com.google.gdata.util.ServiceException
- Throws:
IOException
com.google.gdata.util.ServiceException
getFeed
public com.google.gdata.data.photos.PhotoFeed getFeed(String... kinds)
throws IOException,
com.google.gdata.util.ServiceException
- Throws:
IOException
com.google.gdata.util.ServiceException
getFeedLink
public com.google.gdata.data.Link getFeedLink()
getGeoBoundingBox
public com.google.gdata.data.geo.Box getGeoBoundingBox()
getGeoLocation
public com.google.gdata.data.geo.Point getGeoLocation()
getGphotoId
public String getGphotoId()
getHandler
public com.google.gdata.util.XmlParser.ElementHandler getHandler(com.google.gdata.data.ExtensionProfile p,
String namespace,
String localName,
Attributes attrs)
getHeight
public Long getHeight()
throws com.google.gdata.util.ServiceException
- Throws:
com.google.gdata.util.ServiceException
getHtmlLink
public com.google.gdata.data.Link getHtmlLink()
getChecksum
public String getChecksum()
getId
public String getId()
getLink
public com.google.gdata.data.Link getLink(String arg0,
String arg1)
getLinks
public List<com.google.gdata.data.Link> getLinks()
getLinks
public List<com.google.gdata.data.Link> getLinks(String arg0,
String arg1)
getMediaCategories
public List<com.google.gdata.data.media.mediarss.MediaCategory> getMediaCategories()
getMediaContents
public List<com.google.gdata.data.media.mediarss.MediaContent> getMediaContents()
getMediaCredits
public List<com.google.gdata.data.media.mediarss.MediaCredit> getMediaCredits()
getMediaEditLink
public com.google.gdata.data.Link getMediaEditLink()
getMediaGroup
public com.google.gdata.data.media.mediarss.MediaGroup getMediaGroup()
getMediaKeywords
public com.google.gdata.data.media.mediarss.MediaKeywords getMediaKeywords()
getMediaSource
public com.google.gdata.data.media.MediaSource getMediaSource()
getMediaThumbnails
public List<com.google.gdata.data.media.mediarss.MediaThumbnail> getMediaThumbnails()
getPlainTextContent
public String getPlainTextContent()
getPosition
public Float getPosition()
throws com.google.gdata.util.ServiceException
- Throws:
com.google.gdata.util.ServiceException
getPubControl
public com.google.gdata.data.PubControl getPubControl()
getPublished
public com.google.gdata.data.DateTime getPublished()
getRepeatingExtension
public <T extends com.google.gdata.data.Extension> List<T> getRepeatingExtension(Class<T> extensionClass)
getRepeatingExtensions
public Collection<List<com.google.gdata.data.Extension>> getRepeatingExtensions()
getRights
public com.google.gdata.data.TextConstruct getRights()
getRotation
public Integer getRotation()
throws com.google.gdata.util.ServiceException
- Throws:
com.google.gdata.util.ServiceException
getSelf
public com.google.gdata.data.photos.PhotoEntry getSelf()
throws IOException,
com.google.gdata.util.ServiceException
- Throws:
IOException
com.google.gdata.util.ServiceException
getSelfLink
public com.google.gdata.data.Link getSelfLink()
getService
public com.google.gdata.client.Service getService()
getSize
public Long getSize()
throws com.google.gdata.util.ServiceException
- Throws:
com.google.gdata.util.ServiceException
getSource
public com.google.gdata.data.Source getSource()
getStreamIds
public List<String> getStreamIds()
getSummary
public com.google.gdata.data.TextConstruct getSummary()
getTextContent
public com.google.gdata.data.TextContent getTextContent()
getTimestamp
public Date getTimestamp()
throws com.google.gdata.util.ServiceException
- Throws:
com.google.gdata.util.ServiceException
getTitle
public com.google.gdata.data.TextConstruct getTitle()
getUpdated
public com.google.gdata.data.DateTime getUpdated()
getVersion
public Long getVersion()
throws com.google.gdata.util.ServiceException
- Throws:
com.google.gdata.util.ServiceException
getVersionId
public String getVersionId()
getVideoStatus
public String getVideoStatus()
getWidth
public Long getWidth()
throws com.google.gdata.util.ServiceException
- Throws:
com.google.gdata.util.ServiceException
getXmlBlob
public com.google.gdata.util.XmlBlob getXmlBlob()
hasExtension
public final <T extends com.google.gdata.data.Extension> boolean hasExtension(Class<T> extensionClass)
hashCode
public int hashCode()
- Overrides:
hashCode in class Object
hasRepeatingExtension
public final <T extends com.google.gdata.data.Extension> boolean hasRepeatingExtension(Class<T> extensionClass)
isDraft
public boolean isDraft()
isImmutable
public final boolean isImmutable()
parseAtom
public void parseAtom(com.google.gdata.data.ExtensionProfile extProfile,
InputStream input)
throws IOException,
com.google.gdata.util.ParseException
- Throws:
IOException
com.google.gdata.util.ParseException
parseAtom
public void parseAtom(com.google.gdata.data.ExtensionProfile extProfile,
Reader reader)
throws IOException,
com.google.gdata.util.ParseException
- Throws:
IOException
com.google.gdata.util.ParseException
parseAtom
public void parseAtom(com.google.gdata.data.ExtensionProfile extProfile,
com.google.gdata.data.XmlEventSource eventSource)
throws IOException,
com.google.gdata.util.ParseException
- Throws:
IOException
com.google.gdata.util.ParseException
parseCumulativeXmlBlob
public void parseCumulativeXmlBlob(com.google.gdata.util.XmlBlob blob,
com.google.gdata.data.ExtensionProfile extProfile,
Class<? extends com.google.gdata.data.ExtensionPoint> extendedClass)
throws IOException,
com.google.gdata.util.ParseException
- Throws:
IOException
com.google.gdata.util.ParseException
removeExtension
public void removeExtension(Class<? extends com.google.gdata.data.Extension> extensionClass)
removeExtension
public void removeExtension(com.google.gdata.data.Extension ext)
removeLinks
public void removeLinks(String arg0,
String arg1)
removeRepeatingExtension
public void removeRepeatingExtension(com.google.gdata.data.Extension ext)
setAlbumId
public void setAlbumId(Long albumId)
setAlbumId
public void setAlbumId(String albumId)
setCanEdit
public void setCanEdit(boolean v)
setClient
public void setClient(String client)
setCommentCount
public void setCommentCount(Integer commentCount)
setCommentsEnabled
public void setCommentsEnabled(Boolean commentsEnabled)
setContent
public void setContent(com.google.gdata.data.Content v)
setContent
public void setContent(com.google.gdata.data.TextConstruct tc)
setDescription
public void setDescription(com.google.gdata.data.TextConstruct description)
setDraft
public void setDraft(Boolean v)
setEdited
public void setEdited(com.google.gdata.data.DateTime v)
setEtag
public void setEtag(String v)
setExifTags
public void setExifTags(com.google.gdata.data.photos.ExifTags tags)
setExtension
public void setExtension(com.google.gdata.data.Extension ext)
setGeoBoundingBox
public void setGeoBoundingBox(com.google.gdata.data.geo.Box boundingBox)
setGeoBoundingBox
public void setGeoBoundingBox(com.google.gdata.data.geo.Point lowerLeft,
com.google.gdata.data.geo.Point upperRight)
setGeoLocation
public void setGeoLocation(Double lat,
Double lon)
throws IllegalArgumentException
- Throws:
IllegalArgumentException
setGeoLocation
public void setGeoLocation(com.google.gdata.data.geo.Point point)
setGphotoId
public void setGphotoId(Long id)
setGphotoId
public void setGphotoId(String id)
setHeight
public void setHeight(Long height)
setChecksum
public void setChecksum(String checksum)
setId
public void setId(String v)
setImmutable
public final void setImmutable(boolean isImmutable)
setKeywords
public void setKeywords(com.google.gdata.data.media.mediarss.MediaKeywords keywords)
setMediaSource
public void setMediaSource(com.google.gdata.data.media.MediaSource arg0)
setPosition
public void setPosition(Float position)
setPubControl
public void setPubControl(com.google.gdata.data.PubControl value)
setPublished
public void setPublished(com.google.gdata.data.DateTime v)
setRights
public void setRights(com.google.gdata.data.TextConstruct v)
setRotation
public void setRotation(Integer rotation)
setService
public void setService(com.google.gdata.client.Service v)
setSize
public void setSize(Long size)
setSource
public void setSource(com.google.gdata.data.Source v)
setSummary
public void setSummary(com.google.gdata.data.TextConstruct v)
setTimestamp
public void setTimestamp(Date timestamp)
setTitle
public void setTitle(com.google.gdata.data.TextConstruct v)
setUpdated
public void setUpdated(com.google.gdata.data.DateTime v)
setVersion
public void setVersion(Long version)
setVersionId
public void setVersionId(String v)
setVideoStatus
public void setVideoStatus(String videoStatus)
setWidth
public void setWidth(Long width)
setXmlBlob
public void setXmlBlob(com.google.gdata.util.XmlBlob xmlBlob)
toString
public String toString()
- Overrides:
toString in class Object
update
public com.google.gdata.data.photos.PhotoEntry update()
throws IOException,
com.google.gdata.util.ServiceException
- Throws:
IOException
com.google.gdata.util.ServiceException
updateMedia
public com.google.gdata.data.photos.PhotoEntry updateMedia(boolean updateEntry)
throws IOException,
com.google.gdata.util.ServiceException
- Throws:
IOException
com.google.gdata.util.ServiceException
visit
public void visit(com.google.gdata.data.ExtensionVisitor ev,
com.google.gdata.data.ExtensionPoint parent)
throws com.google.gdata.data.ExtensionVisitor.StoppedException
- Throws:
com.google.gdata.data.ExtensionVisitor.StoppedException
Copyright © 2012. All Rights Reserved.