org.kuali.kfs.module.ld.service
Interface LaborLedgerPendingEntryService

All Known Implementing Classes:
LaborLedgerPendingEntryServiceImpl

public interface LaborLedgerPendingEntryService

Defines methods that must be implemented by classes providing a LaborLedgerPendingEntryServiceImpl.


Method Summary
 void delete(String documentHeaderId)
          delete pending entries with the given document header id
 void deleteByFinancialDocumentApprovedCode(String financialDocumentApprovedCode)
          Delete the pending entries with the given financial document approved code
 Iterator<LaborLedgerPendingEntry> findApprovedPendingLedgerEntries()
          Get all entries that have been approved but still in pending entry queue
 Collection findPendingEntries(Map fieldValues, boolean isApproved)
          Use fieldValues to create a query for matching records of LaborLedgerPendingEntry instances
 Iterator findPendingLedgerEntriesForLedgerBalance(Map fieldValues, boolean isApproved)
          This method checks for pending ledger entries that match the current balance inquiry
 boolean generateLaborLedgerPendingEntries(LaborLedgerPostingDocument document)
          This method generates labor ledger pending entries.
 boolean hasPendingLaborLedgerEntry(Map fieldValues)
          determine if there is any pending entry that has not been processed for the given criteria
 boolean hasPendingLaborLedgerEntry(String chartOfAccountsCode, String accountNumber)
          Does the given account have any labor ledger entries? It is necessary to check this before closing an account.
 

Method Detail

hasPendingLaborLedgerEntry

boolean hasPendingLaborLedgerEntry(String chartOfAccountsCode,
                                   String accountNumber)
Does the given account have any labor ledger entries? It is necessary to check this before closing an account.

Parameters:
account -
Returns:

hasPendingLaborLedgerEntry

boolean hasPendingLaborLedgerEntry(Map fieldValues)
determine if there is any pending entry that has not been processed for the given criteria

Parameters:
fieldValues - the given search criteria
Returns:
true if there is one or more pending entries that have not been processed for the given criteria; otherwise, false

generateLaborLedgerPendingEntries

boolean generateLaborLedgerPendingEntries(LaborLedgerPostingDocument document)
This method generates labor ledger pending entries.

Parameters:
document -
Returns:

findApprovedPendingLedgerEntries

Iterator<LaborLedgerPendingEntry> findApprovedPendingLedgerEntries()
Get all entries that have been approved but still in pending entry queue

Returns:
all approved pending entries

deleteByFinancialDocumentApprovedCode

void deleteByFinancialDocumentApprovedCode(String financialDocumentApprovedCode)
Delete the pending entries with the given financial document approved code

Parameters:
approvedCode -

findPendingLedgerEntriesForLedgerBalance

Iterator findPendingLedgerEntriesForLedgerBalance(Map fieldValues,
                                                  boolean isApproved)
This method checks for pending ledger entries that match the current balance inquiry

Parameters:
emplid -
Returns:

findPendingEntries

Collection findPendingEntries(Map fieldValues,
                              boolean isApproved)
Use fieldValues to create a query for matching records of LaborLedgerPendingEntry instances

Parameters:
fieldValues - properties to match against
isApproved - Retrieve approved or unapproved entries?

delete

void delete(String documentHeaderId)
delete pending entries with the given document header id

Parameters:
documentHeaderId -


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