Interface ExtendedUser
- All Superinterfaces:
SecurityEntity,Serializable,User
- All Known Subinterfaces:
TurbineUser
- All Known Implementing Classes:
TurbineUserImpl
This interface represents the extended functionality of a user.
- Version:
- $Id: User.java 1374616 2012-08-18 17:26:07Z tv $
- Author:
- Thomas Vandahl
-
Method Summary
Modifier and TypeMethodDescriptiongetEmail()Returns the email address for this user.Returns the first name for this user.Returns the last name for this user.byte[]Returns the value of the objectdata for this user.voidSets the email address.voidsetFirstName(String firstName) Sets the first name for this user.voidsetLastName(String lastName) Sets the last name for this user.voidsetObjectdata(byte[] objectdata) Sets the value of the objectdata for the userMethods inherited from interface org.apache.fulcrum.security.entity.SecurityEntity
getId, getName, setId, setNameMethods inherited from interface org.apache.fulcrum.security.entity.User
getPassword, setPassword
-
Method Details
-
getFirstName
String getFirstName()Returns the first name for this user.- Returns:
- A String with the user's first name.
-
getLastName
String getLastName()Returns the last name for this user.- Returns:
- A String with the user's last name.
-
getEmail
String getEmail()Returns the email address for this user.- Returns:
- A String with the user's email address.
-
setFirstName
Sets the first name for this user.- Parameters:
firstName- User's first name.
-
setLastName
Sets the last name for this user.- Parameters:
lastName- User's last name.
-
setEmail
Sets the email address.- Parameters:
address- The email address.
-
getObjectdata
byte[] getObjectdata()Returns the value of the objectdata for this user. Objectdata is a storage area used to store the permanent storage table from the User object.- Returns:
- The bytes in the objectdata for this user
-
setObjectdata
void setObjectdata(byte[] objectdata) Sets the value of the objectdata for the user- Parameters:
objectdata- The new permanent storage for the user
-