org.kuali.kfs.module.cam.document.validation.impl
Class AssetPaymentLockValidation
java.lang.Object
org.kuali.kfs.sys.document.validation.ParameterizedValidation
org.kuali.kfs.sys.document.validation.GenericValidation
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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AssetPaymentLockValidation
public AssetPaymentLockValidation()
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.