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

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.AssetPaymentLockValidation
All Implemented Interfaces:
Validation

public class AssetPaymentLockValidation
extends GenericValidation

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


Constructor Summary
AssetPaymentLockValidation()
           
 
Method Summary
 AssetLockService getAssetLockService()
           
 void setAssetLockService(AssetLockService assetLockService)
           
 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

AssetPaymentLockValidation

public AssetPaymentLockValidation()
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)

getAssetLockService

public AssetLockService getAssetLockService()

setAssetLockService

public void setAssetLockService(AssetLockService assetLockService)


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