|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.springframework.dao.support.DaoSupport
org.springmodules.orm.ojb.support.PersistenceBrokerDaoSupport
org.kuali.rice.kns.dao.impl.PlatformAwareDaoBaseOjb
org.kuali.kfs.module.ld.dataaccess.impl.LaborLedgerEntryDaoOjb
public class LaborLedgerEntryDaoOjb
This is the data access object for ledger entry.
LedgerEntry
Field Summary |
---|
Fields inherited from class org.springframework.dao.support.DaoSupport |
---|
logger |
Constructor Summary | |
---|---|
LaborLedgerEntryDaoOjb()
|
Method Summary | |
---|---|
protected org.apache.ojb.broker.query.Criteria |
buildPayTypeCriteria(Map<Integer,Set<String>> payPeriods,
List<String> balanceTypes,
Map<String,Set<String>> earnCodePayGroupMap)
|
void |
deleteLedgerEntriesPriorToYear(Integer fiscalYear,
String chartOfAccountsCode)
delete the ledger entry records that were posted prior to the given fiscal year |
Iterator<LedgerEntry> |
find(Map<String,String> fieldValues)
Find the ledger entries that satisfy the all entries in the given field-value pair |
Integer |
findCountGreaterOrEqualThan(Integer year)
Finds the count of rows for >= fiscal year passed in. |
List<String> |
findEmployeesWithPayType(Map<Integer,Set<String>> payPeriods,
List<String> balanceTypes,
Map<String,Set<String>> earnCodePayGroupMap)
find the employees who were paid based on a set of specified pay type within the given report periods. |
Object[] |
findEntryByGroup(Integer universityFiscalYear,
String chartOfAccountsCode,
String financialObjectCode,
String financialBalanceTypeCode,
String universityFiscalPeriodCode,
String transactionDebitCreditCode)
Does a group by query on the parameters passed in and returns an object array with the count as first parameter and sum of TRANSACTION_LEDGER_ENTRY_AMOUNT of the second. |
protected Class |
getEntryClass()
|
Collection<LedgerEntry> |
getLedgerEntriesForEmployeeWithPayType(String emplid,
Map<Integer,Set<String>> payPeriods,
List<String> balanceTypes,
Map<String,Set<String>> earnCodePayGroupMap)
get the ledger entries for the given employee based on a set of specified pay type within the given report periods. |
Integer |
getMaxSquenceNumber(LedgerEntry ledgerEntry)
The sequence number is one of the primary keys of ledger entry. |
boolean |
isEmployeeWithPayType(String emplid,
Map<Integer,Set<String>> payPeriods,
List<String> balanceTypes,
Map<String,Set<String>> earnCodePayGroupMap)
determine if the given employee is associated with a set of specified pay type within the given report periods. |
void |
save(LedgerEntry ledgerEntry)
save the given ledger entry into the underlying data store |
Methods inherited from class org.kuali.rice.kns.dao.impl.PlatformAwareDaoBaseOjb |
---|
getDbPlatform, setDbPlatform |
Methods inherited from class org.springmodules.orm.ojb.support.PersistenceBrokerDaoSupport |
---|
checkDaoConfig, convertOjbAccessException, createPersistenceBrokerTemplate, getJcdAlias, getPersistenceBroker, getPersistenceBrokerTemplate, releasePersistenceBroker, setJcdAlias, setPersistenceBrokerTemplate |
Methods inherited from class org.springframework.dao.support.DaoSupport |
---|
afterPropertiesSet, initDao |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public LaborLedgerEntryDaoOjb()
Method Detail |
---|
public Integer getMaxSquenceNumber(LedgerEntry ledgerEntry)
LaborLedgerEntryDao
getMaxSquenceNumber
in interface LaborLedgerEntryDao
ledgerEntry
- the given ledger entry
LaborLedgerEntryDao.getMaxSquenceNumber(org.kuali.kfs.module.ld.businessobject.LedgerEntry)
public Iterator<LedgerEntry> find(Map<String,String> fieldValues)
LaborLedgerEntryDao
find
in interface LaborLedgerEntryDao
fieldValues
- the given field-value pair
LaborLedgerEntryDao.find(java.util.Map)
public void save(LedgerEntry ledgerEntry)
LaborLedgerEntryDao
save
in interface LaborLedgerEntryDao
ledgerEntry
- the given ledger entryLaborLedgerEntryDao.save(org.kuali.kfs.module.ld.businessobject.LedgerEntry)
public List<String> findEmployeesWithPayType(Map<Integer,Set<String>> payPeriods, List<String> balanceTypes, Map<String,Set<String>> earnCodePayGroupMap)
LaborLedgerEntryDao
findEmployeesWithPayType
in interface LaborLedgerEntryDao
payPeriods
- the given pay periodsbalanceTypes
- the specified balance type codesearnCodePayGroupMap
- the combination of earn codes and pay groups, where pay group is the key and earn code set is the
value
org.kuali.kfs.module.ld.dataaccess.LaborLedgerEntryDao#findEmployeesWithPayType(java.util.Map, java.util.List, java.util.List)
public Collection<LedgerEntry> getLedgerEntriesForEmployeeWithPayType(String emplid, Map<Integer,Set<String>> payPeriods, List<String> balanceTypes, Map<String,Set<String>> earnCodePayGroupMap)
LaborLedgerEntryDao
getLedgerEntriesForEmployeeWithPayType
in interface LaborLedgerEntryDao
emplid
- the given employee idpayPeriods
- the given pay periodsbalanceTypes
- the specified balance type codesearnCodePayGroupMap
- the combination of earn codes and pay groups, where pay group is the key and earn code set is the
value
LaborLedgerEntryDao.getLedgerEntriesForEmployeeWithPayType(java.lang.String, java.util.Map,
java.util.List, java.util.Map)
public boolean isEmployeeWithPayType(String emplid, Map<Integer,Set<String>> payPeriods, List<String> balanceTypes, Map<String,Set<String>> earnCodePayGroupMap)
LaborLedgerEntryDao
isEmployeeWithPayType
in interface LaborLedgerEntryDao
emplid
- the given employee idpayPeriods
- the given pay periodsbalanceTypes
- the specified balance type codesearnCodePayGroupMap
- the combination of earn codes and pay groups, where pay group is the key and earn code set is the
value
LaborLedgerEntryDao.isEmployeeWithPayType(java.lang.String, java.util.Map, java.util.List,
java.util.Map)
public void deleteLedgerEntriesPriorToYear(Integer fiscalYear, String chartOfAccountsCode)
LaborLedgerEntryDao
deleteLedgerEntriesPriorToYear
in interface LaborLedgerEntryDao
fiscalYear
- the given fiscal yearchartOfAccountsCode
- the given chart of account codeLaborLedgerEntryDao.deleteLedgerEntriesPriorToYear(java.lang.Integer, java.lang.String)
public Object[] findEntryByGroup(Integer universityFiscalYear, String chartOfAccountsCode, String financialObjectCode, String financialBalanceTypeCode, String universityFiscalPeriodCode, String transactionDebitCreditCode)
LedgerEntryBalancingDao
findEntryByGroup
in interface LedgerEntryBalancingDao
universityFiscalYear
- the given university fiscal yearchartOfAccountsCode
- the given chart of account codefinancialObjectCode
- the given object codefinancialBalanceTypeCode
- the given balance type codeuniversityFiscalPeriodCode
- the given university fiscal period codetransactionDebitCreditCode
- the given transaction debit or credit code
LedgerEntryBalancingDao.findEntryByGroup(java.lang.Integer, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String)
protected org.apache.ojb.broker.query.Criteria buildPayTypeCriteria(Map<Integer,Set<String>> payPeriods, List<String> balanceTypes, Map<String,Set<String>> earnCodePayGroupMap)
public Integer findCountGreaterOrEqualThan(Integer year)
LedgerEntryBalancingDao
findCountGreaterOrEqualThan
in interface LedgerEntryBalancingDao
LedgerEntryBalancingDao.findCountGreaterOrEqualThan(java.lang.Integer)
protected Class getEntryClass()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |