org.kuali.kfs.coa.document.validation.impl
Class IndirectCostRecoveryExclusionAccountPreRules
java.lang.Object
org.kuali.rice.kns.rules.PromptBeforeValidationBase
org.kuali.kfs.coa.document.validation.impl.MaintenancePreRulesBase
org.kuali.kfs.coa.document.validation.impl.IndirectCostRecoveryExclusionAccountPreRules
- All Implemented Interfaces:
- org.kuali.rice.kns.rule.PromptBeforeValidation
public class IndirectCostRecoveryExclusionAccountPreRules
- extends MaintenancePreRulesBase
PreRules checks for the IndirectCostRecoveryExclusionAccount
that needs to occur while still in the Struts processing.
This checks for continuation accounts
Nested classes/interfaces inherited from class org.kuali.rice.kns.rules.PromptBeforeValidationBase |
org.kuali.rice.kns.rules.PromptBeforeValidationBase.ContextSession |
Fields inherited from class org.kuali.rice.kns.rules.PromptBeforeValidationBase |
buttonClicked, event, form, LOG, question |
Method Summary |
protected void |
checkForContinuationAccounts()
This method checks for continuation accounts and presents the user with a question regarding their use on this account. |
protected boolean |
doCustomPreRules(org.kuali.rice.kns.document.MaintenanceDocument document)
This sets up the convenience objects and calls
checkForContinuationAccounts() |
protected void |
setupConvenienceObjects(org.kuali.rice.kns.document.MaintenanceDocument document)
This method sets the convenience objects like newAccount and oldAccount, so you have short and easy handles to the new and
old objects contained in the maintenance document. |
Methods inherited from class org.kuali.rice.kns.rules.PromptBeforeValidationBase |
abortRulesCheck, askOrAnalyzeYesNoQuestion, processPrompts |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
indirectCostRecoveryExclusionAccount
protected IndirectCostRecoveryExclusionAccount indirectCostRecoveryExclusionAccount
IndirectCostRecoveryExclusionAccountPreRules
public IndirectCostRecoveryExclusionAccountPreRules()
doCustomPreRules
protected boolean doCustomPreRules(org.kuali.rice.kns.document.MaintenanceDocument document)
- This sets up the convenience objects and calls
checkForContinuationAccounts()
- Overrides:
doCustomPreRules
in class MaintenancePreRulesBase
- Returns:
- true if rules pass
- See Also:
MaintenancePreRulesBase.doCustomPreRules(org.kuali.rice.kns.document.MaintenanceDocument)
checkForContinuationAccounts
protected void checkForContinuationAccounts()
- This method checks for continuation accounts and presents the user with a question regarding their use on this account.
setupConvenienceObjects
protected void setupConvenienceObjects(org.kuali.rice.kns.document.MaintenanceDocument document)
- This method sets the convenience objects like newAccount and oldAccount, so you have short and easy handles to the new and
old objects contained in the maintenance document. It also calls the BusinessObjectBase.refresh(), which will attempt to load
all sub-objects from the DB by their primary keys, if available.
- Parameters:
document
- - the maintenanceDocument being evaluated
Copyright © 2005-2012 The Kuali Foundation. All Rights Reserved.