public interface RoleService
Modifier and Type | Method and Description |
---|---|
void |
addRoleName(RoleUnitName roleName)
Adds a role name with all parameter names present in
roleName to the application. |
RoleUnitNameList |
findRoleNames()
Returns a collection of all role names that exist in the persistent storage (across all
modules).
|
RoleUnitName |
getRoleName(String roleName)
Returns a role name for the given role name or null if not found.
|
void |
updateRoleName(RoleUnitName roleName)
Updates a role name in the application.
|
RoleUnitName getRoleName(String roleName)
roleName
- role name (module name + '::' + local name)RoleUnitNameList findRoleNames()
void addRoleName(RoleUnitName roleName) throws RoleAlreadyExistsException
roleName
to the application.roleName
- NullPointerException
- if roleName
is nullRoleAlreadyExistsException
- if a role name with the same name already existsvoid updateRoleName(RoleUnitName roleName) throws RoleNotFoundException
roleName
- NullPointerException
- if roleName
is nullRoleNotFoundException
- if no corresponding role existsCopyright © 2007-2020 Whitestein Technologies. All Rights Reserved.