|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface OriginEntryDao
Field Summary | |
---|---|
static int |
SORT_ACCOUNT
Sort origin entries by account number |
static int |
SORT_DOCUMENT
Sort origin entries by document id |
static int |
SORT_LISTING_REPORT
Sort origin entries by listing report order (by fiscal year, chart code, account number, etc.: the order you see them in in generated text files) |
static int |
SORT_REPORT
Sort origin entries by standard report order (by document type code and system origination code) |
Method Summary | ||
---|---|---|
void |
deleteEntry(OriginEntryInformation oe)
Delete an entry |
|
void |
deleteGroups(Collection<OriginEntryGroup> groups)
Delete all the groups in the list. |
|
void |
deleteMatchingEntries(Map searchCriteria)
Delete entries that match criteria |
|
Iterator<OriginEntryFull> |
getBadBalanceEntries(Collection groups)
Get bad balance entries; bad because a) they have invalid balance types, and b) because they revert the balances back to their stone age selves |
|
Iterator |
getDocumentsByGroup(OriginEntryGroup oeg)
Return an iterator to all document keys reference by origin entries in a given group |
|
|
getEntriesByGroup(OriginEntryGroup oeg,
int sort)
Return an iterator to all the entries in a group |
|
OriginEntryFull |
getExactMatchingEntry(Integer entryId)
Finds 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 |
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)
Save origin entry |
|
Collection |
testingGetAllEntries()
This method should only be used in unit tests. |
Field Detail |
---|
static final int SORT_DOCUMENT
static final int SORT_ACCOUNT
static final int SORT_REPORT
static final int SORT_LISTING_REPORT
Method Detail |
---|
org.kuali.rice.kns.util.KualiDecimal getGroupTotal(Integer groupId, boolean isCredit)
the
- id of the origin entry group to totalisCredit
- whether the total should be of credits or not
Integer getGroupCount(Integer groupId)
the
- id of an origin entry group
Iterator getGroupCounts()
void deleteEntry(OriginEntryInformation oe)
oe
- Entry to deleteIterator getDocumentsByGroup(OriginEntryGroup oeg)
oeg
- Group the origin entry group to find entries in, by origin entry
<T> Iterator<T> getEntriesByGroup(OriginEntryGroup oeg, int sort)
oeg
- the origin entry group to get entries insort
- the Sort Order (one of the Sort Orders defined by the SORT_ constants defined in this class)
Iterator<OriginEntryFull> getBadBalanceEntries(Collection groups)
groups
- a Collection of groups to remove bad entries in
Collection<OriginEntryFull> getMatchingEntriesByCollection(Map searchCriteria)
searchCriteria
- Map of field, value pairs
Iterator getMatchingEntries(Map searchCriteria)
searchCriteria
- Map of field, value pairs
void deleteMatchingEntries(Map searchCriteria)
searchCriteria
- Map of field, value pairsvoid deleteGroups(Collection<OriginEntryGroup> groups)
groups
- a Collection of Origin Entry Groups to delete entries invoid saveOriginEntry(OriginEntryInformation entry)
entry
- entry to saveOriginEntryFull getExactMatchingEntry(Integer entryId)
entryId
- an entry id to find an entry for
Iterator getSummaryByGroupId(Collection groupIdList)
groupIdList
- the ids of origin entry groups
Collection testingGetAllEntries()
Iterator getPosterOutputSummaryByGroupId(Collection groups)
groups
- the origin entry groups
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |