org.kuali.kfs.module.cam.document.validation.impl
Class AssetGlobalPreRules

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.module.cam.document.validation.impl.AssetGlobalPreRules
All Implemented Interfaces:
org.kuali.rice.kns.rule.PromptBeforeValidation

public class AssetGlobalPreRules
extends MaintenancePreRulesBase


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
AssetGlobalPreRules()
           
 
Method Summary
protected  boolean doCustomPreRules(org.kuali.rice.kns.document.MaintenanceDocument document)
          Sets up a convenience object and few other Asset attributes
protected  AssetService getAssetService()
           
protected  org.kuali.rice.kns.service.ParameterService getParameterService()
           
 boolean hasDifferentObjectSubTypes(org.kuali.rice.kns.document.MaintenanceDocument document)
          Validate all object sub type codes are from the same group.
protected  boolean isOkHavingDifferentObjectSubTypes()
           
 
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 final org.apache.log4j.Logger LOG
Constructor Detail

AssetGlobalPreRules

public AssetGlobalPreRules()
Method Detail

doCustomPreRules

protected boolean doCustomPreRules(org.kuali.rice.kns.document.MaintenanceDocument document)
Sets up a convenience object and few other Asset attributes

Overrides:
doCustomPreRules in class MaintenancePreRulesBase
Returns:
true if rules pass
See Also:
MaintenancePreRulesBase.doCustomPreRules(org.kuali.rice.kns.document.MaintenanceDocument)

hasDifferentObjectSubTypes

public boolean hasDifferentObjectSubTypes(org.kuali.rice.kns.document.MaintenanceDocument document)
Validate all object sub type codes are from the same group.

Parameters:
assetGlobal -
newLine -
Returns:

isOkHavingDifferentObjectSubTypes

protected boolean isOkHavingDifferentObjectSubTypes()

getAssetService

protected AssetService getAssetService()

getParameterService

protected org.kuali.rice.kns.service.ParameterService getParameterService()


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