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

All Superinterfaces:
Serializable
All Known Implementing Classes:
AdminUserImpl

public interface AdminUser
extends Serializable

Author:
jfischer

Method Summary
 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 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)
           
 

Method Detail

getId

Long getId()

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()

setAllRoles

void setAllRoles(Set<AdminRole> allRoles)

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()

setAllPermissions

void setAllPermissions(Set<AdminPermission> allPermissions)


Copyright © 2013. All Rights Reserved.