Package ch.tocco.nice2.usermanager.api
Interface LoginRoleActionService
- All Known Implementing Classes:
LoginRoleActionServiceImpl
public interface LoginRoleActionService
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic class
static class
static class
static class
-
Method Summary
Modifier and TypeMethodDescriptiongetLoginRoles
(EntityExplorerActionSelection selection) Deprecated.getLoginRolesForPrincipal
(Entity principal) getRoles()
Returns allLoginRoleActionService.Role
s manageable to the currently logged-inPrincipal
, taking theLoginRoleActionService.Role
's optionally setBusinessUnit
and thePrincipal
'sloginmanager
assignment the availableBusinessUnit
s into account.void
setChangedLoginRoles
(EntityExplorerActionSelection selection, LoginRoleActionService.LoginRoleUpdate[] updates) Deprecated.void
setChangedLoginRolesForPrincipal
(Entity principal, LoginRoleActionService.LoginRoleUpdate[] updates)
-
Method Details
-
getBusinessUnits
List<LoginRoleActionService.KeyLabelEntityDisplay> getBusinessUnits() -
getRoles
List<LoginRoleActionService.Role> getRoles()Returns allLoginRoleActionService.Role
s manageable to the currently logged-inPrincipal
, taking theLoginRoleActionService.Role
's optionally setBusinessUnit
and thePrincipal
'sloginmanager
assignment the availableBusinessUnit
s into account.- Returns:
- the list of manageable
LoginRoleActionService.Role
-
getLoginRoles
@Deprecated List<LoginRoleActionService.LoginRole> getLoginRoles(EntityExplorerActionSelection selection) Deprecated. -
getLoginRolesForPrincipal
-
setChangedLoginRoles
@Deprecated void setChangedLoginRoles(EntityExplorerActionSelection selection, LoginRoleActionService.LoginRoleUpdate[] updates) throws InterruptedException Deprecated.- Throws:
InterruptedException
-
setChangedLoginRolesForPrincipal
void setChangedLoginRolesForPrincipal(Entity principal, LoginRoleActionService.LoginRoleUpdate[] updates)
-