public interface OriginEntryDao
Modifier and Type | Field and Description |
---|---|
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)
|
Modifier and Type | Method and Description |
---|---|
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
|
<T> Iterator<T> |
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.core.api.util.type.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
|
Collection |
testingGetAllEntries()
This method should only be used in unit tests.
|
static final int SORT_DOCUMENT
static final int SORT_ACCOUNT
static final int SORT_REPORT
static final int SORT_LISTING_REPORT
org.kuali.rice.core.api.util.type.KualiDecimal getGroupTotal(Integer groupId, boolean isCredit)
the
- id of the origin entry group to totalisCredit
- whether the total should be of credits or notInteger getGroupCount(Integer groupId)
the
- id of an origin entry groupIterator 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 inCollection<OriginEntryFull> getMatchingEntriesByCollection(Map searchCriteria)
searchCriteria
- Map of field, value pairsIterator getMatchingEntries(Map searchCriteria)
searchCriteria
- Map of field, value pairsvoid deleteMatchingEntries(Map searchCriteria)
searchCriteria
- Map of field, value pairsvoid deleteGroups(Collection<OriginEntryGroup> groups)
groups
- a Collection of Origin Entry Groups to delete entries inOriginEntryFull getExactMatchingEntry(Integer entryId)
entryId
- an entry id to find an entry forIterator getSummaryByGroupId(Collection groupIdList)
groupIdList
- the ids of origin entry groupsCollection testingGetAllEntries()
Iterator getPosterOutputSummaryByGroupId(Collection groups)
groups
- the origin entry groupsCopyright © 2004–2015 The Kuali Foundation. All rights reserved.