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
public class TurbineUserImpl extends AbstractTurbineSecurityEntityImpl implements TurbineUser
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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description TurbineUserImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetEmail()Returns the email address of the userStringgetFirstName()Returns the first name of the UserStringgetLastName()Returns the last name of the Userbyte[]getObjectdata()Returns the value of the objectdata for this user.StringgetPassword()Get the passwordinthashCode()Calculate a hash code for this objectvoidsetEmail(String email)Sets 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 password-
Methods 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
-
-
-
-
Method Detail
-
getPassword
public String getPassword()
Get the password- Specified by:
getPasswordin interfaceUser- Returns:
- the password
-
setPassword
public void setPassword(String password)
Set the password- Specified by:
setPasswordin interfaceUser- Parameters:
password- the new password
-
getFirstName
public String getFirstName()
Returns the first name of the User- Specified by:
getFirstNamein interfaceExtendedUser- Returns:
- The first name of the User
-
setFirstName
public void setFirstName(String firstName)
Sets the first name of the User- Specified by:
setFirstNamein interfaceExtendedUser- Parameters:
firstName- The new first name of the User
-
getLastName
public String getLastName()
Returns the last name of the User- Specified by:
getLastNamein interfaceExtendedUser- Returns:
- The last name of the User
-
setLastName
public void setLastName(String lastName)
Sets the last name of User- Specified by:
setLastNamein interfaceExtendedUser- Parameters:
lastName- The new last name of the User
-
getEmail
public String getEmail()
Returns the email address of the user- Specified by:
getEmailin interfaceExtendedUser- Returns:
- The email address of the user
-
setEmail
public void setEmail(String email)
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:
SecurityEntityImpl.hashCode()
-
-