cz.geek.picasa
Class AlbumBean
java.lang.Object
cz.geek.picasa.AlbumBean
public class AlbumBean
- extends Object
|
Constructor Summary |
AlbumBean(com.google.gdata.data.photos.AlbumFeed album)
|
|
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 |
clearGeoBoundingBox()
|
void |
clearPoint()
|
com.google.gdata.data.photos.GphotoEntry |
createEntry()
|
void |
declareExtensions(com.google.gdata.data.ExtensionProfile extProfile)
|
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 w,
com.google.gdata.data.ExtensionProfile extProfile)
|
com.google.gdata.util.XmlBlob |
generateCumulativeXmlBlob(com.google.gdata.data.ExtensionProfile arg0)
|
void |
generateFeedEnd(com.google.gdata.util.common.xml.XmlWriter w)
|
void |
generateFeedStart(com.google.gdata.data.ExtensionProfile extProfile,
com.google.gdata.util.common.xml.XmlWriter w,
Collection<com.google.gdata.util.common.xml.XmlNamespace> namespaces)
|
void |
generateRss(com.google.gdata.util.common.xml.XmlWriter w,
com.google.gdata.data.ExtensionProfile extProfile)
|
String |
getAccess()
|
com.google.gdata.data.BaseFeed<?,?> |
getAdaptedFeed()
|
<A extends com.google.gdata.data.Kind.Adaptor>
A |
|
getAdaptor(Class<A> adaptorClass)
|
Collection<com.google.gdata.data.Kind.Adaptor> |
getAdaptors()
|
List<com.google.gdata.data.Person> |
getAuthors()
|
Long |
getBytesUsed()
|
boolean |
getCanPost()
|
Set<com.google.gdata.data.Category> |
getCategories()
|
Integer |
getCommentCount()
|
Boolean |
getCommentsEnabled()
|
List<com.google.gdata.data.Person> |
getContributors()
|
Date |
getDate()
|
com.google.gdata.data.TextConstruct |
getDescription()
|
List<com.google.gdata.data.photos.GphotoEntry> |
getEntries()
|
<T extends com.google.gdata.data.BaseEntry>
List<T> |
|
getEntries(Class<T> arg0)
|
com.google.gdata.data.Link |
getEntryPostLink()
|
String |
getEtag()
|
<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()
|
com.google.gdata.data.Link |
getFeedBatchLink()
|
com.google.gdata.data.Generator |
getGenerator()
|
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)
|
com.google.gdata.data.Link |
getHtmlLink()
|
String |
getIcon()
|
Icon |
getIconMedia()
|
String |
getId()
|
int |
getItemsPerPage()
|
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)
|
String |
getLocation()
|
String |
getLogo()
|
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.media.mediarss.MediaGroup |
getMediaGroup()
|
com.google.gdata.data.media.mediarss.MediaKeywords |
getMediaKeywords()
|
List<com.google.gdata.data.media.mediarss.MediaThumbnail> |
getMediaThumbnails()
|
String |
getName()
|
com.google.gdata.data.Link |
getNextLink()
|
String |
getNickname()
|
List<PhotoBean> |
getPhotoEntries()
|
Integer |
getPhotosLeft()
|
Integer |
getPhotosUsed()
|
com.google.gdata.data.Link |
getPreviousLink()
|
<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()
|
com.google.gdata.data.photos.AlbumFeed |
getSelf()
|
com.google.gdata.data.Link |
getSelfLink()
|
com.google.gdata.client.Service |
getService()
|
int |
getStartIndex()
|
com.google.gdata.data.TextConstruct |
getSubtitle()
|
List<com.google.gdata.data.photos.TagEntry> |
getTagEntries()
|
com.google.gdata.data.TextConstruct |
getTitle()
|
int |
getTotalResults()
|
com.google.gdata.data.DateTime |
getUpdated()
|
String |
getUsername()
|
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)
|
com.google.gdata.data.photos.GphotoEntry |
insert(com.google.gdata.data.media.MediaSource media)
|
<T extends com.google.gdata.data.photos.GphotoEntry>
T |
|
insert(T newEntry)
|
com.google.gdata.data.photos.PhotoEntry |
insertPhoto(com.google.gdata.data.media.MediaSource photoSource)
|
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 source)
|
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 |
setAccess(String access)
|
void |
setBytesUsed(Long bytesUsed)
|
void |
setCanPost(boolean v)
|
void |
setCommentCount(Integer commentCount)
|
void |
setCommentsEnabled(Boolean commentsEnabled)
|
void |
setDate(Date date)
|
void |
setDescription(com.google.gdata.data.TextConstruct description)
|
void |
setEntries(List<com.google.gdata.data.photos.GphotoEntry> entryList)
|
void |
setEtag(String v)
|
void |
setExtension(com.google.gdata.data.Extension ext)
|
void |
setGenerator(com.google.gdata.data.Generator v)
|
com.google.gdata.data.Generator |
setGenerator(String version,
String uri,
String name)
|
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 |
setIcon(String v)
|
void |
setId(String v)
|
void |
setImmutable(boolean isImmutable)
|
void |
setItemsPerPage(int v)
|
void |
setKeywords(com.google.gdata.data.media.mediarss.MediaKeywords keywords)
|
void |
setLocation(String location)
|
void |
setLogo(String v)
|
void |
setName(String name)
|
void |
setNickname(String nickname)
|
void |
setPhotosLeft(Integer photosLeft)
|
void |
setPhotosUsed(Integer photosUsed)
|
void |
setRights(com.google.gdata.data.TextConstruct v)
|
void |
setService(com.google.gdata.client.Service v)
|
void |
setStartIndex(int v)
|
void |
setSubtitle(com.google.gdata.data.TextConstruct v)
|
void |
setTitle(com.google.gdata.data.TextConstruct v)
|
void |
setTotalResults(int v)
|
void |
setUpdated(com.google.gdata.data.DateTime v)
|
void |
setUsername(String username)
|
void |
setXmlBlob(com.google.gdata.util.XmlBlob xmlBlob)
|
String |
toString()
|
void |
visit(com.google.gdata.data.ExtensionVisitor ev,
com.google.gdata.data.ExtensionPoint parent)
|
AlbumBean
public AlbumBean(com.google.gdata.data.photos.AlbumFeed album)
getPhotoEntries
public List<PhotoBean> getPhotoEntries()
getIconMedia
public Icon getIconMedia()
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)
clearGeoBoundingBox
public void clearGeoBoundingBox()
clearPoint
public void clearPoint()
createEntry
public com.google.gdata.data.photos.GphotoEntry createEntry()
declareExtensions
public void declareExtensions(com.google.gdata.data.ExtensionProfile extProfile)
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 w,
com.google.gdata.data.ExtensionProfile extProfile)
throws IOException
- Throws:
IOException
generateCumulativeXmlBlob
public com.google.gdata.util.XmlBlob generateCumulativeXmlBlob(com.google.gdata.data.ExtensionProfile arg0)
throws IOException
- Throws:
IOException
generateFeedEnd
public void generateFeedEnd(com.google.gdata.util.common.xml.XmlWriter w)
throws IOException
- Throws:
IOException
generateFeedStart
public void generateFeedStart(com.google.gdata.data.ExtensionProfile extProfile,
com.google.gdata.util.common.xml.XmlWriter w,
Collection<com.google.gdata.util.common.xml.XmlNamespace> namespaces)
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
getAccess
public String getAccess()
getAdaptedFeed
public com.google.gdata.data.BaseFeed<?,?> getAdaptedFeed()
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()
getAuthors
public List<com.google.gdata.data.Person> getAuthors()
getBytesUsed
public Long getBytesUsed()
throws com.google.gdata.util.ServiceException
- Throws:
com.google.gdata.util.ServiceException
getCanPost
public boolean getCanPost()
getCategories
public Set<com.google.gdata.data.Category> getCategories()
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
getContributors
public List<com.google.gdata.data.Person> getContributors()
getDate
public Date getDate()
throws com.google.gdata.util.ServiceException
- Throws:
com.google.gdata.util.ServiceException
getDescription
public com.google.gdata.data.TextConstruct getDescription()
getEntries
public List<com.google.gdata.data.photos.GphotoEntry> getEntries()
getEntries
public <T extends com.google.gdata.data.BaseEntry> List<T> getEntries(Class<T> arg0)
getEntryPostLink
public com.google.gdata.data.Link getEntryPostLink()
getEtag
public String getEtag()
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()
getFeedBatchLink
public com.google.gdata.data.Link getFeedBatchLink()
getGenerator
public com.google.gdata.data.Generator getGenerator()
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)
throws com.google.gdata.util.ParseException
- Throws:
com.google.gdata.util.ParseException
getHtmlLink
public com.google.gdata.data.Link getHtmlLink()
getIcon
public String getIcon()
getId
public String getId()
getItemsPerPage
public int getItemsPerPage()
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)
getLocation
public String getLocation()
getLogo
public String getLogo()
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()
getMediaGroup
public com.google.gdata.data.media.mediarss.MediaGroup getMediaGroup()
getMediaKeywords
public com.google.gdata.data.media.mediarss.MediaKeywords getMediaKeywords()
getMediaThumbnails
public List<com.google.gdata.data.media.mediarss.MediaThumbnail> getMediaThumbnails()
getName
public String getName()
getNextLink
public com.google.gdata.data.Link getNextLink()
getNickname
public String getNickname()
getPhotosLeft
public Integer getPhotosLeft()
throws com.google.gdata.util.ServiceException
- Throws:
com.google.gdata.util.ServiceException
getPhotosUsed
public Integer getPhotosUsed()
throws com.google.gdata.util.ServiceException
- Throws:
com.google.gdata.util.ServiceException
getPreviousLink
public com.google.gdata.data.Link getPreviousLink()
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()
getSelf
public com.google.gdata.data.photos.AlbumFeed 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()
getStartIndex
public int getStartIndex()
getSubtitle
public com.google.gdata.data.TextConstruct getSubtitle()
getTagEntries
public List<com.google.gdata.data.photos.TagEntry> getTagEntries()
getTitle
public com.google.gdata.data.TextConstruct getTitle()
getTotalResults
public int getTotalResults()
getUpdated
public com.google.gdata.data.DateTime getUpdated()
getUsername
public String getUsername()
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)
insert
public com.google.gdata.data.photos.GphotoEntry insert(com.google.gdata.data.media.MediaSource media)
throws com.google.gdata.util.ServiceException,
IOException
- Throws:
com.google.gdata.util.ServiceException
IOException
insert
public <T extends com.google.gdata.data.photos.GphotoEntry> T insert(T newEntry)
throws com.google.gdata.util.ServiceException,
IOException
- Throws:
com.google.gdata.util.ServiceException
IOException
insertPhoto
public com.google.gdata.data.photos.PhotoEntry insertPhoto(com.google.gdata.data.media.MediaSource photoSource)
throws com.google.gdata.util.ServiceException,
IOException
- Throws:
com.google.gdata.util.ServiceException
IOException
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 source)
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)
setAccess
public void setAccess(String access)
setBytesUsed
public void setBytesUsed(Long bytesUsed)
setCanPost
public void setCanPost(boolean v)
setCommentCount
public void setCommentCount(Integer commentCount)
setCommentsEnabled
public void setCommentsEnabled(Boolean commentsEnabled)
setDate
public void setDate(Date date)
setDescription
public void setDescription(com.google.gdata.data.TextConstruct description)
setEntries
public void setEntries(List<com.google.gdata.data.photos.GphotoEntry> entryList)
setEtag
public void setEtag(String v)
setExtension
public void setExtension(com.google.gdata.data.Extension ext)
setGenerator
public void setGenerator(com.google.gdata.data.Generator v)
setGenerator
public com.google.gdata.data.Generator setGenerator(String version,
String uri,
String name)
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)
setIcon
public void setIcon(String v)
setId
public void setId(String v)
setImmutable
public final void setImmutable(boolean isImmutable)
setItemsPerPage
public void setItemsPerPage(int v)
setKeywords
public void setKeywords(com.google.gdata.data.media.mediarss.MediaKeywords keywords)
setLocation
public void setLocation(String location)
setLogo
public void setLogo(String v)
setName
public void setName(String name)
setNickname
public void setNickname(String nickname)
setPhotosLeft
public void setPhotosLeft(Integer photosLeft)
setPhotosUsed
public void setPhotosUsed(Integer photosUsed)
setRights
public void setRights(com.google.gdata.data.TextConstruct v)
setService
public void setService(com.google.gdata.client.Service v)
setStartIndex
public void setStartIndex(int v)
setSubtitle
public void setSubtitle(com.google.gdata.data.TextConstruct v)
setTitle
public void setTitle(com.google.gdata.data.TextConstruct v)
setTotalResults
public void setTotalResults(int v)
setUpdated
public void setUpdated(com.google.gdata.data.DateTime v)
setUsername
public void setUsername(String username)
setXmlBlob
public void setXmlBlob(com.google.gdata.util.XmlBlob xmlBlob)
toString
public String toString()
- Overrides:
toString in class Object
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.