org.kuali.kfs.module.purap.document.validation.impl
Class PurchasingCapitalAssetValidation

java.lang.Object
  extended by org.kuali.kfs.sys.document.validation.ParameterizedValidation
      extended by org.kuali.kfs.sys.document.validation.GenericValidation
          extended by org.kuali.kfs.module.purap.document.validation.impl.PurchasingCapitalAssetValidation
All Implemented Interfaces:
Validation

public class PurchasingCapitalAssetValidation
extends GenericValidation


Field Summary
protected static String ERROR_PATH_PREFIX_FOR_IND_SYSTEM
           
protected static String ERROR_PATH_PREFIX_FOR_ONE_SYSTEM
           
protected static String ERROR_PATH_SUFFIX_FOR_IND_SYSTEM
           
 
Constructor Summary
PurchasingCapitalAssetValidation()
           
 
Method Summary
protected  void addAssetTypeErrorWithFullErrorPath(String errorPath)
          Add asset type error to the global message map.
 CapitalAssetBuilderModuleService getCapitalAssetBuilderModuleService()
           
 PurchasingService getPurchasingService()
           
 void setCapitalAssetBuilderModuleService(CapitalAssetBuilderModuleService capitalAssetBuilderModuleService)
           
 void setPurchasingService(PurchasingService purchasingService)
           
 boolean validate(AttributedDocumentEvent event)
          This method validates that certain parameters
protected  boolean validateAssetTypeExistence(PurchasingDocument purchasingDocument)
          Validate user input asset type code.
 
Methods inherited from class org.kuali.kfs.sys.document.validation.GenericValidation
setQuitOnFail, shouldQuitOnFail, stageValidation
 
Methods inherited from class org.kuali.kfs.sys.document.validation.ParameterizedValidation
getParameterProperties, populateParameterFromEvent, populateParametersFromEvent, setParameterProperties
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ERROR_PATH_PREFIX_FOR_IND_SYSTEM

protected static String ERROR_PATH_PREFIX_FOR_IND_SYSTEM

ERROR_PATH_SUFFIX_FOR_IND_SYSTEM

protected static String ERROR_PATH_SUFFIX_FOR_IND_SYSTEM

ERROR_PATH_PREFIX_FOR_ONE_SYSTEM

protected static String ERROR_PATH_PREFIX_FOR_ONE_SYSTEM
Constructor Detail

PurchasingCapitalAssetValidation

public PurchasingCapitalAssetValidation()
Method Detail

validate

public boolean validate(AttributedDocumentEvent event)
Description copied from interface: Validation
This method validates that certain parameters

Returns:
true if validation should continue, false otherwise

validateAssetTypeExistence

protected boolean validateAssetTypeExistence(PurchasingDocument purchasingDocument)
Validate user input asset type code.

Parameters:
purchasingDocument -
Returns:

addAssetTypeErrorWithFullErrorPath

protected void addAssetTypeErrorWithFullErrorPath(String errorPath)
Add asset type error to the global message map.

Parameters:
errorPath -

getCapitalAssetBuilderModuleService

public CapitalAssetBuilderModuleService getCapitalAssetBuilderModuleService()

setCapitalAssetBuilderModuleService

public void setCapitalAssetBuilderModuleService(CapitalAssetBuilderModuleService capitalAssetBuilderModuleService)

getPurchasingService

public PurchasingService getPurchasingService()

setPurchasingService

public void setPurchasingService(PurchasingService purchasingService)


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