org.kuali.kfs.gl.service
Interface OriginEntryService

All Known Implementing Classes:
OriginEntryServiceImpl

public interface OriginEntryService

An interface of methods to interact with Origin Entries


Method Summary
 void createEntry(OriginEntryFull originEntry, PrintStream ps)
           
 void flatFile(Iterator<OriginEntryFull> entries, BufferedOutputStream bw)
          writes out a list of origin entries to an output stream.
 Map getEntriesByBufferedReader(BufferedReader inputBufferedReader, List<OriginEntryFull> originEntryList)
           
 Map getEntriesByGroupIdWithPath(String fileNameWithPath, List<OriginEntryFull> originEntryList)
           
 Integer getGroupCount(String groupId)
           
 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)
          get the summarized information of the entries that belong to the entry groups with the given group id list
 

Method Detail

createEntry

void createEntry(OriginEntryFull originEntry,
                 PrintStream ps)

flatFile

void flatFile(Iterator<OriginEntryFull> entries,
              BufferedOutputStream bw)
writes out a list of origin entries to an output stream.

Parameters:
entries - an Iterator of entries to save as text
bw - the output stream to write origin entries to

getSummaryByGroupId

LedgerEntryHolder getSummaryByGroupId(Collection groupIdList)
get the summarized information of the entries that belong to the entry groups with the given group id list

Parameters:
groupIdList - the origin entry groups
Returns:
a set of summarized information of the entries within the specified group

getPosterOutputSummaryByGroupId

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

Parameters:
groupIdList - the origin entry groups
Returns:
a map of summarized information of poster input entries within the specified groups

getGroupCount

Integer getGroupCount(String groupId)

getEntriesByBufferedReader

Map getEntriesByBufferedReader(BufferedReader inputBufferedReader,
                               List<OriginEntryFull> originEntryList)

getEntriesByGroupIdWithPath

Map getEntriesByGroupIdWithPath(String fileNameWithPath,
                                List<OriginEntryFull> originEntryList)


Copyright © 2005-2012 The Kuali Foundation. All Rights Reserved.