public class

UserProfileEntry

extends BaseEntry<E extends BaseEntry>
java.lang.Object
   ↳ com.google.gdata.data.AbstractExtension
     ↳ com.google.gdata.data.ExtensionPoint
       ↳ com.google.gdata.data.BaseEntry<E extends com.google.gdata.data.BaseEntry>
         ↳ com.google.gdata.data.youtube.UserProfileEntry

Class Overview

An atom entry containing a user profile.

Summary

Fields
public static final String[] CATEGORIES Nonstandard categories that might be found in this entry.
[Expand]
Inherited Fields
From class com.google.gdata.data.BaseEntry
From class com.google.gdata.data.ExtensionPoint
From class com.google.gdata.data.AbstractExtension
Public Constructors
UserProfileEntry()
UserProfileEntry(BaseEntry<?> base)
Public Methods
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()
This method is 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)
This method is 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.
[Expand]
Inherited Methods
From class com.google.gdata.data.BaseEntry
From class com.google.gdata.data.ExtensionPoint
From class com.google.gdata.data.AbstractExtension
From class java.lang.Object
From interface com.google.gdata.data.Extension
From interface com.google.gdata.data.IAtom
From interface com.google.gdata.data.IEntry
From interface com.google.gdata.data.Kind.Adaptable
From interface com.google.gdata.data.Kind.Adaptor

Fields

public static final String[] CATEGORIES

Nonstandard categories that might be found in this entry.

Public Constructors

public UserProfileEntry ()

public UserProfileEntry (BaseEntry<?> base)

Parameters
base

Public Methods

public void declareExtensions (ExtensionProfile extProfile)

Declares the set of expected Extension types for an ExtensionPoint within the target extension profile. The base implementation does not declare any extensions, but can be overridden by specific types of ExtensionPoints that always contain a well-defined set of extensions.

Parameters
extProfile The ExtensionProfile to initialize.

public String getAboutMe ()

Gets the user description.

public Integer getAge ()

public String getBooks ()

public String getChannelType ()

Returns the term of the channel type category. If no category with scheme channel type is found, null is returned.

Returns
  • term of the category with the channel type scheme.

public String getCompany ()

public FeedLink<?> getContactsFeedLink ()

Returns a link to the user contacts (friends) feed.

public String getDescription ()

This method is 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

Gets the channel description.

public FeedLink<?> getFavoritesFeedLink ()

Returns a link to the user favorites feed.

public Link getFeaturedVideoLink ()

Returns a link to the featured video of the user's profile.

public List<FeedLink> getFeedLinks ()

Returns a modifiable list of FeedLinks.

public String getFirstName ()

Gets the first name of the youtube user

public FeedLink<?> getFriendsActivityFeedLink ()

Returns a link to the user's friends activity feed.

public YtGender.Value getGender ()

public String getHobbies ()

public String getHometown ()

public FeedLink<?> getInboxFeedLink ()

Returns a link to the user inbox feed.

public String getLastName ()

Gets the last name of the youtube user

public String getLocation ()

public String getMovies ()

public String getMusic ()

public FeedLink<?> getNewSubscriptionVideosFeedLink ()

Returns a link to the user's new subscription videos feed.

public String getOccupation ()

public FeedLink<?> getPlaylistsFeedLink ()

Returns a link to the user playlists feed.

public FeedLink<?> getRecentActivityFeedLink ()

Returns a link to the user's recent activity feed.

public YtRelationship.Status getRelationship ()

public String getSchool ()

public YtUserProfileStatistics getStatistics ()

public FeedLink<?> getSubscriptionsFeedLink ()

Returns a link to the users subscriptions feed.

public MediaThumbnail getThumbnail ()

public FeedLink<?> getUploadsFeedLink ()

Returns a link to the user uploads feed.

public String getUsername ()

Gets the youtube username.

public Link getVideoLogLink ()

Returns a link to the playlist defined by the user as video log.

public void setAboutMe (String aboutMe)

Sets the user description.

Parameters
aboutMe

public void setAge (Integer age)

Parameters
age

public void setBooks (String books)

Parameters
books

public void setChannelType (String channelTypeTerm)

Set channel type of category tag.

Parameters
channelTypeTerm If null, the channel type category is removed.

public void setCompany (String company)

Parameters
company

public void setDescription (String description)

This method is 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

Sets the channel description.

Parameters
description

public void setFirstName (String firstname)

Sets the first name of the youtube user

Parameters
firstname

public void setGender (YtGender.Value gender)

Parameters
gender

public void setHobbies (String hobbies)

Parameters
hobbies

public void setHometown (String hometown)

Parameters
hometown

public void setLastName (String lastname)

Sets the last name of the youtube user

Parameters
lastname

public void setLocation (String location)

Parameters
location

public void setMovies (String movies)

Parameters
movies

public void setMusic (String music)

Parameters
music

public void setOccupation (String occupation)

Parameters
occupation

public void setRelationship (YtRelationship.Status relationship)

Parameters
relationship

public void setSchool (String school)

Parameters
school

public void setStatistics (YtUserProfileStatistics ups)

Parameters
ups

public void setThumbnail (MediaThumbnail thumb)

Parameters
thumb

public void setUsername (String name)

Sets the youtube username.

Parameters
name