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 passwordinthashCode()Calculate a hash code for this objectvoidSets the new email address of the uservoidsetFirstName(String firstName) Sets the first name of the UservoidsetLastName(String lastName) Sets the last name of UservoidsetObjectdata(byte[] objectdata) Sets the value of the objectdata for the uservoidsetPassword(String password) Set the passwordMethods inherited from class org.apache.fulcrum.security.model.turbine.entity.impl.AbstractTurbineSecurityEntityImpl
addUserGroupRole, getUserGroupRoleSet, removeUserGroupRole, setUserGroupRoleSetMethods inherited from class org.apache.fulcrum.security.entity.impl.SecurityEntityImpl
equals, getId, getName, setId, setName, toStringMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.apache.fulcrum.security.entity.SecurityEntity
getId, getName, setId, setNameMethods 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:
getPasswordin interfaceUser- Returns:
- the password
-
setPassword
Set the password- Specified by:
setPasswordin interfaceUser- Parameters:
password- the new password
-
getFirstName
Returns the first name of the User- Specified by:
getFirstNamein interfaceExtendedUser- Returns:
- The first name of the User
-
setFirstName
Sets the first name of the User- Specified by:
setFirstNamein interfaceExtendedUser- Parameters:
firstName- The new first name of the User
-
getLastName
Returns the last name of the User- Specified by:
getLastNamein interfaceExtendedUser- Returns:
- The last name of the User
-
setLastName
Sets the last name of User- Specified by:
setLastNamein interfaceExtendedUser- Parameters:
lastName- The new last name of the User
-
getEmail
Returns the email address of the user- Specified by:
getEmailin interfaceExtendedUser- Returns:
- The email address of the user
-
setEmail
Sets the new email address of the user- Specified by:
setEmailin 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:
getObjectdatain 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:
setObjectdatain interfaceExtendedUser- Parameters:
objectdata- The new permanent storage for the user
-
hashCode
public int hashCode()Calculate a hash code for this object- Overrides:
hashCodein classSecurityEntityImpl- See Also:
-