|
||||||||||
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.gl.dataaccess.impl.OriginEntryDaoOjb
org.kuali.kfs.module.ld.dataaccess.impl.LaborOriginEntryDaoOjb
public class LaborOriginEntryDaoOjb
OJB Implementation of LaborOriginEntryDao.
Field Summary |
---|
Fields inherited from class org.springframework.dao.support.DaoSupport |
---|
logger |
Fields inherited from interface org.kuali.kfs.gl.dataaccess.OriginEntryDao |
---|
SORT_ACCOUNT, SORT_DOCUMENT, SORT_LISTING_REPORT, SORT_REPORT |
Constructor Summary | |
---|---|
LaborOriginEntryDaoOjb()
|
Method Summary | |
---|---|
protected List<String> |
buildConsolidationAttributeList()
build the returning attribute list for the calling query |
protected List<String> |
buildGroupByList()
build the grouping attribute list for the calling query |
Iterator<Object[]> |
getConsolidatedEntriesByGroup(OriginEntryGroup group)
Get the origin entries that belong to the given group in either the consolidation manner |
int |
getCountOfEntriesInGroups(Collection<OriginEntryGroup> groups)
get the count of the origin entry collection in the given groups |
Iterator<LaborOriginEntry> |
getEntriesByGroups(Collection<OriginEntryGroup> groups)
Get origin entries that belong to the given groups |
Collection<LaborOriginEntry> |
getEntryCollectionByGroup(OriginEntryGroup group)
Return a collection to all the entries in the given group |
Collection |
getLaborBackupGroups(Date groupDate)
Get all the Labor backup groups to scrub (ie, origin entry groups with source OriginEntrySource.LABOR_BACKUP) |
Iterator<LaborOriginEntry> |
getLaborEntriesByGroup(OriginEntryGroup oeg,
int sort)
Return an iterator to all the entries in a group |
Collection |
getLaborGroupsToBackup(Date groupDate)
Get all the groups to be copied into the backup group...though, notably, this method does nothing to differentiate labor groups from otherwise normal groups. |
Collection |
getMatchingEntriesByCollection(Map searchCriteria)
Collection of entries that match criteria |
Iterator |
getSummaryByGroupId(Collection groupIdList)
get the summarized information of the entries that belong to the entry groups with the given group ids |
void |
saveOriginEntry(LaborOriginEntry entry)
Deprecated. |
Collection<LaborOriginEntry> |
testingLaborGetAllEntries()
This method should only be used in unit tests. |
Methods inherited from class org.kuali.kfs.gl.dataaccess.impl.OriginEntryDaoOjb |
---|
deleteEntry, deleteGroups, deleteMatchingEntries, getBadBalanceEntries, getDocumentsByGroup, getEntriesByGroup, getEntryClass, getExactMatchingEntry, getGroupCount, getGroupCounts, getGroupTotal, getMatchingEntries, getPosterOutputSummaryByGroupId, saveOriginEntry, setEntryClass, testingGetAllEntries |
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 |
Methods inherited from interface org.kuali.kfs.gl.dataaccess.OriginEntryDao |
---|
deleteEntry, deleteGroups, deleteMatchingEntries, getBadBalanceEntries, getDocumentsByGroup, getEntriesByGroup, getExactMatchingEntry, getGroupCount, getGroupCounts, getGroupTotal, getMatchingEntries, getPosterOutputSummaryByGroupId, saveOriginEntry, testingGetAllEntries |
Constructor Detail |
---|
public LaborOriginEntryDaoOjb()
Method Detail |
---|
public Iterator<LaborOriginEntry> getEntriesByGroups(Collection<OriginEntryGroup> groups)
LaborOriginEntryDao
getEntriesByGroups
in interface LaborOriginEntryDao
groups
- the given origin entry groups
LaborOriginEntryDao.getEntriesByGroups(java.util.Collection)
public int getCountOfEntriesInGroups(Collection<OriginEntryGroup> groups)
LaborOriginEntryDao
getCountOfEntriesInGroups
in interface LaborOriginEntryDao
groups
- the given groups
LaborOriginEntryDao.getCountOfEntriesInGroups(java.util.Collection)
public Iterator<Object[]> getConsolidatedEntriesByGroup(OriginEntryGroup group)
LaborOriginEntryDao
getConsolidatedEntriesByGroup
in interface LaborOriginEntryDao
group
- the given group
LaborOriginEntryDao.getConsolidatedEntriesByGroup(org.kuali.kfs.gl.businessobject.OriginEntryGroup)
protected List<String> buildConsolidationAttributeList()
protected List<String> buildGroupByList()
public Collection<LaborOriginEntry> testingLaborGetAllEntries()
LaborOriginEntryDao
testingLaborGetAllEntries
in interface LaborOriginEntryDao
LaborOriginEntryDao.testingLaborGetAllEntries()
public Iterator<LaborOriginEntry> getLaborEntriesByGroup(OriginEntryGroup oeg, int sort)
LaborOriginEntryDao
getLaborEntriesByGroup
in interface LaborOriginEntryDao
oeg
- the given origin entry group
LaborOriginEntryDao.getLaborEntriesByGroup(org.kuali.kfs.gl.businessobject.OriginEntryGroup, int)
public Collection getMatchingEntriesByCollection(Map searchCriteria)
OriginEntryDaoOjb
getMatchingEntriesByCollection
in interface OriginEntryDao
getMatchingEntriesByCollection
in interface LaborOriginEntryDao
getMatchingEntriesByCollection
in class OriginEntryDaoOjb
searchCriteria
- Map of field, value pairs
getMatchingEntriesByCollection(java.util.Map)
@Deprecated public void saveOriginEntry(LaborOriginEntry entry)
entry
- the entry to save.public Iterator getSummaryByGroupId(Collection groupIdList)
OriginEntryDaoOjb
getSummaryByGroupId
in interface OriginEntryDao
getSummaryByGroupId
in class OriginEntryDaoOjb
groupIdList
- the ids of origin entry groups
getSummaryByGroupId(java.util.Collection)
public Collection<LaborOriginEntry> getEntryCollectionByGroup(OriginEntryGroup group)
LaborOriginEntryDao
getEntryCollectionByGroup
in interface LaborOriginEntryDao
group
- the given origin entry group
LaborOriginEntryDao.getEntryCollectionByGroup(org.kuali.kfs.gl.businessobject.OriginEntryGroup)
public Collection getLaborBackupGroups(Date groupDate)
getLaborBackupGroups
in interface LaborOriginEntryDao
groupDate
- this parameter isn't really used
LaborOriginEntryDao.getLaborBackupGroups(java.sql.Date)
public Collection getLaborGroupsToBackup(Date groupDate)
getLaborGroupsToBackup
in interface LaborOriginEntryDao
groupDate
- the date returned origin entry groups must have been created on or before
org.kuali.kfs.module.ld.dataaccess.LaborOriginEntryDao#getLaborScrubberGroups(java.sql.Date)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |