org.kuali.kfs.coa.document.validation.impl
Class OrganizationReversionGlobalPreRules
java.lang.Object
org.kuali.rice.kns.rules.PromptBeforeValidationBase
org.kuali.kfs.coa.document.validation.impl.MaintenancePreRulesBase
org.kuali.kfs.coa.document.validation.impl.OrganizationReversionGlobalPreRules
- All Implemented Interfaces:
- org.kuali.rice.kns.rule.PromptBeforeValidation
public class OrganizationReversionGlobalPreRules
- extends MaintenancePreRulesBase
PreRules checks for the OrganizationReversionGlobal
that needs to occur while still in the Struts processing. This includes defaults
Nested classes/interfaces inherited from class org.kuali.rice.kns.rules.PromptBeforeValidationBase |
org.kuali.rice.kns.rules.PromptBeforeValidationBase.ContextSession |
Field Summary |
protected static org.apache.log4j.Logger |
LOG
|
Fields inherited from class org.kuali.rice.kns.rules.PromptBeforeValidationBase |
buttonClicked, event, form, question |
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 |
LOG
protected static org.apache.log4j.Logger LOG
OrganizationReversionGlobalPreRules
public OrganizationReversionGlobalPreRules()
doCustomPreRules
public boolean doCustomPreRules(org.kuali.rice.kns.document.MaintenanceDocument maintenanceDocument)
- This is the hook method for the
MaintenancePreRulesBase
to call. It calls
- Overrides:
doCustomPreRules
in class MaintenancePreRulesBase
- Returns:
- true if rules pass
- See Also:
MaintenancePreRulesBase.doCustomPreRules(org.kuali.rice.kns.document.MaintenanceDocument)
checkForContinuationAccounts
public void checkForContinuationAccounts(OrganizationReversionGlobal globalOrgReversion)
- This method checks to see if the budget reversion or cash reversion accounts have continuation accounts.
- Parameters:
globalOrgReversion
- Global Organization Reversion to check.
copyKeyAttributesToCollections
public void copyKeyAttributesToCollections(OrganizationReversionGlobal globalOrgRev)
- This method updates all children of a Global Organization Reversion so that they all are associated with the Global
Organization Reversion document, by upudating their primary keys.
- Parameters:
globalOrgRev
- the global organization reversion document to update.
Copyright © 2005-2012 The Kuali Foundation. All Rights Reserved.