public abstract class PermissionsRuleBase extends ResearchDocumentRuleBase implements PermissionsRule
CHOMP_LAST_LETTER_S_FROM_COLLECTION_NAME, DOCUMENT_ERROR_PATH, VALIDATION_REQUIRED| Constructor and Description |
|---|
PermissionsRuleBase() |
| Modifier and Type | Method and Description |
|---|---|
protected abstract String |
getAdministratorRoleName()
Get the name of the role for the Administrator.
|
protected KcPersonService |
getKcPersonService()
Gets the KC Person Service.
|
boolean |
processAddPermissionsUserBusinessRules(org.kuali.rice.krad.document.Document document,
List<User> users,
PermissionsUser newUser)
Determines the legality of adding a user with a given role to a document.
|
boolean |
processDeletePermissionsUserBusinessRules(org.kuali.rice.krad.document.Document document,
List<User> users,
int index)
Determines the legality of deleting a user from the given document.
|
boolean |
processEditPermissionsUserRolesBusinessRules(org.kuali.rice.krad.document.Document document,
List<User> users,
PermissionsUserEditRoles editRoles)
Determines if it is legal to edit the roles for a user.
|
addAuditError, getBusinessObjectService, getErrorReporter, getKnsDictionaryValidationService, getParameterService, getSoftErrors, hasPermission, hasPermission, hasRole, hasRole, isInvalid, isValid, keyValue, processBudgetVersionsBusinessRule, processRunAuditBusinessRules, reportError, reportErrorWithoutFullErrorPath, reportSoftError, reportWarning, setBusinessObjectService, setParameterServicebuildDocumentTypeActionRequestPermissionDetails, buildDocumentTypePermissionDetails, getDataDictionaryService, getDictionaryValidationService, getDocumentDictionaryService, getGroupService, getKualiConfigurationService, getMaxDictionaryValidationDepth, getPermissionService, getPersonService, hasAdHocRouteCompletion, isAddHocRoutePersonValid, isAddHocRouteWorkgroupValid, isAdHocRouteCompletionToInitiator, isAdHocRouteRecipientsValid, isDocumentAttributesValid, isDocumentOverviewValid, isNoteValid, processAddAdHocRoutePerson, processAddAdHocRouteWorkgroup, processAddNote, processApproveDocument, processCompleteDocument, processCustomAddAdHocRoutePersonBusinessRules, processCustomAddAdHocRouteWorkgroupBusinessRules, processCustomAddNoteBusinessRules, processCustomApproveDocumentBusinessRules, processCustomCompleteDocumentBusinessRules, processCustomRouteDocumentBusinessRules, processCustomSaveDocumentBusinessRules, processCustomSendAdHocRequests, processRouteDocument, processSaveDocument, processSendAdHocRequests, setDocumentDictionaryService, setMaxDictionaryValidationDepth, useKimPermission, validateSensitiveDataValuepublic boolean processAddPermissionsUserBusinessRules(org.kuali.rice.krad.document.Document document,
List<User> users,
PermissionsUser newUser)
PermissionsRuleprocessAddPermissionsUserBusinessRules in interface PermissionsRuledocument - the document.users - the current list of users who have a role in the documentnewUser - the new user to add to the documentorg.kuali.kra.common.permissions.rule.PermissionsRule#processAddPermissionsUserBusinessRules(org.kuali.core.document.Document, java.util.List, org.kuali.kra.common.permissions.bo.PermissionsUser)public boolean processDeletePermissionsUserBusinessRules(org.kuali.rice.krad.document.Document document,
List<User> users,
int index)
PermissionsRuleprocessDeletePermissionsUserBusinessRules in interface PermissionsRuledocument - the document.users - list of current users who have a role in the documentindex - the index into "users" of the user to deleteorg.kuali.kra.common.permissions.rule.PermissionsRule#processDeletePermissionsUserBusinessRules(org.kuali.core.document.Document, java.util.List, int)public boolean processEditPermissionsUserRolesBusinessRules(org.kuali.rice.krad.document.Document document,
List<User> users,
PermissionsUserEditRoles editRoles)
PermissionsRuleprocessEditPermissionsUserRolesBusinessRules in interface PermissionsRuledocument - the document.users - list of current users who have a role in the documenteditRoles - the new set of roles for the userorg.kuali.kra.common.permissions.rule.PermissionsRule#processEditPermissionsUserRolesBusinessRules(org.kuali.core.document.Document, java.util.List, org.kuali.kra.common.permissions.bo.PermissionsUserEditRoles)protected abstract String getAdministratorRoleName()
protected KcPersonService getKcPersonService()
Copyright © 2013 The Kuali Foundation. All Rights Reserved.