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

All Known Implementing Classes:
LaborGeneralLedgerEntryServiceImpl

public interface LaborGeneralLedgerEntryService

This interface provides its clients with access to labor general leger entries in the backend data store.


Method Summary
 Integer getMaxSequenceNumber(LaborGeneralLedgerEntry laborGeneralLedgerEntry)
          The sequence number is one of the primary keys of ledger entry.
 void save(LaborGeneralLedgerEntry laborGeneralLedgerEntry)
          Save the given ledger entry or update it if it exsits
 

Method Detail

save

void save(LaborGeneralLedgerEntry laborGeneralLedgerEntry)
Save the given ledger entry or update it if it exsits

Parameters:
ledgerEntry - the given ledger entry

getMaxSequenceNumber

Integer getMaxSequenceNumber(LaborGeneralLedgerEntry laborGeneralLedgerEntry)
The sequence number is one of the primary keys of ledger entry. The entries can be grouped by other keys. This method is used to get the maximum sequence number in the group of entries.

Parameters:
ledgerEntry - the given ledger entry
Returns:
the maximum sequence number in a group of entries. If the group doesn't exist, return 0.


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