org.kuali.kfs.integration.cab
Interface CapitalAssetBuilderModuleService

All Known Implementing Classes:
CapitalAssetBuilderModuleServiceImpl, CapitalAssetBuilderModuleServiceNoOp

public interface CapitalAssetBuilderModuleService


Method Summary
 boolean doesAccountingLineFailAutomaticPurchaseOrderRules(AccountingLine accountingLine)
           
 boolean doesDocumentFailAutomaticPurchaseOrderRules(AccountingDocument accountingDocument)
           
 boolean doesItemNeedCapitalAsset(String itemTypeCode, List accountingLines)
           
 List<CapitalAssetBuilderAssetTransactionType> getAllAssetTransactionTypes()
           
 String getCurrentPurchaseOrderDocumentNumber(String camsDocumentNumber)
          Get current Purchase Order Document number for given CAMS Document Number
 boolean hasCapitalAssetObjectSubType(AccountingDocument accountingDocument)
          determine whether there is any object code of the given source accounting lines with a capital asset object sub type
 boolean isAssetTypeExisting(String assetTypeCode)
          Check the existence of asset type code
 void notifyRouteStatusChange(org.kuali.rice.kns.bo.DocumentHeader documentHeader)
          External modules can notify CAB if a document changed its route status.
 boolean validateAccountsPayableData(AccountingDocument accountingDocument)
           
 boolean validateAddItemCapitalAssetBusinessRules(ItemCapitalAsset asset)
           
 boolean validateAllFieldRequirementsByChart(AccountingDocument accountingDocument)
           
 boolean validateFinancialProcessingData(AccountingDocument accountingDocument, CapitalAssetInformation capitalAssetInformation)
          validate the capitalAssetManagementAsset data associated with the given accounting document
 boolean validateItemCapitalAssetWithErrors(String recurringPaymentTypeCode, ExternalPurApItem item, boolean apoCheck)
           
 boolean validatePurchasingData(AccountingDocument accountingDocument)
           
 boolean validatePurchasingObjectSubType(AccountingDocument accountingDocument)
           
 boolean validateUpdateCAMSView(AccountingDocument accountingDocumen)
           
 boolean warningObjectLevelCapital(AccountingDocument accountingDocument)
           
 

Method Detail

isAssetTypeExisting

boolean isAssetTypeExisting(String assetTypeCode)
Check the existence of asset type code

Parameters:
assetTypeCode -
Returns:

getCurrentPurchaseOrderDocumentNumber

String getCurrentPurchaseOrderDocumentNumber(String camsDocumentNumber)
Get current Purchase Order Document number for given CAMS Document Number

Parameters:
camsDocumentNumber -
Returns:

validateFinancialProcessingData

boolean validateFinancialProcessingData(AccountingDocument accountingDocument,
                                        CapitalAssetInformation capitalAssetInformation)
validate the capitalAssetManagementAsset data associated with the given accounting document

Parameters:
accountingDocument - the given accounting document
capitalAssetManagementAsset - data to be validated
Returns:
validation succeeded or errors present

validatePurchasingData

boolean validatePurchasingData(AccountingDocument accountingDocument)

validateAccountsPayableData

boolean validateAccountsPayableData(AccountingDocument accountingDocument)

doesAccountingLineFailAutomaticPurchaseOrderRules

boolean doesAccountingLineFailAutomaticPurchaseOrderRules(AccountingLine accountingLine)

doesDocumentFailAutomaticPurchaseOrderRules

boolean doesDocumentFailAutomaticPurchaseOrderRules(AccountingDocument accountingDocument)

doesItemNeedCapitalAsset

boolean doesItemNeedCapitalAsset(String itemTypeCode,
                                 List accountingLines)

validateUpdateCAMSView

boolean validateUpdateCAMSView(AccountingDocument accountingDocumen)

validateAddItemCapitalAssetBusinessRules

boolean validateAddItemCapitalAssetBusinessRules(ItemCapitalAsset asset)

warningObjectLevelCapital

boolean warningObjectLevelCapital(AccountingDocument accountingDocument)

validateItemCapitalAssetWithErrors

boolean validateItemCapitalAssetWithErrors(String recurringPaymentTypeCode,
                                           ExternalPurApItem item,
                                           boolean apoCheck)

getAllAssetTransactionTypes

List<CapitalAssetBuilderAssetTransactionType> getAllAssetTransactionTypes()

notifyRouteStatusChange

void notifyRouteStatusChange(org.kuali.rice.kns.bo.DocumentHeader documentHeader)
External modules can notify CAB if a document changed its route status. CAB Uses this notification to release records or to update other modules about the changes

Parameters:
documentHeader - DocumentHeader

hasCapitalAssetObjectSubType

boolean hasCapitalAssetObjectSubType(AccountingDocument accountingDocument)
determine whether there is any object code of the given source accounting lines with a capital asset object sub type

Parameters:
accountingLines - the given source accounting lines
Returns:
true if there is at least one object code of the given source accounting lines with a capital asset object sub type; otherwise, false

validateAllFieldRequirementsByChart

boolean validateAllFieldRequirementsByChart(AccountingDocument accountingDocument)

validatePurchasingObjectSubType

boolean validatePurchasingObjectSubType(AccountingDocument accountingDocument)


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