public class ContractManagerAssignmentDocumentRule extends org.kuali.rice.kns.rules.TransactionalDocumentRuleBase
Modifier and Type | Field and Description |
---|---|
protected static org.apache.log4j.Logger |
LOG |
Constructor and Description |
---|
ContractManagerAssignmentDocumentRule() |
Modifier and Type | Method and Description |
---|---|
protected boolean |
processCustomApproveDocumentBusinessRules(org.kuali.rice.krad.rules.rule.event.ApproveDocumentEvent approveEvent) |
protected boolean |
processCustomRouteDocumentBusinessRules(org.kuali.rice.krad.document.Document document) |
protected boolean |
processValidation(ContractManagerAssignmentDocument document)
Perform validation for Contract Manager Assignment document such as validating contract manager codes.
|
boolean |
validateContractManagerCodes(List contractManagerAssignmentDetails)
Review the list of ContractManagerAssignmentDetails where the user has entered ContractManagerCodes,
validates that each entered code is valid;
on the other hand, validate that at least one row has a valid CM code assigned.
|
getDictionaryValidationService
buildDocumentTypeActionRequestPermissionDetails, buildDocumentTypePermissionDetails, getDataDictionaryService, getDocumentDictionaryService, getGroupService, getKualiConfigurationService, getMaxDictionaryValidationDepth, getPermissionService, getPersonService, hasAdHocRouteCompletion, isAddHocRoutePersonValid, isAddHocRouteWorkgroupValid, isAdHocRouteCompletionToInitiator, isAdHocRouteRecipientsValid, isDocumentAttributesValid, isDocumentOverviewValid, isNoteValid, processAddAdHocRoutePerson, processAddAdHocRouteWorkgroup, processAddNote, processApproveDocument, processCompleteDocument, processCustomAddAdHocRoutePersonBusinessRules, processCustomAddAdHocRouteWorkgroupBusinessRules, processCustomAddNoteBusinessRules, processCustomCompleteDocumentBusinessRules, processCustomSaveDocumentBusinessRules, processCustomSendAdHocRequests, processRouteDocument, processSaveDocument, processSendAdHocRequests, setDocumentDictionaryService, setMaxDictionaryValidationDepth, useKimPermission, validateSensitiveDataValue
protected static org.apache.log4j.Logger LOG
public ContractManagerAssignmentDocumentRule()
protected boolean processCustomRouteDocumentBusinessRules(org.kuali.rice.krad.document.Document document)
processCustomRouteDocumentBusinessRules
in class org.kuali.rice.krad.rules.DocumentRuleBase
DocumentRuleBase.processCustomRouteDocumentBusinessRules(Document)
protected boolean processCustomApproveDocumentBusinessRules(org.kuali.rice.krad.rules.rule.event.ApproveDocumentEvent approveEvent)
processCustomApproveDocumentBusinessRules
in class org.kuali.rice.krad.rules.DocumentRuleBase
org.kuali.rice.krad.rules.DocumentRuleBase#processCustomApproveDocumentBusinessRules(org.kuali.rice.krad.rule.event.ApproveDocumentEvent)
protected boolean processValidation(ContractManagerAssignmentDocument document)
document
- Contract Manager Assignment documentpublic boolean validateContractManagerCodes(List contractManagerAssignmentDetails)
contractManagerAssignmentDetails
- A list containing the code to be validated.Copyright © 2004–2015 The Kuali Foundation. All rights reserved.