| org.kuali.module.gl.dao.OriginEntryDao
All known Subclasses: org.kuali.module.gl.dao.ojb.OriginEntryDaoOjb,
OriginEntryDao | public interface OriginEntryDao (Code) | | |
SORT_ACCOUNT | final public static int SORT_ACCOUNT(Code) | | Sort origin entries by account number
|
SORT_DOCUMENT | final public static int SORT_DOCUMENT(Code) | | Sort origin entries by document id
|
SORT_LISTING_REPORT | final public static int SORT_LISTING_REPORT(Code) | | 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)
|
SORT_REPORT | final public static int SORT_REPORT(Code) | | Sort origin entries by standard report order (by document type code and system origination code)
|
deleteEntry | public void deleteEntry(OriginEntry oe)(Code) | | Delete an entry
Parameters: oe - Entry to delete |
deleteGroups | public void deleteGroups(Collection<OriginEntryGroup> groups)(Code) | | Delete all the groups in the list. This will delete the entries. The OriginEntryGroupDao has a method to delete the groups
Parameters: groups - a Collection of Origin Entry Groups to delete entries in |
deleteMatchingEntries | public void deleteMatchingEntries(Map searchCriteria)(Code) | | Delete entries that match criteria
Parameters: searchCriteria - Map of field, value pairs |
getBadBalanceEntries | public Iterator<OriginEntryFull> getBadBalanceEntries(Collection groups)(Code) | | 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
Parameters: groups - a Collection of groups to remove bad entries in an Iterator of no good, won't use, bad balance entries |
getDocumentsByGroup | public Iterator getDocumentsByGroup(OriginEntryGroup oeg)(Code) | | Return an iterator to all document keys reference by origin entries in a given group
Parameters: oeg - Group the origin entry group to find entries in, by origin entry Iterator of java.lang.Object[] with report data about all of the distinct document numbers/type code/origination code combinations of origin entries in the group |
getEntriesByGroup | public Iterator<T> getEntriesByGroup(OriginEntryGroup oeg, int sort)(Code) | | Return an iterator to all the entries in a group
Parameters: oeg - the origin entry group to get entries in Parameters: sort - the Sort Order (one of the Sort Orders defined by the SORT_ constants defined in this class) Iterator of entries in the specified group |
getExactMatchingEntry | public OriginEntryFull getExactMatchingEntry(Integer entryId)(Code) | | Finds an entry for the given entryId, or returns a newly created on
Parameters: entryId - an entry id to find an entry for the entry for the given entry id, or a newly created entry |
getGroupCount | public Integer getGroupCount(Integer groupId)(Code) | | Counts the number of entries in a group
Parameters: the - id of an origin entry group the count of the entries in that group |
getGroupCounts | public Iterator getGroupCounts()(Code) | | Counts of rows of all the origin entry groups
iterator of Object[] {[BigDecimal id,BigDecimal count]} |
getGroupTotal | public KualiDecimal getGroupTotal(Integer groupId, boolean isCredit)(Code) | | Get the total amount of transactions in a group
Parameters: the - id of the origin entry group to total Parameters: isCredit - whether the total should be of credits or not the sum of all queried origin entries |
getMatchingEntries | public Iterator getMatchingEntries(Map searchCriteria)(Code) | | Iterator of entries that match criteria
Parameters: searchCriteria - Map of field, value pairs collection of entries |
getMatchingEntriesByCollection | public Collection<OriginEntryFull> getMatchingEntriesByCollection(Map searchCriteria)(Code) | | Collection of entries that match criteria
Parameters: searchCriteria - Map of field, value pairs collection of entries |
getPosterOutputSummaryByGroupId | public Iterator getPosterOutputSummaryByGroupId(Collection groups)(Code) | | get the summarized information of poster input entries that belong to the entry groups with the given group id list
Parameters: groups - the origin entry groups a set of summarized information of poster input entries within the specified groups |
getSummaryByGroupId | public Iterator getSummaryByGroupId(Collection groupIdList)(Code) | | get the summarized information of the entries that belong to the entry groups with the given group ids
Parameters: groupIdList - the ids of origin entry groups a set of summarized information of the entries within the specified groups |
saveOriginEntry | public void saveOriginEntry(OriginEntry entry)(Code) | | Save origin entry
Parameters: entry - entry to save |
testingGetAllEntries | public Collection testingGetAllEntries()(Code) | | This method should only be used in unit tests. It loads all the gl_origin_entry_t rows in memory into a collection. This
won't scale for production.
a Collection with every single origin entry in the database |
|
|