|
|||||||||
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<UserProfileEntry>
com.google.gdata.data.youtube.UserProfileEntry
public class UserProfileEntry
An atom entry containing a user profile.
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 java.lang.String[] |
CATEGORIES
Nonstandard categories that might be found in this entry. |
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 |
Constructor Summary | |
---|---|
UserProfileEntry()
|
|
UserProfileEntry(BaseEntry<?> base)
|
Method Summary | |
---|---|
void |
declareExtensions(ExtensionProfile extProfile)
Declares the set of expected Extension types for an ExtensionPoint within the target extension profile. |
java.lang.String |
getAboutMe()
Gets the user description. |
java.lang.Integer |
getAge()
|
java.lang.String |
getBooks()
|
java.lang.String |
getChannelType()
Returns the term of the channel type category. |
java.lang.String |
getCompany()
|
FeedLink<?> |
getContactsFeedLink()
Returns a link to the user contacts (friends) feed. |
java.lang.String |
getDescription()
Deprecated. Valid only in version 1. Replaced in version 2.0 with yt:aboutMe for the user self description and atom:summary for the user channel description |
FeedLink<?> |
getFavoritesFeedLink()
Returns a link to the user favorites feed. |
Link |
getFeaturedVideoLink()
Returns a link to the featured video of the user's profile. |
java.util.List<FeedLink> |
getFeedLinks()
Returns a modifiable list of FeedLink s. |
java.lang.String |
getFirstName()
Gets the first name of the youtube user |
FeedLink<?> |
getFriendsActivityFeedLink()
Returns a link to the user's friends activity feed. |
YtGender.Value |
getGender()
|
java.lang.String |
getHobbies()
|
java.lang.String |
getHometown()
|
FeedLink<?> |
getInboxFeedLink()
Returns a link to the user inbox feed. |
java.lang.String |
getLastName()
Gets the last name of the youtube user |
java.lang.String |
getLocation()
|
java.lang.String |
getMovies()
|
java.lang.String |
getMusic()
|
FeedLink<?> |
getNewSubscriptionVideosFeedLink()
Returns a link to the user's new subscription videos feed. |
java.lang.String |
getOccupation()
|
FeedLink<?> |
getPlaylistsFeedLink()
Returns a link to the user playlists feed. |
FeedLink<?> |
getRecentActivityFeedLink()
Returns a link to the user's recent activity feed. |
YtRelationship.Status |
getRelationship()
|
java.lang.String |
getSchool()
|
YtUserProfileStatistics |
getStatistics()
|
FeedLink<?> |
getSubscriptionsFeedLink()
Returns a link to the users subscriptions feed. |
MediaThumbnail |
getThumbnail()
|
FeedLink<?> |
getUploadsFeedLink()
Returns a link to the user uploads feed. |
java.lang.String |
getUsername()
Gets the youtube username. |
Link |
getVideoLogLink()
Returns a link to the playlist defined by the user as video log. |
void |
setAboutMe(java.lang.String aboutMe)
Sets the user description. |
void |
setAge(java.lang.Integer age)
|
void |
setBooks(java.lang.String books)
|
void |
setChannelType(java.lang.String channelTypeTerm)
Set channel type of category tag. |
void |
setCompany(java.lang.String company)
|
void |
setDescription(java.lang.String description)
Deprecated. Valid only in version 1. Replaced in version 2.0 with yt:aboutMe for the user self description and atom:summary for the user channel description |
void |
setFirstName(java.lang.String firstname)
Sets the first name of the youtube user |
void |
setGender(YtGender.Value gender)
|
void |
setHobbies(java.lang.String hobbies)
|
void |
setHometown(java.lang.String hometown)
|
void |
setLastName(java.lang.String lastname)
Sets the last name of the youtube user |
void |
setLocation(java.lang.String location)
|
void |
setMovies(java.lang.String movies)
|
void |
setMusic(java.lang.String music)
|
void |
setOccupation(java.lang.String occupation)
|
void |
setRelationship(YtRelationship.Status relationship)
|
void |
setSchool(java.lang.String school)
|
void |
setStatistics(YtUserProfileStatistics ups)
|
void |
setThumbnail(MediaThumbnail thumb)
|
void |
setUsername(java.lang.String name)
Sets the youtube username. |
Methods inherited from class com.google.gdata.data.BaseEntry |
---|
addAdaptor, addHtmlLink, addLink, addLink, delete, generate, generateAtom, generateRss, getAdaptedEntry, getAdaptor, getAdaptors, getAuthors, getCanEdit, getCategories, getContent, getContentHandlerInfo, getContributors, getEdited, getEditLink, getEtag, getHandler, getHtmlLink, getId, getKind, getLink, getLinks, getLinks, getMediaEditLink, 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, setService, 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, validate |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String[] CATEGORIES
Constructor Detail |
---|
public UserProfileEntry()
public UserProfileEntry(BaseEntry<?> base)
Method Detail |
---|
public void setBooks(java.lang.String books)
public java.lang.String getBooks()
public void setAge(java.lang.Integer age)
public java.lang.Integer getAge()
public void setThumbnail(MediaThumbnail thumb)
public MediaThumbnail getThumbnail()
public java.lang.String getCompany()
public void setCompany(java.lang.String company)
public void setGender(YtGender.Value gender)
public YtGender.Value getGender()
public void setHobbies(java.lang.String hobbies)
public java.lang.String getHobbies()
public void setHometown(java.lang.String hometown)
public java.lang.String getHometown()
public void setLocation(java.lang.String location)
public java.lang.String getLocation()
public void setMovies(java.lang.String movies)
public java.lang.String getMovies()
public void setMusic(java.lang.String music)
public java.lang.String getMusic()
public void setOccupation(java.lang.String occupation)
public java.lang.String getOccupation()
public void setRelationship(YtRelationship.Status relationship)
public YtRelationship.Status getRelationship()
public void setSchool(java.lang.String school)
public java.lang.String getSchool()
public java.lang.String getUsername()
public void setUsername(java.lang.String name)
public java.lang.String getFirstName()
public void setFirstName(java.lang.String firstname)
public java.lang.String getLastName()
public void setLastName(java.lang.String lastname)
@Deprecated public java.lang.String getDescription()
@Deprecated public void setDescription(java.lang.String description)
public java.lang.String getAboutMe()
public void setAboutMe(java.lang.String aboutMe)
public YtUserProfileStatistics getStatistics()
public void setStatistics(YtUserProfileStatistics ups)
public java.lang.String getChannelType()
public void setChannelType(java.lang.String channelTypeTerm)
channelTypeTerm
- If null, the channel type category is removed.public java.util.List<FeedLink> getFeedLinks()
FeedLink
s.
public FeedLink<?> getFavoritesFeedLink()
public FeedLink<?> getContactsFeedLink()
public FeedLink<?> getInboxFeedLink()
public FeedLink<?> getPlaylistsFeedLink()
public FeedLink<?> getSubscriptionsFeedLink()
public FeedLink<?> getUploadsFeedLink()
public FeedLink<?> getNewSubscriptionVideosFeedLink()
public FeedLink<?> getFriendsActivityFeedLink()
public FeedLink<?> getRecentActivityFeedLink()
public Link getVideoLogLink()
public Link getFeaturedVideoLink()
public void declareExtensions(ExtensionProfile extProfile)
ExtensionPoint
declareExtensions
in interface Kind.Adaptor
declareExtensions
in class ExtensionPoint
extProfile
- the ExtensionProfile to initialize.ExtensionProfile.addDeclarations(Kind.Adaptor)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |