Class TurbineUserImpl
java.lang.Object
org.apache.fulcrum.security.entity.impl.SecurityEntityImpl
org.apache.fulcrum.security.model.turbine.entity.impl.AbstractTurbineSecurityEntityImpl
org.apache.fulcrum.security.model.turbine.entity.impl.TurbineUserImpl
- All Implemented Interfaces:
Serializable
,ExtendedUser
,SecurityEntity
,User
,TurbineUser
,TurbineUserGroupRoleEntity
Represents the "turbine" model where permissions are in a many to many
relationship to roles, roles are related to groups are related to users, all
in many to many relationships.
- Version:
- $Id: TurbineUser.java 437451 2006-08-27 20:20:44Z tv $
- Author:
- Eric Pugh
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetEmail()
Returns the email address of the userReturns the first name of the UserReturns the last name of the Userbyte[]
Returns the value of the objectdata for this user.Get the passwordint
hashCode()
Calculate a hash code for this objectvoid
Sets the new email address of the uservoid
setFirstName
(String firstName) Sets the first name of the Uservoid
setLastName
(String lastName) Sets the last name of Uservoid
setObjectdata
(byte[] objectdata) Sets the value of the objectdata for the uservoid
setPassword
(String password) Set the passwordMethods inherited from class org.apache.fulcrum.security.model.turbine.entity.impl.AbstractTurbineSecurityEntityImpl
addUserGroupRole, getUserGroupRoleSet, removeUserGroupRole, setUserGroupRoleSet
Methods inherited from class org.apache.fulcrum.security.entity.impl.SecurityEntityImpl
equals, getId, getName, setId, setName, toString
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.apache.fulcrum.security.entity.SecurityEntity
getId, getName, setId, setName
Methods inherited from interface org.apache.fulcrum.security.model.turbine.entity.TurbineUserGroupRoleEntity
addUserGroupRole, getUserGroupRoleSet, removeUserGroupRole, setUserGroupRoleSet
-
Constructor Details
-
TurbineUserImpl
public TurbineUserImpl()
-
-
Method Details
-
getPassword
Get the password- Specified by:
getPassword
in interfaceUser
- Returns:
- the password
-
setPassword
Set the password- Specified by:
setPassword
in interfaceUser
- Parameters:
password
- the new password
-
getFirstName
Returns the first name of the User- Specified by:
getFirstName
in interfaceExtendedUser
- Returns:
- The first name of the User
-
setFirstName
Sets the first name of the User- Specified by:
setFirstName
in interfaceExtendedUser
- Parameters:
firstName
- The new first name of the User
-
getLastName
Returns the last name of the User- Specified by:
getLastName
in interfaceExtendedUser
- Returns:
- The last name of the User
-
setLastName
Sets the last name of User- Specified by:
setLastName
in interfaceExtendedUser
- Parameters:
lastName
- The new last name of the User
-
getEmail
Returns the email address of the user- Specified by:
getEmail
in interfaceExtendedUser
- Returns:
- The email address of the user
-
setEmail
Sets the new email address of the user- Specified by:
setEmail
in interfaceExtendedUser
- Parameters:
email
- The new email address of the user
-
getObjectdata
public 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.- Specified by:
getObjectdata
in interfaceExtendedUser
- Returns:
- The bytes in the objectdata for this user
-
setObjectdata
public void setObjectdata(byte[] objectdata) Sets the value of the objectdata for the user- Specified by:
setObjectdata
in interfaceExtendedUser
- Parameters:
objectdata
- The new permanent storage for the user
-
hashCode
public int hashCode()Calculate a hash code for this object- Overrides:
hashCode
in classSecurityEntityImpl
- See Also:
-