org.broadleafcommerce.openadmin.server.security.domain
Interface AdminUser

All Superinterfaces:
AdminSecurityContext, Serializable
All Known Implementing Classes:
AdminUserImpl

public interface AdminUser
extends AdminSecurityContext

Author:
jfischer

Method Summary
 AdminUser clone()
           
 Boolean getActiveStatusFlag()
          Returns the users active status.
 Set<AdminPermission> getAllPermissions()
           
 Set<AdminRole> getAllRoles()
           
 String getEmail()
           
 Long getId()
           
 String getLogin()
           
 String getName()
           
 SandBox getOverrideSandBox()
          The current sandbox associated with this user.
 String getPassword()
           
 String getPhoneNumber()
          Returns the users phone number.
 String getUnencodedPassword()
           
 void setActiveStatusFlag(Boolean activeStatus)
          Sets the users active status.
 void setAllPermissions(Set<AdminPermission> allPermissions)
           
 void setAllRoles(Set<AdminRole> allRoles)
           
 void setEmail(String email)
           
 void setId(Long id)
           
 void setLogin(String login)
           
 void setName(String name)
           
 void setOverrideSandBox(SandBox sandbox)
          Overrides the user's sandbox.
 void setPassword(String password)
           
 void setPhoneNumber(String phone)
          Stores the user's phone number.
 void setUnencodedPassword(String unencodedPassword)
           
 
Methods inherited from interface org.broadleafcommerce.openadmin.server.security.domain.AdminSecurityContext
getContextKey, getContextType, setContextKey, setContextType
 

Method Detail

getId

Long getId()

setId

void setId(Long id)

getName

String getName()

setName

void setName(String name)

getLogin

String getLogin()

setLogin

void setLogin(String login)

getPassword

String getPassword()

setPassword

void setPassword(String password)

getEmail

String getEmail()

setEmail

void setEmail(String email)

getAllRoles

Set<AdminRole> getAllRoles()
Specified by:
getAllRoles in interface AdminSecurityContext

setAllRoles

void setAllRoles(Set<AdminRole> allRoles)
Specified by:
setAllRoles in interface AdminSecurityContext

getUnencodedPassword

String getUnencodedPassword()

setUnencodedPassword

void setUnencodedPassword(String unencodedPassword)

setPhoneNumber

void setPhoneNumber(String phone)
Stores the user's phone number.

Parameters:
phone -

getPhoneNumber

String getPhoneNumber()
Returns the users phone number.

Returns:

setActiveStatusFlag

void setActiveStatusFlag(Boolean activeStatus)
Sets the users active status. A user whose active status is set to false will not be able to login.

Parameters:
activeStatus -

getActiveStatusFlag

Boolean getActiveStatusFlag()
Returns the users active status. A user whose active status is set to false will not be able to login.

Returns:

getOverrideSandBox

SandBox getOverrideSandBox()
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.

Returns:

setOverrideSandBox

void setOverrideSandBox(SandBox sandbox)
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.

Parameters:
sandbox -

getAllPermissions

Set<AdminPermission> getAllPermissions()
Specified by:
getAllPermissions in interface AdminSecurityContext

setAllPermissions

void setAllPermissions(Set<AdminPermission> allPermissions)
Specified by:
setAllPermissions in interface AdminSecurityContext

clone

AdminUser clone()


Copyright © 2013. All Rights Reserved.