public class UserProfileEntry extends BaseEntry<UserProfileEntry>
BaseEntry.AtomHandler, BaseEntry.EntryStateExtensionPoint.CumulativeBlobHandler, ExtensionPoint.ExtensionHandlerAbstractExtension.AttributesHandler| Modifier and Type | Field and Description |
|---|---|
static String[] |
CATEGORIES
Nonstandard categories that might be found in this entry.
|
xmlBloblocalName, namespace| Constructor and Description |
|---|
UserProfileEntry() |
UserProfileEntry(BaseEntry<?> base) |
| Modifier and Type | Method and Description |
|---|---|
void |
declareExtensions(ExtensionProfile extProfile)
Declares the set of expected Extension types for an ExtensionPoint within
the target extension profile.
|
String |
getAboutMe()
Gets the user description.
|
Integer |
getAge() |
String |
getBooks() |
String |
getChannelType()
Returns the term of the channel type category.
|
String |
getCompany() |
FeedLink<?> |
getContactsFeedLink()
Returns a link to the user contacts (friends) feed.
|
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.
|
List<FeedLink> |
getFeedLinks()
Returns a modifiable list of
FeedLinks. |
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() |
String |
getHobbies() |
String |
getHometown() |
FeedLink<?> |
getInboxFeedLink()
Returns a link to the user inbox feed.
|
String |
getLastName()
Gets the last name of the youtube user
|
String |
getLocation() |
String |
getMovies() |
String |
getMusic() |
FeedLink<?> |
getNewSubscriptionVideosFeedLink()
Returns a link to the user's new subscription videos feed.
|
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() |
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.
|
String |
getUsername()
Gets the youtube username.
|
Link |
getVideoLogLink()
Returns a link to the playlist defined by the user as video log.
|
void |
setAboutMe(String aboutMe)
Sets the user description.
|
void |
setAge(Integer age) |
void |
setBooks(String books) |
void |
setChannelType(String channelTypeTerm)
Set channel type of category tag.
|
void |
setCompany(String company) |
void |
setDescription(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(String firstname)
Sets the first name of the youtube user
|
void |
setGender(YtGender.Value gender) |
void |
setHobbies(String hobbies) |
void |
setHometown(String hometown) |
void |
setLastName(String lastname)
Sets the last name of the youtube user
|
void |
setLocation(String location) |
void |
setMovies(String movies) |
void |
setMusic(String music) |
void |
setOccupation(String occupation) |
void |
setRelationship(YtRelationship.Status relationship) |
void |
setSchool(String school) |
void |
setStatistics(YtUserProfileStatistics ups) |
void |
setThumbnail(MediaThumbnail thumb) |
void |
setUsername(String name)
Sets the youtube username.
|
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, 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, throwExceptionIfImmutable, validatepublic static final String[] CATEGORIES
public UserProfileEntry()
public UserProfileEntry(BaseEntry<?> base)
public void setBooks(String books)
public String getBooks()
public void setAge(Integer age)
public Integer getAge()
public void setThumbnail(MediaThumbnail thumb)
public MediaThumbnail getThumbnail()
public String getCompany()
public void setCompany(String company)
public void setGender(YtGender.Value gender)
public YtGender.Value getGender()
public void setHobbies(String hobbies)
public String getHobbies()
public void setHometown(String hometown)
public String getHometown()
public void setLocation(String location)
public String getLocation()
public void setMovies(String movies)
public String getMovies()
public void setMusic(String music)
public String getMusic()
public void setOccupation(String occupation)
public String getOccupation()
public void setRelationship(YtRelationship.Status relationship)
public YtRelationship.Status getRelationship()
public void setSchool(String school)
public String getSchool()
public String getUsername()
public void setUsername(String name)
public String getFirstName()
public void setFirstName(String firstname)
public String getLastName()
public void setLastName(String lastname)
@Deprecated public String getDescription()
@Deprecated public void setDescription(String description)
public String getAboutMe()
public void setAboutMe(String aboutMe)
public YtUserProfileStatistics getStatistics()
public void setStatistics(YtUserProfileStatistics ups)
public String getChannelType()
public void setChannelType(String channelTypeTerm)
channelTypeTerm - If null, the channel type category is removed.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)
ExtensionPointdeclareExtensions in interface Kind.AdaptordeclareExtensions in class ExtensionPointextProfile - the ExtensionProfile to initialize.ExtensionProfile.addDeclarations(Kind.Adaptor)Copyright © 2012. All Rights Reserved.