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

java.lang.Object
  extended by org.kuali.rice.kns.rules.PromptBeforeValidationBase
      extended by org.kuali.kfs.module.cam.document.validation.impl.AssetPaymentDocumentPreRules
All Implemented Interfaces:
org.kuali.rice.kns.rule.PromptBeforeValidation

public class AssetPaymentDocumentPreRules
extends org.kuali.rice.kns.rules.PromptBeforeValidationBase

This prerule is ex..


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.rice.kns.rules.PromptBeforeValidationBase
buttonClicked, event, form, question
 
Constructor Summary
AssetPaymentDocumentPreRules()
           
 
Method Summary
 boolean doPrompts(org.kuali.rice.kns.document.Document document)
           
protected  AssetService getAssetService()
           
protected  org.kuali.rice.kns.service.ParameterService getParameterService()
           
 boolean hasDifferentObjectSubTypes(AssetPaymentDocument document)
          This method determines whether or not an asset has different object sub type codes in its documents.
protected  boolean isOkHavingDifferentObjectSubTypes()
           
 
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

AssetPaymentDocumentPreRules

public AssetPaymentDocumentPreRules()
Method Detail

doPrompts

public boolean doPrompts(org.kuali.rice.kns.document.Document document)
Specified by:
doPrompts in class org.kuali.rice.kns.rules.PromptBeforeValidationBase

hasDifferentObjectSubTypes

public boolean hasDifferentObjectSubTypes(AssetPaymentDocument document)
This method determines whether or not an asset has different object sub type codes in its documents.

Returns:
true when the asset has payments with object codes that point to different object sub type codes

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.