org.kuali.kfs.coa.document.validation.impl
Class OrganizationReversionGlobalPreRules

java.lang.Object
  extended by org.kuali.rice.kns.rules.PromptBeforeValidationBase
      extended by org.kuali.kfs.coa.document.validation.impl.MaintenancePreRulesBase
          extended by 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 Class Summary
 
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.kfs.coa.document.validation.impl.MaintenancePreRulesBase
accountService, configService
 
Fields inherited from class org.kuali.rice.kns.rules.PromptBeforeValidationBase
buttonClicked, event, form, question
 
Constructor Summary
OrganizationReversionGlobalPreRules()
           
 
Method Summary
 void checkForContinuationAccounts(OrganizationReversionGlobal globalOrgReversion)
          This method checks to see if the budget reversion or cash reversion accounts have continuation accounts.
 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.
 boolean doCustomPreRules(org.kuali.rice.kns.document.MaintenanceDocument maintenanceDocument)
          This is the hook method for the MaintenancePreRulesBase to call.
 
Methods inherited from class org.kuali.kfs.coa.document.validation.impl.MaintenancePreRulesBase
buildContinuationConfirmationQuestion, checkForContinuationAccount, checkForContinuationAccount, doPrompts, getAccountService, getConfigService, setAccountService, setConfigService
 
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
 

Field Detail

LOG

protected static org.apache.log4j.Logger LOG
Constructor Detail

OrganizationReversionGlobalPreRules

public OrganizationReversionGlobalPreRules()
Method Detail

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.