| java.lang.Object org.kuali.module.gl.service.impl.OriginEntryServiceImpl
OriginEntryServiceImpl | public class OriginEntryServiceImpl implements OriginEntryService(Code) | | The base implementation of OriginEntryService
|
Method Summary | |
public static LedgerEntry | buildLedgerEntry(Object[] entrySummary) | public OriginEntryGroup | copyEntries(Date date, String sourceCode, boolean valid, boolean process, boolean scrub, Collection<OriginEntryFull> entries) Creates a new origin entry group with the given parameters and saves copies all of the entries in the given Collection
of entries into that new group. | public OriginEntryGroup | copyEntries(Date date, String sourceCode, boolean valid, boolean process, boolean scrub, Iterator<OriginEntryFull> entries) | public void | createEntry(Transaction transaction, OriginEntryGroup originEntryGroup) | public void | delete(OriginEntryFull oe) | public void | exportFlatFile(String filename, Integer groupId) | public void | flatFile(Integer groupId, BufferedOutputStream bw) | public void | flatFile(Iterator<OriginEntryFull> entries, BufferedOutputStream bw) This method writes origin entries into a file format. | public Iterator<OriginEntryFull> | getBadBalanceEntries(Collection groups) Return all entries for the groups where the balance type is empty. | public Collection<OriginEntryFull> | getDocumentsByGroup(OriginEntryGroup oeg) This returns all of distinct primary key sets of documents that created origin entries that exist
in the given origin entry group. | public Iterator<OriginEntryFull> | getEntriesByDocument(OriginEntryGroup originEntryGroup, String documentNumber, String documentTypeCode, String originCode) Return all the entries for a specific document in a specific group. | public Iterator<OriginEntryFull> | getEntriesByGroup(OriginEntryGroup originEntryGroup) Returns an iterator of all the origin entries in a given group. | public Iterator<OriginEntryFull> | getEntriesByGroupAccountOrder(OriginEntryGroup oeg) Return all entries for a group sorted by account number. | public List<OriginEntryFull> | getEntriesByGroupId(Integer groupId) Given the id of an origin entry group, returns a list of all the origin entries in that group (actually uses
getMatchingEntriesByCollection() to accomplish this). | public Iterator<OriginEntryFull> | getEntriesByGroupListingReportOrder(OriginEntryGroup oeg) Return all entries for a group sorted across the columns in report from left to right. | public Iterator<OriginEntryFull> | getEntriesByGroupReportOrder(OriginEntryGroup oeg) Return all entries for a group sorted for display on the pending entry report. | public OriginEntryFull | getExactMatchingEntry(Integer entryId) Returns the origin entry with the given id. | public Integer | getGroupCount(Integer groupId) Returns the number of origin entries in a group. | public Collection<OriginEntryFull> | getMatchingEntriesByCollection(Map searchCriteria) | public Map<String, PosterOutputSummaryEntry> | getPosterOutputSummaryByGroupId(Collection groupIdList) | public OriginEntryStatistics | getStatistics(Integer groupId) Retrieves teh credit total, debit total, and row count for a given origin entry group. | public LedgerEntryHolder | getSummaryByGroupId(Collection groupIdList) Given a collection of group ids, summarize the entries in each group. | public void | loadFlatFile(String filename, String groupSourceCode, boolean isValid, boolean isProcessed, boolean isScrub) | public void | save(OriginEntryFull entry) | public void | setDateTimeService(DateTimeService dateTimeService) | public void | setOriginEntryDao(OriginEntryDao originEntryDao) | public void | setOriginEntryGroupService(OriginEntryGroupService originEntryGroupService) |
OriginEntryServiceImpl | public OriginEntryServiceImpl()(Code) | | Constructs a new instance of OriginEntryServiceImpl
|
buildLedgerEntry | public static LedgerEntry buildLedgerEntry(Object[] entrySummary)(Code) | | Creates or updates a ledger entry with the array of information from the given entry summary object
Parameters: entrySummary - a collection of java.lang.Objects, which is what OJB report queries return a LedgerEntry holding the given report summarization data |
setOriginEntryDao | public void setOriginEntryDao(OriginEntryDao originEntryDao)(Code) | | Sets the originEntryDao attribute
Parameters: originEntryDao - the implementation of OriginEntryDao to set |
setOriginEntryGroupService | public void setOriginEntryGroupService(OriginEntryGroupService originEntryGroupService)(Code) | | Sets the originEntryGroupService attribute
Parameters: originEntryGroupService - the implementation of OriginEntryGroupService to set |
|
|