Interface ExtendedUser
-
- All Superinterfaces:
SecurityEntity
,Serializable
,User
- All Known Subinterfaces:
TurbineUser
- All Known Implementing Classes:
TorqueTurbineUser
,TurbineUser
,TurbineUserImpl
public interface ExtendedUser extends User
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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getEmail()
Returns the email address for this user.String
getFirstName()
Returns the first name for this user.String
getLastName()
Returns the last name for this user.byte[]
getObjectdata()
Returns the value of the objectdata for this user.void
setEmail(String address)
Sets the email address.void
setFirstName(String firstName)
Sets the first name for this user.void
setLastName(String lastName)
Sets the last name for this user.void
setObjectdata(byte[] objectdata)
Sets the value of the objectdata for the user-
Methods inherited from interface org.apache.fulcrum.security.entity.SecurityEntity
getId, getName, setId, setName
-
Methods inherited from interface org.apache.fulcrum.security.entity.User
getPassword, setPassword
-
-
-
-
Method Detail
-
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
void setFirstName(String firstName)
Sets the first name for this user.- Parameters:
firstName
- User's first name.
-
setLastName
void setLastName(String lastName)
Sets the last name for this user.- Parameters:
lastName
- User's last name.
-
setEmail
void setEmail(String address)
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
-
-