@Transactional public class OriginEntryServiceImpl extends Object implements OriginEntryService
Constructor and Description |
---|
OriginEntryServiceImpl()
Constructs a new instance of OriginEntryServiceImpl
|
Modifier and Type | Method and Description |
---|---|
static LedgerEntryForReporting |
buildLedgerEntry(Object[] entrySummary)
Creates or updates a ledger entry with the array of information from the given entry summary object
|
void |
createEntry(OriginEntryFull originEntry,
PrintStream ps) |
void |
flatFile(Iterator<OriginEntryFull> entries,
BufferedOutputStream bw)
This method writes origin entries into a file format.
|
Map |
getEntriesByBufferedReader(BufferedReader inputBufferedReader,
List<OriginEntryFull> originEntryList) |
Map |
getEntriesByGroupIdWithPath(String fileNameWithPath,
List<OriginEntryFull> originEntryList) |
Integer |
getGroupCount(String fileNameWithPath) |
Map<String,PosterOutputSummaryEntry> |
getPosterOutputSummaryByGroupId(Collection groupIdList)
get the summarized information of poster input entries that belong to the entry groups with the given group id list
|
LedgerEntryHolder |
getSummaryByGroupId(Collection groupIdList)
Given a collection of group ids, summarize the entries in each group.
|
void |
setBatchFileDirectoryName(String batchFileDirectoryName) |
void |
setDateTimeService(org.kuali.rice.core.api.datetime.DateTimeService dateTimeService) |
void |
setOriginEntryGroupService(OriginEntryGroupService originEntryGroupService)
Sets the originEntryGroupService attribute
|
public OriginEntryServiceImpl()
public void setOriginEntryGroupService(OriginEntryGroupService originEntryGroupService)
originEntryGroupService
- the implementation of OriginEntryGroupService to setpublic void createEntry(OriginEntryFull originEntry, PrintStream ps)
createEntry
in interface OriginEntryService
public LedgerEntryHolder getSummaryByGroupId(Collection groupIdList)
getSummaryByGroupId
in interface OriginEntryService
groupIdList
- a Collection of the ids of origin entry groups to summarizeOriginEntryService.getSummaryByGroupId(Collection)
public static LedgerEntryForReporting buildLedgerEntry(Object[] entrySummary)
entrySummary
- a collection of java.lang.Objects, which is what OJB report queries returnpublic void flatFile(Iterator<OriginEntryFull> entries, BufferedOutputStream bw)
flatFile
in interface OriginEntryService
entries
- An iterator of OriginEntriesbw
- an opened, ready-for-output bufferedOutputStream.OriginEntryService.flatFile(java.util.Iterator, java.io.BufferedOutputStream)
public Map getEntriesByGroupIdWithPath(String fileNameWithPath, List<OriginEntryFull> originEntryList)
getEntriesByGroupIdWithPath
in interface OriginEntryService
public Map getEntriesByBufferedReader(BufferedReader inputBufferedReader, List<OriginEntryFull> originEntryList)
getEntriesByBufferedReader
in interface OriginEntryService
public Map<String,PosterOutputSummaryEntry> getPosterOutputSummaryByGroupId(Collection groupIdList)
getPosterOutputSummaryByGroupId
in interface OriginEntryService
groupIdList
- the origin entry groupsOriginEntryService.getPosterOutputSummaryByGroupId(java.util.Collection)
public Integer getGroupCount(String fileNameWithPath)
getGroupCount
in interface OriginEntryService
public void setDateTimeService(org.kuali.rice.core.api.datetime.DateTimeService dateTimeService)
public void setBatchFileDirectoryName(String batchFileDirectoryName)
Copyright © 2004–2015 The Kuali Foundation. All rights reserved.