org.broadleafcommerce.openadmin.server.security.domain
Class AdminUserImpl

java.lang.Object
  extended by org.broadleafcommerce.openadmin.server.security.domain.AdminUserImpl
All Implemented Interfaces:
java.io.Serializable, AdminUser

@Entity
public class AdminUserImpl
extends java.lang.Object
implements AdminUser

Author:
jfischer
See Also:
Serialized Form

Field Summary
protected  java.util.Set<AdminRole> allRoles
          All roles that this user has
protected  java.lang.String email
           
protected  java.lang.String login
           
protected  java.lang.String name
           
protected  SandBox overrideSandBox
           
protected  java.lang.String password
           
protected  java.lang.String unencodedPassword
           
 
Constructor Summary
AdminUserImpl()
           
 
Method Summary
 java.util.Set<AdminRole> getAllRoles()
           
 java.lang.String getEmail()
           
 java.lang.Long getId()
           
 java.lang.String getLogin()
           
 java.lang.String getName()
           
 SandBox getOverrideSandBox()
          The current sandbox associated with this user.
 java.lang.String getPassword()
           
 java.lang.String getUnencodedPassword()
           
 void setAllRoles(java.util.Set<AdminRole> allRoles)
           
 void setEmail(java.lang.String email)
           
 void setId(java.lang.Long id)
           
 void setLogin(java.lang.String login)
           
 void setName(java.lang.String name)
           
 void setOverrideSandBox(SandBox overrideSandBox)
          Overrides the user's sandbox.
 void setPassword(java.lang.String password)
           
 void setUnencodedPassword(java.lang.String unencodedPassword)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

name

protected java.lang.String name

login

protected java.lang.String login

password

protected java.lang.String password

email

protected java.lang.String email

allRoles

protected java.util.Set<AdminRole> allRoles
All roles that this user has


unencodedPassword

protected java.lang.String unencodedPassword

overrideSandBox

protected SandBox overrideSandBox
Constructor Detail

AdminUserImpl

public AdminUserImpl()
Method Detail

getUnencodedPassword

public java.lang.String getUnencodedPassword()
Specified by:
getUnencodedPassword in interface AdminUser

setUnencodedPassword

public void setUnencodedPassword(java.lang.String unencodedPassword)
Specified by:
setUnencodedPassword in interface AdminUser

getId

public java.lang.Long getId()
Specified by:
getId in interface AdminUser

setId

public void setId(java.lang.Long id)

getName

public java.lang.String getName()
Specified by:
getName in interface AdminUser

setName

public void setName(java.lang.String name)
Specified by:
setName in interface AdminUser

getLogin

public java.lang.String getLogin()
Specified by:
getLogin in interface AdminUser

setLogin

public void setLogin(java.lang.String login)
Specified by:
setLogin in interface AdminUser

getPassword

public java.lang.String getPassword()
Specified by:
getPassword in interface AdminUser

setPassword

public void setPassword(java.lang.String password)
Specified by:
setPassword in interface AdminUser

getEmail

public java.lang.String getEmail()
Specified by:
getEmail in interface AdminUser

setEmail

public void setEmail(java.lang.String email)
Specified by:
setEmail in interface AdminUser

getAllRoles

public java.util.Set<AdminRole> getAllRoles()
Specified by:
getAllRoles in interface AdminUser

setAllRoles

public void setAllRoles(java.util.Set<AdminRole> allRoles)
Specified by:
setAllRoles in interface AdminUser

getOverrideSandBox

public SandBox getOverrideSandBox()
Description copied from interface: AdminUser
The current sandbox associated with this user. This is primarily intended to be used by the BLC-CMS workflow processes. If null, the user is using their own SandBox.

Specified by:
getOverrideSandBox in interface AdminUser
Returns:

setOverrideSandBox

public void setOverrideSandBox(SandBox overrideSandBox)
Description copied from interface: AdminUser
Overrides the user's sandbox. This could be used to setup shared sandboxes. Setting to null will mean that the user is setup to use the sandbox associated with their user.

Specified by:
setOverrideSandBox in interface AdminUser


Copyright © 2011. All Rights Reserved.