public class UserProfileEntry extends BaseEntry<UserProfileEntry>
BaseEntry.AtomHandler
ExtensionPoint.CumulativeBlobHandler, ExtensionPoint.ExtensionHandler
Modifier and Type | Field and Description |
---|---|
static java.lang.String[] |
CATEGORIES
Nonstandard categories that might be found in this entry.
|
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.
|
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.
|
addAdaptor, addHtmlLink, addLink, addLink, delete, generate, generateAtom, generateRss, getAdaptedEntry, getAdaptor, getAdaptors, getAuthors, getCanEdit, getCategories, getContent, 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
addExtension, addRepeatingExtension, generateCumulativeXmlBlob, getExtension, getExtensions, getRepeatingExtension, getRepeatingExtensions, getXmlBlob, hasExtension, hasRepeatingExtension, parseCumulativeXmlBlob, removeExtension, removeExtension, removeRepeatingExtension, setExtension, setXmlBlob, visit
disableStrictValidation, enableStrictValidation, getExtensionLocalName, getExtensionNamespace, isImmutable, isStrictValidation, setImmutable
public static final java.lang.String[] CATEGORIES
public UserProfileEntry()
public UserProfileEntry(BaseEntry<?> base)
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 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)