org.apache.jetspeed.portal
Interface UserProfile


public interface UserProfile

The UserProfile interface is an abstract view on the user-specific data. Apart from a set of pre-defined, fixed set of attributes, the interface gives access to dynamic attributes as well.


Method Summary
 java.lang.String getAddressLine1()
          Returns the first address line.
 java.lang.String getAddressLine2()
          Returns the second address line.
 java.lang.Object getAttribute(java.lang.String aName)
          Returns the value of the attribute with the given name.
 java.util.Enumeration getAttributeNames()
          Returns an enumeration of the names of all (dynamic) attributes that this user has.
 java.lang.String getCity()
          Returns the city of the user.
 java.lang.String getCountry()
          Returns the country of the user.
 java.lang.String getFamilyName()
          Returns the family (aka last) name of the user.
 java.lang.String getGivenName()
          Returns the given (aka first) name of the user.
 java.lang.String getMiddleNames()
          Returns the middle names of the user.
 java.lang.String getNickName()
          Returns the nick name of the user.
 java.lang.String getState()
          Returns the state of the user.
 java.lang.String getZipCode()
          Returns the zip code of the user.
 

Method Detail

getAttribute

public java.lang.Object getAttribute(java.lang.String aName)
Returns the value of the attribute with the given name.
Parameters:
aName - the name of the attribute
Returns:
the attribute value

getAttributeNames

public java.util.Enumeration getAttributeNames()
Returns an enumeration of the names of all (dynamic) attributes that this user has.
Returns:
an enumeration

getGivenName

public java.lang.String getGivenName()
Returns the given (aka first) name of the user.
Returns:
the given name

getMiddleNames

public java.lang.String getMiddleNames()
Returns the middle names of the user.
Returns:
the middle names

getFamilyName

public java.lang.String getFamilyName()
Returns the family (aka last) name of the user.
Returns:
the family name

getNickName

public java.lang.String getNickName()
Returns the nick name of the user.
Returns:
the nick name

getAddressLine1

public java.lang.String getAddressLine1()
Returns the first address line.
Returns:
the first address line

getAddressLine2

public java.lang.String getAddressLine2()
Returns the second address line.
Returns:
the second address line

getCity

public java.lang.String getCity()
Returns the city of the user.
Returns:
the city

getZipCode

public java.lang.String getZipCode()
Returns the zip code of the user.
Returns:
the zip code

getState

public java.lang.String getState()
Returns the state of the user.
Returns:
the state

getCountry

public java.lang.String getCountry()
Returns the country of the user.
Returns:
the country