Package ch.tocco.nice2.usermanager.api
Interface LoginRoleActionService
- All Known Implementing Classes:
LoginRoleActionServiceImpl
public interface LoginRoleActionService
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic classstatic classstatic classstatic class -
Method Summary
Modifier and TypeMethodDescriptiongetLoginRoles(EntityExplorerActionSelection selection) Deprecated.getLoginRolesForPrincipal(Entity principal) getRoles()Returns allLoginRoleActionService.Roles manageable to the currently logged-inPrincipal, taking theLoginRoleActionService.Role's optionally setBusinessUnitand thePrincipal'sloginmanagerassignment the availableBusinessUnits into account.voidsetChangedLoginRoles(EntityExplorerActionSelection selection, LoginRoleActionService.LoginRoleUpdate[] updates) Deprecated.voidsetChangedLoginRolesForPrincipal(Entity principal, LoginRoleActionService.LoginRoleUpdate[] updates)
-
Method Details
-
getBusinessUnits
List<LoginRoleActionService.KeyLabelEntityDisplay> getBusinessUnits() -
getRoles
List<LoginRoleActionService.Role> getRoles()Returns allLoginRoleActionService.Roles manageable to the currently logged-inPrincipal, taking theLoginRoleActionService.Role's optionally setBusinessUnitand thePrincipal'sloginmanagerassignment the availableBusinessUnits 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)
-