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

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.cam.document.validation.impl.AssetPaymentAssetValidation
All Implemented Interfaces:
Validation

public class AssetPaymentAssetValidation
extends GenericValidation

This class validates if asset is locked by other document, if so return false


Constructor Summary
AssetPaymentAssetValidation()
           
 
Method Summary
 AssetPaymentService getAssetPaymentService()
           
 void setAssetPaymentService(AssetPaymentService assetPaymentService)
           
 boolean validate(AttributedDocumentEvent event)
          Validates asset to ensure it is not locked by any other document
 
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
 

Constructor Detail

AssetPaymentAssetValidation

public AssetPaymentAssetValidation()
Method Detail

validate

public boolean validate(AttributedDocumentEvent event)
Validates asset to ensure it is not locked by any other document

Returns:
true if validation should continue, false otherwise
See Also:
Validation.validate(org.kuali.kfs.sys.document.validation.event.AttributedDocumentEvent)

getAssetPaymentService

public AssetPaymentService getAssetPaymentService()

setAssetPaymentService

public void setAssetPaymentService(AssetPaymentService assetPaymentService)


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