org.kuali.kfs.module.purap.document.validation.impl
Class BulkReceivingDocumentRule

java.lang.Object
  extended by org.kuali.rice.kns.rules.DocumentRuleBase
      extended by org.kuali.kfs.module.purap.document.validation.impl.BulkReceivingDocumentRule
All Implemented Interfaces:
ContinuePurapRule, org.kuali.rice.kns.rule.AddAdHocRoutePersonRule, org.kuali.rice.kns.rule.AddAdHocRouteWorkgroupRule, org.kuali.rice.kns.rule.AddNoteRule, org.kuali.rice.kns.rule.ApproveDocumentRule, org.kuali.rice.kns.rule.BusinessRule, org.kuali.rice.kns.rule.RouteDocumentRule, org.kuali.rice.kns.rule.SaveDocumentRule, org.kuali.rice.kns.rule.SendAdHocRequestsRule

public class BulkReceivingDocumentRule
extends org.kuali.rice.kns.rules.DocumentRuleBase
implements ContinuePurapRule


Constructor Summary
BulkReceivingDocumentRule()
           
 
Method Summary
protected  boolean canCreateBulkReceivingDocument(BulkReceivingDocument bulkReceivingDocument)
          Determines if it is valid to create a bulk receiving document.
protected  boolean hasRequiredFieldsForContinue(BulkReceivingDocument bulkReceivingDocument)
          Make sure the required fields on the init screen are filled in.
 boolean processContinuePurapBusinessRules(org.kuali.rice.kns.document.TransactionalDocument document)
          Checks the rules that are applicable to the Continue Event on a Transactional Document
protected  boolean processCustomRouteDocumentBusinessRules(org.kuali.rice.kns.document.Document document)
           
 
Methods inherited from class org.kuali.rice.kns.rules.DocumentRuleBase
getDataDictionaryService, getDictionaryValidationService, getDocumentHelperService, getIdentityManagementService, getKualiConfigurationService, getMaxDictionaryValidationDepth, getPersonService, getWorkflowInfoService, isAddHocRoutePersonValid, isAddHocRouteWorkgroupValid, isAdHocRouteRecipientsValid, isDocumentAttributesValid, isDocumentOverviewValid, isNoteValid, processAddAdHocRoutePerson, processAddAdHocRouteWorkgroup, processAddNote, processApproveDocument, processCustomAddAdHocRoutePersonBusinessRules, processCustomAddAdHocRouteWorkgroupBusinessRules, processCustomAddNoteBusinessRules, processCustomApproveDocumentBusinessRules, processCustomSaveDocumentBusinessRules, processCustomSendAdHocRequests, processRouteDocument, processSaveDocument, processSendAdHocRequests, setMaxDictionaryValidationDepth, validateSensitiveDataValue
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BulkReceivingDocumentRule

public BulkReceivingDocumentRule()
Method Detail

processCustomRouteDocumentBusinessRules

protected boolean processCustomRouteDocumentBusinessRules(org.kuali.rice.kns.document.Document document)
Overrides:
processCustomRouteDocumentBusinessRules in class org.kuali.rice.kns.rules.DocumentRuleBase

processContinuePurapBusinessRules

public boolean processContinuePurapBusinessRules(org.kuali.rice.kns.document.TransactionalDocument document)
Description copied from interface: ContinuePurapRule
Checks the rules that are applicable to the Continue Event on a Transactional Document

Specified by:
processContinuePurapBusinessRules in interface ContinuePurapRule
Parameters:
document - the document to check
Returns:
true if the business rules pass

hasRequiredFieldsForContinue

protected boolean hasRequiredFieldsForContinue(BulkReceivingDocument bulkReceivingDocument)
Make sure the required fields on the init screen are filled in.

Parameters:
bulkReceivingDocument -
Returns:

canCreateBulkReceivingDocument

protected boolean canCreateBulkReceivingDocument(BulkReceivingDocument bulkReceivingDocument)
Determines if it is valid to create a bulk receiving document.

Parameters:
bulkReceivingDocument -
Returns:


Copyright © 2005-2012 The Kuali Foundation. All Rights Reserved.