public class PurchasingCapitalAssetValidation extends GenericValidation
Modifier and Type | Field and Description |
---|---|
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 and Description |
---|
PurchasingCapitalAssetValidation() |
Modifier and Type | Method and Description |
---|---|
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.
|
setQuitOnFail, shouldQuitOnFail, stageValidation
getParameterProperties, populateParameterFromEvent, populateParametersFromEvent, setParameterProperties
protected static String ERROR_PATH_PREFIX_FOR_IND_SYSTEM
protected static String ERROR_PATH_SUFFIX_FOR_IND_SYSTEM
protected static String ERROR_PATH_PREFIX_FOR_ONE_SYSTEM
public PurchasingCapitalAssetValidation()
public boolean validate(AttributedDocumentEvent event)
Validation
protected boolean validateAssetTypeExistence(PurchasingDocument purchasingDocument)
purchasingDocument
- protected void addAssetTypeErrorWithFullErrorPath(String errorPath)
errorPath
- public CapitalAssetBuilderModuleService getCapitalAssetBuilderModuleService()
public void setCapitalAssetBuilderModuleService(CapitalAssetBuilderModuleService capitalAssetBuilderModuleService)
public PurchasingService getPurchasingService()
public void setPurchasingService(PurchasingService purchasingService)
Copyright © 2004–2015 The Kuali Foundation. All rights reserved.