Interface AdminUser
- All Superinterfaces:
AdminSecurityContext
,Serializable
- All Known Implementing Classes:
AdminUserImpl
- Author:
- jfischer
-
Method Summary
Modifier and TypeMethodDescriptionReturns the users active status.getEmail()
Returns a map representing just the key-value pairs inside thegetAdditionalFields()
map.getId()
getLogin()
getName()
The current sandbox associated with this user.Returns the users phone number.void
setActiveStatusFlag
(Boolean activeStatus) Sets the users active status.void
setAdditionalFields
(Map<String, AdminUserAttribute> additionalFields) void
setAllPermissions
(Set<AdminPermission> allPermissions) void
setAllRoles
(Set<AdminRole> allRoles) void
void
void
setLastUsedSandBoxId
(Long sandBoxId) Sets the last used sandbox for this admin uservoid
void
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 Details
-
getId
Long getId() -
setId
-
getName
String getName() -
setName
-
getLogin
String getLogin() -
setLogin
-
getPassword
String getPassword() -
setPassword
-
getEmail
String getEmail() -
setEmail
-
getAllRoles
- Specified by:
getAllRoles
in interfaceAdminSecurityContext
-
setAllRoles
- Specified by:
setAllRoles
in interfaceAdminSecurityContext
-
getUnencodedPassword
String getUnencodedPassword() -
setUnencodedPassword
-
getPhoneNumber
String getPhoneNumber()Returns the users phone number.- Returns:
-
setPhoneNumber
Stores the user's phone number.- Parameters:
phone
-
-
getActiveStatusFlag
Boolean getActiveStatusFlag()Returns the users active status. A user whose active status is set to false will not be able to login.- Returns:
-
setActiveStatusFlag
Sets the users active status. A user whose active status is set to false will not be able to login.- Parameters:
activeStatus
-
-
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
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 interfaceAdminSecurityContext
-
setAllPermissions
- Specified by:
setAllPermissions
in interfaceAdminSecurityContext
-
getFlatAdditionalFields
Returns a map representing just the key-value pairs inside thegetAdditionalFields()
map.- Returns:
- the collapsed map
-
getAdditionalFields
Map<String,AdminUserAttribute> getAdditionalFields() -
setAdditionalFields
-
getLastUsedSandBoxId
Long getLastUsedSandBoxId()- Returns:
- the id of the last sandbox this admin user used
-
setLastUsedSandBoxId
Sets the last used sandbox for this admin user- Parameters:
sandBoxId
-
-