public class ProposalDevelopmentPermissionsRule extends ResearchDocumentRuleBase implements PermissionsRule
CHOMP_LAST_LETTER_S_FROM_COLLECTION_NAME, DOCUMENT_ERROR_PATH, VALIDATION_REQUIRED| Constructor and Description |
|---|
ProposalDevelopmentPermissionsRule() |
| Modifier and Type | Method and Description |
|---|---|
protected KcPersonService |
getKcPersonService()
Gets the KC Person Service.
|
boolean |
processAddProposalUserBusinessRules(ProposalDevelopmentDocument document,
List<ProposalUserRoles> proposalUserRolesList,
ProposalUser proposalUser)
Determines the legality of adding a proposal user to the
given proposal development document.
|
boolean |
processDeleteProposalUserBusinessRules(ProposalDevelopmentDocument document,
List<ProposalUserRoles> proposalUserRolesList,
int index)
Determines the legality of deleting a proposal user from the
given proposal development document.
|
boolean |
processEditProposalUserRolesBusinessRules(ProposalDevelopmentDocument document,
List<ProposalUserRoles> proposalUserRolesList,
ProposalUserEditRoles 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 processAddProposalUserBusinessRules(ProposalDevelopmentDocument document, List<ProposalUserRoles> proposalUserRolesList, ProposalUser proposalUser)
PermissionsRuleprocessAddProposalUserBusinessRules in interface PermissionsRuledocument - the proposal development document.proposalUserRolesList - list of proposal user rolesproposalUser - the proposal user to be added to the document.PermissionsRule.processAddProposalUserBusinessRules(org.kuali.kra.proposaldevelopment.document.ProposalDevelopmentDocument, java.util.List, org.kuali.kra.proposaldevelopment.bo.ProposalUser)public boolean processDeleteProposalUserBusinessRules(ProposalDevelopmentDocument document, List<ProposalUserRoles> proposalUserRolesList, int index)
PermissionsRuleprocessDeleteProposalUserBusinessRules in interface PermissionsRuledocument - the proposal development document.proposalUserRolesList - list of proposal user rolesindex - the index into proposalUserRolesList of the user to deletePermissionsRule.processDeleteProposalUserBusinessRules(org.kuali.kra.proposaldevelopment.document.ProposalDevelopmentDocument, java.util.List, int)public boolean processEditProposalUserRolesBusinessRules(ProposalDevelopmentDocument document, List<ProposalUserRoles> proposalUserRolesList, ProposalUserEditRoles editRoles)
PermissionsRuleprocessEditProposalUserRolesBusinessRules in interface PermissionsRuledocument - the proposal development document.proposalUserRolesList - list of proposal user roleseditRoles - the proposal roles to edit for a userPermissionsRule.processEditProposalUserRolesBusinessRules(org.kuali.kra.proposaldevelopment.document.ProposalDevelopmentDocument, java.util.List, org.kuali.kra.proposaldevelopment.bo.ProposalUserEditRoles)protected KcPersonService getKcPersonService()
Copyright © 2013 The Kuali Foundation. All Rights Reserved.