|
||||||||||
| 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
public class OriginEntryDaoOjb
An OJB implementation of the OriginEntryDao
| 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 | |
|---|---|
OriginEntryDaoOjb()
Constructs a OriginEntryDaoOjb instance |
|
| Method Summary | ||
|---|---|---|
void |
deleteEntry(OriginEntryInformation oe)
Delete an entry from the database |
|
void |
deleteGroups(Collection<OriginEntryGroup> groups)
Delete all the groups in the list. |
|
void |
deleteMatchingEntries(Map searchCriteria)
Delete entries matching searchCriteria search criteria. |
|
Iterator<OriginEntryFull> |
getBadBalanceEntries(Collection groups)
Get bad balance entries |
|
Iterator |
getDocumentsByGroup(OriginEntryGroup oeg)
Return an iterator of keys of all documents referenced by origin entries in a given group |
|
|
getEntriesByGroup(OriginEntryGroup oeg,
int sort)
This method is special because of the order by. |
|
Class |
getEntryClass()
Gets the entryClass attribute. |
|
OriginEntryFull |
getExactMatchingEntry(Integer entryId)
Fetches an entry for the given entryId, or returns a newly created on |
|
Integer |
getGroupCount(Integer groupId)
Counts the number of entries in a group |
|
Iterator |
getGroupCounts()
Counts of rows of all the origin entry groups |
|
org.kuali.rice.kns.util.KualiDecimal |
getGroupTotal(Integer groupId,
boolean isCredit)
Get the total amount of transactions in a group |
|
Iterator<OriginEntryFull> |
getMatchingEntries(Map searchCriteria)
Iterator of entries that match criteria |
|
Collection<OriginEntryFull> |
getMatchingEntriesByCollection(Map searchCriteria)
Collection of entries that match criteria |
|
Iterator |
getPosterOutputSummaryByGroupId(Collection groups)
get the summarized information of poster input entries that belong to the entry groups with the given group id list |
|
Iterator |
getSummaryByGroupId(Collection groupIdList)
get the summarized information of the entries that belong to the entry groups with the given group ids |
|
void |
saveOriginEntry(OriginEntryInformation entry)
Saves an origin entry to the database |
|
void |
setEntryClass(Class entryClass)
Sets the class of the origin entries this class deals with. |
|
Collection<OriginEntryFull> |
testingGetAllEntries()
This method should only be used in unit tests. |
|
| 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 OriginEntryDaoOjb()
| Method Detail |
|---|
public void setEntryClass(Class entryClass)
entryClass - the class of OriginEntries this instance will use for OJB operationspublic Class getEntryClass()
public org.kuali.rice.kns.util.KualiDecimal getGroupTotal(Integer groupId,
boolean isCredit)
getGroupTotal in interface OriginEntryDaothe - id of the origin entry group to totalisCredit - whether the total should be of credits or not
OriginEntryDao.getGroupTotal(java.lang.Integer, boolean)public Integer getGroupCount(Integer groupId)
getGroupCount in interface OriginEntryDaothe - id of an origin entry group
OriginEntryDao.getGroupCount(java.lang.Integer)public Iterator getGroupCounts()
getGroupCounts in interface OriginEntryDaoOriginEntryDao.getGroupCounts()public void deleteEntry(OriginEntryInformation oe)
deleteEntry in interface OriginEntryDaooe - the entry to deleteOriginEntryDao.deleteEntry(org.kuali.kfs.gl.businessobject.OriginEntryInformation)public Iterator getDocumentsByGroup(OriginEntryGroup oeg)
getDocumentsByGroup in interface OriginEntryDaooeg - Group the origin entry group to find entries in, by origin entry
OriginEntryDao.getDocumentsByGroup(org.kuali.kfs.gl.businessobject.OriginEntryGroup)public Iterator<OriginEntryFull> getMatchingEntries(Map searchCriteria)
getMatchingEntries in interface OriginEntryDaosearchCriteria - Map of field, value pairs
OriginEntryDao.getMatchingEntries(java.util.Map)public Iterator<OriginEntryFull> getBadBalanceEntries(Collection groups)
getBadBalanceEntries in interface OriginEntryDaogroups - a Collection of groups to remove bad entries in
OriginEntryDao.getBadBalanceEntries(java.util.Collection)
public <T> Iterator<T> getEntriesByGroup(OriginEntryGroup oeg,
int sort)
getEntriesByGroup in interface OriginEntryDaoOriginEntryGroup - the originEntryGroup that holds the origin entries to findsort - the sort order to sort entries by, defined in OriginEntryDao
public Collection<OriginEntryFull> testingGetAllEntries()
testingGetAllEntries in interface OriginEntryDaopublic void saveOriginEntry(OriginEntryInformation entry)
saveOriginEntry in interface OriginEntryDaoentry - the entry to save.public void deleteMatchingEntries(Map searchCriteria)
deleteMatchingEntries in interface OriginEntryDaosearchCriteria - a map of criteria to use as keys for building a querypublic void deleteGroups(Collection<OriginEntryGroup> groups)
deleteGroups in interface OriginEntryDaogroups - a Collection of Origin Entry Groups to delete entries inOriginEntryDao.deleteGroups(java.util.Collection)public Collection<OriginEntryFull> getMatchingEntriesByCollection(Map searchCriteria)
getMatchingEntriesByCollection in interface OriginEntryDaosearchCriteria - Map of field, value pairs
OriginEntryDao.getMatchingEntriesByCollection(java.util.Map)public Iterator getSummaryByGroupId(Collection groupIdList)
getSummaryByGroupId in interface OriginEntryDaogroupIdList - the ids of origin entry groups
org.kuali.kfs.gl.dataaccess.OriginEntryDao#getSummaryByGroupId(java.util.List)public OriginEntryFull getExactMatchingEntry(Integer entryId)
getExactMatchingEntry in interface OriginEntryDaoentryId - an entry id to find an entry for
OriginEntryDao.getExactMatchingEntry(java.lang.Integer)public Iterator getPosterOutputSummaryByGroupId(Collection groups)
getPosterOutputSummaryByGroupId in interface OriginEntryDaogroups - the origin entry groups
OriginEntryDao.getPosterOutputSummaryByGroupId(java.util.Collection)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||