edu.sampleu.bookstore.rule
Class BookOrderDocumentRule

java.lang.Object
  extended by org.kuali.rice.krad.rules.DocumentRuleBase
      extended by org.kuali.rice.krad.rules.TransactionalDocumentRuleBase
          extended by edu.sampleu.bookstore.rule.BookOrderDocumentRule
All Implemented Interfaces:
AddAdHocRoutePersonRule, AddAdHocRouteWorkgroupRule, AddNoteRule, ApproveDocumentRule, BusinessRule, RouteDocumentRule, SaveDocumentRule, SendAdHocRequestsRule

public class BookOrderDocumentRule
extends TransactionalDocumentRuleBase


Field Summary
private static String BOOK_ORDERS_EMPTY_ERROR_KEY
           
private static String BOOK_ORDERS_PROPERTY_PATH
           
private static String ERROR_MESSAGE_EMPTY_ORDERS
           
private static String ERROR_MESSAGE_NO_ORDERS
           
private static String NO_BOOK_ORDERS_ERROR_KEY
           
 
Constructor Summary
BookOrderDocumentRule()
           
 
Method Summary
protected  boolean processCustomRouteDocumentBusinessRules(Document document)
          This method should be overridden by children rule classes as a hook to implement document specific business rule checks for the "route document" event.
 
Methods inherited from class org.kuali.rice.krad.rules.DocumentRuleBase
getDataDictionaryService, getDictionaryValidationService, getDocumentHelperService, getGroupService, getKualiConfigurationService, getMaxDictionaryValidationDepth, getPermissionService, 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
 

Field Detail

BOOK_ORDERS_PROPERTY_PATH

private static final String BOOK_ORDERS_PROPERTY_PATH
See Also:
Constant Field Values

NO_BOOK_ORDERS_ERROR_KEY

private static final String NO_BOOK_ORDERS_ERROR_KEY
See Also:
Constant Field Values

ERROR_MESSAGE_NO_ORDERS

private static final String ERROR_MESSAGE_NO_ORDERS
See Also:
Constant Field Values

BOOK_ORDERS_EMPTY_ERROR_KEY

private static final String BOOK_ORDERS_EMPTY_ERROR_KEY
See Also:
Constant Field Values

ERROR_MESSAGE_EMPTY_ORDERS

private static final String ERROR_MESSAGE_EMPTY_ORDERS
See Also:
Constant Field Values
Constructor Detail

BookOrderDocumentRule

public BookOrderDocumentRule()
Method Detail

processCustomRouteDocumentBusinessRules

protected boolean processCustomRouteDocumentBusinessRules(Document document)
Description copied from class: DocumentRuleBase
This method should be overridden by children rule classes as a hook to implement document specific business rule checks for the "route document" event.

Overrides:
processCustomRouteDocumentBusinessRules in class DocumentRuleBase
Returns:
boolean True if the rules checks passed, false otherwise.


Copyright © 2004-2011 The Kuali Foundation. All Rights Reserved.