public class CapitalAssetManagementModuleServiceNoOp extends Object implements CapitalAssetManagementModuleService
Constructor and Description |
---|
CapitalAssetManagementModuleServiceNoOp() |
Modifier and Type | Method and Description |
---|---|
void |
deleteAssetLocks(String documentNumber,
String lockingInformation)
Delete AssetLocks by document number and lockingInfomation for PurAp doc only.
|
void |
deleteDocumentAssetLocks(org.kuali.rice.krad.document.Document document)
Deletes the asset locks associated with a particular document
|
void |
generateCapitalAssetLock(org.kuali.rice.krad.document.Document document,
String documentTypeNames)
Creates the locks for each asset on a documents
|
boolean |
isAssetLocked(List<Long> assetNumbers,
String documentTypeName,
String excludingDocumentNumber)
Check if the given asset Numbers are locked by other documents already.
|
boolean |
isAssetLockedByCurrentDocument(String blockingDocumentNumber,
String lockingInformation)
Check if the given document hold any asset locks.
|
boolean |
isFpDocumentEligibleForAssetLock(AccountingDocument accountingDocument,
String documentType)
FP document eligible for asset lock when any of its accounting line is taken into CAB during CAB batch.
|
boolean |
storeAssetLocks(List<Long> capitalAssetNumbers,
String documentNumber,
String documentType,
String lockingInformation)
Check and store AssetLocks if they are not locked by other blocking documents.
|
public CapitalAssetManagementModuleServiceNoOp()
public void deleteAssetLocks(String documentNumber, String lockingInformation)
CapitalAssetManagementModuleService
deleteAssetLocks
in interface CapitalAssetManagementModuleService
public void deleteDocumentAssetLocks(org.kuali.rice.krad.document.Document document)
CapitalAssetManagementModuleService
deleteDocumentAssetLocks
in interface CapitalAssetManagementModuleService
public void generateCapitalAssetLock(org.kuali.rice.krad.document.Document document, String documentTypeNames)
CapitalAssetManagementModuleService
generateCapitalAssetLock
in interface CapitalAssetManagementModuleService
public boolean isAssetLocked(List<Long> assetNumbers, String documentTypeName, String excludingDocumentNumber)
CapitalAssetManagementModuleService
isAssetLocked
in interface CapitalAssetManagementModuleService
public boolean isAssetLockedByCurrentDocument(String blockingDocumentNumber, String lockingInformation)
CapitalAssetManagementModuleService
isAssetLockedByCurrentDocument
in interface CapitalAssetManagementModuleService
public boolean isFpDocumentEligibleForAssetLock(AccountingDocument accountingDocument, String documentType)
CapitalAssetManagementModuleService
isFpDocumentEligibleForAssetLock
in interface CapitalAssetManagementModuleService
public boolean storeAssetLocks(List<Long> capitalAssetNumbers, String documentNumber, String documentType, String lockingInformation)
CapitalAssetManagementModuleService
storeAssetLocks
in interface CapitalAssetManagementModuleService
Copyright © 2004–2015 The Kuali Foundation. All rights reserved.