Java Doc for CorrectionDocumentServiceImpl.java in  » ERP-CRM-Financial » Kuali-Financial-System » org » kuali » module » gl » service » impl » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » ERP CRM Financial » Kuali Financial System » org.kuali.module.gl.service.impl 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   org.kuali.module.gl.service.impl.CorrectionDocumentServiceImpl

All known Subclasses:   org.kuali.module.labor.service.impl.LaborCorrectionDocumentServiceImpl,
CorrectionDocumentServiceImpl
public class CorrectionDocumentServiceImpl implements CorrectionDocumentService(Code)
The base implementaiton of CorrectionDocumentService


Field Summary
final protected static  StringINPUT_ORIGIN_ENTRIES_FILE_SUFFIX
    
protected static  LoggerLOG
    
final protected static  StringOUTPUT_ORIGIN_ENTRIES_FILE_SUFFIX
    
protected  CorrectionChangeDaocorrectionChangeDao
    
protected  CorrectionChangeGroupDaocorrectionChangeGroupDao
    
protected  CorrectionCriteriaDaocorrectionCriteriaDao
    
protected  CorrectionDocumentDaocorrectionDocumentDao
    
protected  DocumentDaodocumentDao
    
protected  KualiConfigurationServicekualiConfigurationService
    
protected  OriginEntryGroupServiceoriginEntryGroupService
    


Method Summary
public  booleanareInputOriginEntriesPersisted(CorrectionDocument document)
     Returns true if and only if the file corresponding to this document's input origin entries are on the file system.
public  booleanareOutputOriginEntriesPersisted(CorrectionDocument document)
     Returns true if and only if the file corresponding to this document's output origin entries are on the file system.
public  CorrectionDocumentfindByCorrectionDocumentHeaderId(String docId)
    
public  ListfindByDocumentHeaderIdAndCorrectionGroupNumber(String docId, int i)
     Finds CollectionChange records associated with a given document id and correction change group.
public  CorrectionChangeGroupfindByDocumentNumberAndCorrectionChangeGroupNumber(String docId, int i)
     Returns a specific correction change group for a GLCP document.
public  ListfindByDocumentNumberAndCorrectionGroupNumber(String docId, int i)
     Finds Collection Criteria associated with the given GLCP document and group.
protected  StringgenerateInputOriginEntryFileName(CorrectionDocument document)
    
protected  StringgenerateInputOriginEntryFileName(String docId)
    
protected  StringgenerateOutputOriginEntryFileName(CorrectionDocument document)
    
protected  StringgenerateOutputOriginEntryFileName(String docId)
    
public  Collection<CorrectionDocument>getCorrectionDocumentsFinalizedOn(Date date)
    
public  StringgetGlcpDirectoryName()
     Gets the glcpDirectoryName attribute.
public  KualiConfigurationServicegetKualiConfigurationService()
     Gets the kualiConfigurationService attribute.
public  OriginEntryGroupServicegetOriginEntryGroupService()
     Gets the originEntryGroupService attribute.
public  OriginEntryServicegetOriginEntryService()
     Gets the originEntryService attribute.
protected  StringgetOriginEntryStagingDirectoryPath()
    
public  List<Column>getTableRenderColumnMetadata(String docId)
     Returns metadata to help render columns in the GLCP.
protected  BufferedOutputStreamopenEntryOutputStreamForOutputGroup(CorrectionDocument document)
    
public  voidpersistInputOriginEntriesForInitiatedOrSavedDocument(CorrectionDocument document, Iterator<OriginEntryFull> entries)
    
protected  voidpersistOriginEntries(String fullPathUniqueFileName, Iterator<OriginEntryFull> entries)
    
public  voidpersistOriginEntryGroupsForDocumentSave(CorrectionDocument document, CorrectionDocumentEntryMetadata correctionDocumentEntryMetadata)
    
public  voidpersistOutputOriginEntriesForInitiatedOrSavedDocument(CorrectionDocument document, Iterator<OriginEntryFull> entries)
    
public  voidremovePersistedInputOriginEntries(CorrectionDocument document)
    
public  voidremovePersistedInputOriginEntries(String docId)
    
protected  voidremovePersistedOriginEntries(String fullPathUniqueFileName)
     Removes a file of origin entries.
public  voidremovePersistedOutputOriginEntries(CorrectionDocument document)
    
public  voidremovePersistedOutputOriginEntries(String docId)
    
public  List<OriginEntryFull>retrievePersistedInputOriginEntries(CorrectionDocument document, int abortThreshold)
     retrieves input origin entries that have been persisted for this document
Parameters:
  document - the document
Parameters:
  abortThreshold - if the file exceeds this number of rows, then null is returned.
public  Iterator<OriginEntryFull>retrievePersistedInputOriginEntriesAsIterator(CorrectionDocument document)
     Retrieves input origin entries that have been persisted for this document in an iterator.
protected  List<OriginEntryFull>retrievePersistedOriginEntries(String fullPathUniqueFileName, int abortThreshold)
    
protected  Iterator<OriginEntryFull>retrievePersistedOriginEntriesAsIterator(String fullPathUniqueFileName)
    
public  List<OriginEntryFull>retrievePersistedOutputOriginEntries(CorrectionDocument document, int abortThreshold)
     retrieves output origin entries that have been persisted for this document
Parameters:
  document - the document
Parameters:
  abortThreshold - if the file exceeds this number of rows, then null is returned.
public  Iterator<OriginEntryFull>retrievePersistedOutputOriginEntriesAsIterator(CorrectionDocument document)
     Retrieves output origin entries that have been persisted for this document in an iterator.
public  voidsetCorrectionChangeDao(CorrectionChangeDao correctionChangeDao)
    
public  voidsetCorrectionChangeGroupDao(CorrectionChangeGroupDao correctionChangeGroupDao)
    
public  voidsetCorrectionCriteriaDao(CorrectionCriteriaDao correctionCriteriaDao)
    
public  voidsetCorrectionDocumentDao(CorrectionDocumentDao correctionDocumentDao)
    
public  voidsetDocumentDao(DocumentDao documentDao)
    
public  voidsetGlcpDirectoryName(String glcpDirectoryName)
     Sets the glcpDirectoryName attribute value.
public  voidsetKualiConfigurationService(KualiConfigurationService kualiConfigurationService)
     Sets the kualiConfigurationService attribute value.
public  voidsetOriginEntryGroupService(OriginEntryGroupService originEntryGroupService)
     Sets the originEntryGroupService attribute value.
public  voidsetOriginEntryService(OriginEntryService originEntryService)
     Sets the originEntryService attribute value.
public  voidwritePersistedInputOriginEntriesToStream(CorrectionDocument document, OutputStream out)
    
protected  voidwritePersistedOriginEntriesToStream(String fullPathUniqueFileName, OutputStream out)
    
public  voidwritePersistedOutputOriginEntriesToStream(CorrectionDocument document, OutputStream out)
    

Field Detail
INPUT_ORIGIN_ENTRIES_FILE_SUFFIX
final protected static String INPUT_ORIGIN_ENTRIES_FILE_SUFFIX(Code)



LOG
protected static Logger LOG(Code)



OUTPUT_ORIGIN_ENTRIES_FILE_SUFFIX
final protected static String OUTPUT_ORIGIN_ENTRIES_FILE_SUFFIX(Code)



correctionChangeDao
protected CorrectionChangeDao correctionChangeDao(Code)



correctionChangeGroupDao
protected CorrectionChangeGroupDao correctionChangeGroupDao(Code)



correctionCriteriaDao
protected CorrectionCriteriaDao correctionCriteriaDao(Code)



correctionDocumentDao
protected CorrectionDocumentDao correctionDocumentDao(Code)



documentDao
protected DocumentDao documentDao(Code)



kualiConfigurationService
protected KualiConfigurationService kualiConfigurationService(Code)



originEntryGroupService
protected OriginEntryGroupService originEntryGroupService(Code)





Method Detail
areInputOriginEntriesPersisted
public boolean areInputOriginEntriesPersisted(CorrectionDocument document)(Code)
Returns true if and only if the file corresponding to this document's input origin entries are on the file system.
See Also:   org.kuali.module.gl.service.CorrectionDocumentService.areInputOriginEntriesPersisted(org.kuali.module.gl.document.CorrectionDocument)



areOutputOriginEntriesPersisted
public boolean areOutputOriginEntriesPersisted(CorrectionDocument document)(Code)
Returns true if and only if the file corresponding to this document's output origin entries are on the file system.
Parameters:
  document - a GLCP document to query true if origin entries are stored to the system, false otherwise
See Also:   org.kuali.module.gl.service.CorrectionDocumentService.areOutputOriginEntriesPersisted(org.kuali.module.gl.document.CorrectionDocument)



findByCorrectionDocumentHeaderId
public CorrectionDocument findByCorrectionDocumentHeaderId(String docId)(Code)
Retrieves a correction document by the document id
Parameters:
  docId - the document id of the GLCP to find a CorrectionDocument if found
See Also:   org.kuali.module.gl.service.CorrectionDocumentService.findByCorrectionDocumentHeaderId(java.lang.String)



findByDocumentHeaderIdAndCorrectionGroupNumber
public List findByDocumentHeaderIdAndCorrectionGroupNumber(String docId, int i)(Code)
Finds CollectionChange records associated with a given document id and correction change group. Defers to DAO
Parameters:
  docId - the document id of a GLCP document
Parameters:
  i - the number of the correction group within the document a List of qualifying CorrectionChange records
See Also:   org.kuali.module.gl.service.CorrectionDocumentService.findByDocumentHeaderIdAndCorrectionGroupNumber(java.lang.Stringint)



findByDocumentNumberAndCorrectionChangeGroupNumber
public CorrectionChangeGroup findByDocumentNumberAndCorrectionChangeGroupNumber(String docId, int i)(Code)
Returns a specific correction change group for a GLCP document. Defers to DAO.
Parameters:
  docId - the document id of a GLCP document
Parameters:
  i - the number of the correction group within the document a CorrectionChangeGroup
See Also:   org.kuali.module.gl.service.CorrectionDocumentService.findByDocumentNumberAndCorrectionChangeGroupNumber(java.lang.Stringint)



findByDocumentNumberAndCorrectionGroupNumber
public List findByDocumentNumberAndCorrectionGroupNumber(String docId, int i)(Code)
Finds Collection Criteria associated with the given GLCP document and group. Defers to DAO.
Parameters:
  docId - the document id of a GLCP document
Parameters:
  i - the number of the correction group within the document a List of qualifying CorrectionCriteria
See Also:   org.kuali.module.gl.service.CorrectionDocumentService.findByDocumentNumberAndCorrectionGroupNumber(java.lang.Stringint)



generateInputOriginEntryFileName
protected String generateInputOriginEntryFileName(CorrectionDocument document)(Code)
Generates the file name that input origin entries should be retrieved from
Parameters:
  document - a GLCP document the name of the file to read



generateInputOriginEntryFileName
protected String generateInputOriginEntryFileName(String docId)(Code)
Generates the file name that input origin entries should be retrieved from
Parameters:
  docId - the document id of a GLCP document the name of the file to read input origin entries in from



generateOutputOriginEntryFileName
protected String generateOutputOriginEntryFileName(CorrectionDocument document)(Code)
Generates the file name that output origin entries should be written to
Parameters:
  document - a GLCP document the name of the file to write to



generateOutputOriginEntryFileName
protected String generateOutputOriginEntryFileName(String docId)(Code)
Generates the file name that output origin entries should be written to
Parameters:
  docId - the document id of a GLCP document the name of the file to write output origin entries to



getCorrectionDocumentsFinalizedOn
public Collection<CorrectionDocument> getCorrectionDocumentsFinalizedOn(Date date)(Code)

See Also:   org.kuali.module.gl.service.CorrectionDocumentService.getCorrectionDocumentsFinalizedOn(java.sql.Date)



getGlcpDirectoryName
public String getGlcpDirectoryName()(Code)
Gets the glcpDirectoryName attribute. Returns the glcpDirectoryName.



getKualiConfigurationService
public KualiConfigurationService getKualiConfigurationService()(Code)
Gets the kualiConfigurationService attribute. Returns the kualiConfigurationService.



getOriginEntryGroupService
public OriginEntryGroupService getOriginEntryGroupService()(Code)
Gets the originEntryGroupService attribute. Returns the originEntryGroupService.



getOriginEntryService
public OriginEntryService getOriginEntryService()(Code)
Gets the originEntryService attribute. Returns the originEntryService.



getOriginEntryStagingDirectoryPath
protected String getOriginEntryStagingDirectoryPath()(Code)
Gets the name of the directory to save all these temporary files in the name of a directory path



getTableRenderColumnMetadata
public List<Column> getTableRenderColumnMetadata(String docId)(Code)
Returns metadata to help render columns in the GLCP. Do not modify this list or the contents in this list.
Parameters:
  docId - the document id of a GLCP document a List of Columns to render
See Also:   org.kuali.module.gl.service.CorrectionDocumentService.getTableRenderColumnMetadata(java.lang.String)



openEntryOutputStreamForOutputGroup
protected BufferedOutputStream openEntryOutputStreamForOutputGroup(CorrectionDocument document) throws IOException(Code)
Opens an Output Stream to write Origin Entries to
Parameters:
  document - the GLCP document which has the origin entries to write an OutputStream to write to
throws:
  IOException - if the file cannot be successfully opened



persistInputOriginEntriesForInitiatedOrSavedDocument
public void persistInputOriginEntriesForInitiatedOrSavedDocument(CorrectionDocument document, Iterator<OriginEntryFull> entries)(Code)
This method persists an Iterator of input origin entries for a document that is in the initiated or saved state
Parameters:
  document - an initiated or saved document
Parameters:
  entries - an Iterator of origin entries
See Also:   org.kuali.module.gl.service.CorrectionDocumentService.persistOriginEntriesToFile(java.lang.Stringjava.util.Iterator)



persistOriginEntries
protected void persistOriginEntries(String fullPathUniqueFileName, Iterator<OriginEntryFull> entries)(Code)
Saves an interator of Origin Entry records to the given file name
Parameters:
  fullPathUniqueFileName - the name of the file to write entries to
Parameters:
  entries - entries to write



persistOriginEntryGroupsForDocumentSave
public void persistOriginEntryGroupsForDocumentSave(CorrectionDocument document, CorrectionDocumentEntryMetadata correctionDocumentEntryMetadata)(Code)
Saves the input and output origin entry groups for a document prior to saving the document
Parameters:
  document - a GLCP document
Parameters:
  correctionDocumentEntryMetadata - metadata about this GLCP document
See Also:   org.kuali.module.gl.service.CorrectionDocumentService.persistOriginEntryGroupsForDocumentSave(org.kuali.module.gl.document.CorrectionDocumentorg.kuali.module.gl.util.CorrectionDocumentEntryMetadata)



persistOutputOriginEntriesForInitiatedOrSavedDocument
public void persistOutputOriginEntriesForInitiatedOrSavedDocument(CorrectionDocument document, Iterator<OriginEntryFull> entries)(Code)
This method persists an Iterator of output origin entries for a document that is in the initiated or saved state
Parameters:
  document - an initiated or saved document
Parameters:
  entries - an Iterator of origin entries
See Also:   org.kuali.module.gl.service.CorrectionDocumentService.persistOutputOriginEntriesForInitiatedOrSavedDocument(org.kuali.module.gl.document.CorrectionDocumentjava.util.Iterator)



removePersistedInputOriginEntries
public void removePersistedInputOriginEntries(CorrectionDocument document)(Code)
Removes input origin entries that were saved to the database associated with the given document
Parameters:
  document - a GLCP document
See Also:   org.kuali.module.gl.service.CorrectionDocumentService.removePersistedInputOriginEntriesForInitiatedOrSavedDocument(org.kuali.module.gl.document.CorrectionDocument)



removePersistedInputOriginEntries
public void removePersistedInputOriginEntries(String docId)(Code)
Removes input origin entries that were saved to the database associated with the given document
Parameters:
  docId - the document id of a GLCP document
See Also:   org.kuali.module.gl.service.CorrectionDocumentService.removePersistedInputOriginEntries(java.lang.String)



removePersistedOriginEntries
protected void removePersistedOriginEntries(String fullPathUniqueFileName)(Code)
Removes a file of origin entries. Just deletes the whole thing!
Parameters:
  fullPathUniqueFileName - the file name of the file holding origin entries



removePersistedOutputOriginEntries
public void removePersistedOutputOriginEntries(CorrectionDocument document)(Code)
Removes all output origin entries persisted in the database created by the given document
Parameters:
  document - a GLCP document
See Also:   org.kuali.module.gl.service.CorrectionDocumentService.removePersistedOutputOriginEntriesForInitiatedOrSavedDocument(org.kuali.module.gl.document.CorrectionDocument)



removePersistedOutputOriginEntries
public void removePersistedOutputOriginEntries(String docId)(Code)
Removes all output origin entries persisted in the database created by the given document
Parameters:
  docId - the document id of a GLCP document
See Also:   org.kuali.module.gl.service.CorrectionDocumentService.removePersistedOutputOriginEntries(java.lang.String)



retrievePersistedInputOriginEntries
public List<OriginEntryFull> retrievePersistedInputOriginEntries(CorrectionDocument document, int abortThreshold)(Code)
retrieves input origin entries that have been persisted for this document
Parameters:
  document - the document
Parameters:
  abortThreshold - if the file exceeds this number of rows, then null is returned. UNLIMITED_ABORT_THRESHOLDsignifies that there is no limit the list, or null if there are too many origin entries
throws:
  RuntimeException - several reasons, primarily relating to underlying persistence layer problems
See Also:   org.kuali.module.gl.service.CorrectionDocumentService.retrievePersistedInputOriginEntries(org.kuali.module.gl.document.CorrectionDocumentint)



retrievePersistedInputOriginEntriesAsIterator
public Iterator<OriginEntryFull> retrievePersistedInputOriginEntriesAsIterator(CorrectionDocument document)(Code)
Retrieves input origin entries that have been persisted for this document in an iterator. Implementations of this method may choose to implement this method in a way that consumes very little memory.
Parameters:
  document - the document the iterator
See Also:   org.kuali.module.gl.service.CorrectionDocumentService.retrievePersistedInputOriginEntriesAsIterator(org.kuali.module.gl.document.CorrectionDocument)



retrievePersistedOriginEntries
protected List<OriginEntryFull> retrievePersistedOriginEntries(String fullPathUniqueFileName, int abortThreshold)(Code)
Reads a file of origin entries and returns a List of those entry records
Parameters:
  fullPathUniqueFileName - the file name of the file to read
Parameters:
  abortThreshold - if more entries than this need to be read...well, they just won't get read a List of OriginEntryFulls



retrievePersistedOriginEntriesAsIterator
protected Iterator<OriginEntryFull> retrievePersistedOriginEntriesAsIterator(String fullPathUniqueFileName)(Code)
Reads origin entries from a file to an iterator
Parameters:
  fullPathUniqueFileName - the file name to read from an Iterator of OriginEntries



retrievePersistedOutputOriginEntries
public List<OriginEntryFull> retrievePersistedOutputOriginEntries(CorrectionDocument document, int abortThreshold)(Code)
retrieves output origin entries that have been persisted for this document
Parameters:
  document - the document
Parameters:
  abortThreshold - if the file exceeds this number of rows, then null is returned. UNLIMITED_ABORT_THRESHOLDsignifies that there is no limit the list, or null if there are too many origin entries
throws:
  RuntimeException - several reasons, primarily relating to underlying persistence layer problems
See Also:   org.kuali.module.gl.service.CorrectionDocumentService.retrievePersistedOutputOriginEntries(org.kuali.module.gl.document.CorrectionDocumentint)



retrievePersistedOutputOriginEntriesAsIterator
public Iterator<OriginEntryFull> retrievePersistedOutputOriginEntriesAsIterator(CorrectionDocument document)(Code)
Retrieves output origin entries that have been persisted for this document in an iterator. Implementations of this method may choose to implement this method in a way that consumes very little memory.
Parameters:
  document - the document the iterator
throws:
  RuntimeException - several reasons, primarily relating to underlying persistence layer problems
See Also:   org.kuali.module.gl.service.CorrectionDocumentService.retrievePersistedOutputOriginEntriesAsIterator(org.kuali.module.gl.document.CorrectionDocument)



setCorrectionChangeDao
public void setCorrectionChangeDao(CorrectionChangeDao correctionChangeDao)(Code)



setCorrectionChangeGroupDao
public void setCorrectionChangeGroupDao(CorrectionChangeGroupDao correctionChangeGroupDao)(Code)



setCorrectionCriteriaDao
public void setCorrectionCriteriaDao(CorrectionCriteriaDao correctionCriteriaDao)(Code)



setCorrectionDocumentDao
public void setCorrectionDocumentDao(CorrectionDocumentDao correctionDocumentDao)(Code)



setDocumentDao
public void setDocumentDao(DocumentDao documentDao)(Code)



setGlcpDirectoryName
public void setGlcpDirectoryName(String glcpDirectoryName)(Code)
Sets the glcpDirectoryName attribute value.
Parameters:
  glcpDirectoryName - The glcpDirectoryName to set.



setKualiConfigurationService
public void setKualiConfigurationService(KualiConfigurationService kualiConfigurationService)(Code)
Sets the kualiConfigurationService attribute value.
Parameters:
  kualiConfigurationService - The kualiConfigurationService to set.



setOriginEntryGroupService
public void setOriginEntryGroupService(OriginEntryGroupService originEntryGroupService)(Code)
Sets the originEntryGroupService attribute value.
Parameters:
  originEntryGroupService - The originEntryGroupService to set.



setOriginEntryService
public void setOriginEntryService(OriginEntryService originEntryService)(Code)
Sets the originEntryService attribute value.
Parameters:
  originEntryService - The originEntryService to set.



writePersistedInputOriginEntriesToStream
public void writePersistedInputOriginEntriesToStream(CorrectionDocument document, OutputStream out) throws IOException(Code)
Writes out the persisted input origin entries in an OutputStream in a flat file format\
Parameters:
  document - a GLCP document
Parameters:
  out - axn open and ready output stream
throws:
  IOException - thrown if IOExceptions occurred in writing the persisted origin entries
See Also:   org.kuali.module.gl.service.CorrectionDocumentService.writePersistedInputOriginEntriesToStream(java.io.OutputStream)



writePersistedOriginEntriesToStream
protected void writePersistedOriginEntriesToStream(String fullPathUniqueFileName, OutputStream out) throws IOException(Code)
Writes origin entries to an output stream
Parameters:
  fullPathUniqueFileName - the name of the file to write to
Parameters:
  out - an output stream to write to
throws:
  IOException - thrown if problems occur during writing



writePersistedOutputOriginEntriesToStream
public void writePersistedOutputOriginEntriesToStream(CorrectionDocument document, OutputStream out) throws IOException(Code)
Writes out the persisted output origin entries in an OutputStream in a flat file format\
Parameters:
  document - a GLCP document
Parameters:
  out - axn open and ready output stream
throws:
  IOException - thrown if IOExceptions occurred in writing the persisted origin entries
See Also:   org.kuali.module.gl.service.CorrectionDocumentService.writePersistedOutputOriginEntriesToStream(java.io.OutputStream)



Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.