public abstract class PermissionsHelperBase extends PermissionsHelperBase
| Modifier and Type | Field and Description |
|---|---|
protected static String |
AGGREGATOR_NAME |
protected Map<String,String> |
displayNameMap
Stores mapping of role names to display names.
|
protected Collection<String> |
excludeRoles |
protected ProtocolFormBase |
form
Each Helper must contain a reference to its document form
so that it can access the document.
|
protected static String |
UNASSIGNED_NAME |
protected static String |
VIEWER_NAME |
| Constructor and Description |
|---|
PermissionsHelperBase(ProtocolFormBase form,
String roleType)
Constructs a PermissionsHelperBase.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
addNonDerivedRoles(List<org.kuali.rice.core.api.util.KeyValue> keyValues) |
protected abstract void |
buildDisplayNameMap() |
protected void |
buildRoles(String roleType) |
protected List<KcPerson> |
getPersonsInRole(String roleName)
Get the persons in a role.
|
protected ProtocolBase |
getProtocol() |
protected String |
getRoleDisplayName(String roleName)
Get the role's display name.
|
List<org.kuali.rice.core.api.util.KeyValue> |
getRoleSelection()
Get list of roles to display in the drop-down menu in the Users
panel of the Permissions web page.
|
String |
getRoleType() |
protected SystemAuthorizationService |
getSystemAuthorizationService() |
String |
getUnassignedRoleName()
Get the name of the unassigned role.
|
protected abstract void |
initExcludedRolesHook()
This method initializes excluded role names within the namespace that should not be assignable
in the permissions page.
|
addNewUser, canModifyPermissions, getAssignedRoles, getEditRoles, getKcPersonService, getKimPermissionService, getKimRoles, getModifyPermissions, getNewUser, getNormalRoles, getRole, getRoles, getSortedKimRoles, getTaskAuthorizationService, getUnassignedRoleDisplayName, getUserIdentifier, getUsers, getUserState, getUserStates, isStandardRoleName, prepareView, resetUserStates, setRoles, setUserEditRolesprotected static final String AGGREGATOR_NAME
protected static final String VIEWER_NAME
protected static final String UNASSIGNED_NAME
protected Collection<String> excludeRoles
protected ProtocolFormBase form
public PermissionsHelperBase(ProtocolFormBase form, String roleType)
form - the formprotected abstract void initExcludedRolesHook()
protected abstract void buildDisplayNameMap()
public List<org.kuali.rice.core.api.util.KeyValue> getRoleSelection()
PermissionsHelperBasegetRoleSelection in class PermissionsHelperBaseprotected void addNonDerivedRoles(List<org.kuali.rice.core.api.util.KeyValue> keyValues)
protected SystemAuthorizationService getSystemAuthorizationService()
protected ProtocolBase getProtocol()
public String getUnassignedRoleName()
PermissionsHelperBasegetUnassignedRoleName in class PermissionsHelperBasePermissionsHelperBase.getUnassignedRoleName()protected String getRoleDisplayName(String roleName)
PermissionsHelperBasegetRoleDisplayName in class PermissionsHelperBaseroleName - the name of the rolePermissionsHelperBase.getRoleDisplayName(java.lang.String)protected void buildRoles(String roleType)
buildRoles in class PermissionsHelperBaseprotected List<KcPerson> getPersonsInRole(String roleName)
PermissionsHelperBasegetPersonsInRole in class PermissionsHelperBaseroleName - the name of the rolePermissionsHelperBase.getPersonsInRole(java.lang.String)public String getRoleType()
Copyright © 2013 The Kuali Foundation. All Rights Reserved.