Java Doc for CorrectionDocumentService.java in  » ERP-CRM-Financial » Kuali-Financial-System » org » kuali » module » gl » service » 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 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


org.kuali.module.gl.service.CorrectionDocumentService

All known Subclasses:   org.kuali.module.gl.service.impl.CorrectionDocumentServiceImpl,
CorrectionDocumentService
public interface CorrectionDocumentService (Code)
An interface declaring methods needed by the GLCP to function


Field Summary
final public static  StringCORRECTION_TYPE_CRITERIA
    
final public static  StringCORRECTION_TYPE_MANUAL
    
final public static  StringCORRECTION_TYPE_REMOVE_GROUP_FROM_PROCESSING
    
final public static  StringSYSTEM_DATABASE
    
final public static  StringSYSTEM_UPLOAD
    
final public static  intUNLIMITED_ABORT_THRESHOLD
     When passed into CorrectionDocumentService.retrievePersistedInputOriginEntries(CorrectionDocument,int) and CorrectionDocumentService.retrievePersistedOutputOriginEntries(CorrectionDocument,int) as the int parameter, this will signify that there is no abort threshold (i.e.


Method Summary
public  booleanareInputOriginEntriesPersisted(CorrectionDocument document)
     Returns true if the system is storing input origin entries for this class.
public  booleanareOutputOriginEntriesPersisted(CorrectionDocument document)
     Returns true if the system is storing output origin entries for this class.
public  CorrectionDocumentfindByCorrectionDocumentHeaderId(String docId)
    
public  ListfindByDocumentHeaderIdAndCorrectionGroupNumber(String docId, int i)
    
public  CorrectionChangeGroupfindByDocumentNumberAndCorrectionChangeGroupNumber(String docId, int i)
    
public  ListfindByDocumentNumberAndCorrectionGroupNumber(String docId, int i)
    
public  Collection<CorrectionDocument>getCorrectionDocumentsFinalizedOn(Date date)
    
public  List<Column>getTableRenderColumnMetadata(String docId)
     Returns metadata to help render columns in the GLCP.
public  voidpersistInputOriginEntriesForInitiatedOrSavedDocument(CorrectionDocument document, Iterator<OriginEntryFull> entries)
    
public  voidpersistOriginEntryGroupsForDocumentSave(CorrectionDocument document, CorrectionDocumentEntryMetadata correctionDocumentEntryMetadata)
    
public  voidpersistOutputOriginEntriesForInitiatedOrSavedDocument(CorrectionDocument document, Iterator<OriginEntryFull> entries)
    
public  voidremovePersistedInputOriginEntries(CorrectionDocument document)
    
public  voidremovePersistedInputOriginEntries(String docId)
    
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.
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  voidwritePersistedInputOriginEntriesToStream(CorrectionDocument document, OutputStream out)
    
public  voidwritePersistedOutputOriginEntriesToStream(CorrectionDocument document, OutputStream out)
    

Field Detail
CORRECTION_TYPE_CRITERIA
final public static String CORRECTION_TYPE_CRITERIA(Code)



CORRECTION_TYPE_MANUAL
final public static String CORRECTION_TYPE_MANUAL(Code)



CORRECTION_TYPE_REMOVE_GROUP_FROM_PROCESSING
final public static String CORRECTION_TYPE_REMOVE_GROUP_FROM_PROCESSING(Code)



SYSTEM_DATABASE
final public static String SYSTEM_DATABASE(Code)



SYSTEM_UPLOAD
final public static String SYSTEM_UPLOAD(Code)



UNLIMITED_ABORT_THRESHOLD
final public static int UNLIMITED_ABORT_THRESHOLD(Code)
When passed into CorrectionDocumentService.retrievePersistedInputOriginEntries(CorrectionDocument,int) and CorrectionDocumentService.retrievePersistedOutputOriginEntries(CorrectionDocument,int) as the int parameter, this will signify that there is no abort threshold (i.e. the methods should return all of the persisted rows, regardless of number of rows.





Method Detail
areInputOriginEntriesPersisted
public boolean areInputOriginEntriesPersisted(CorrectionDocument document)(Code)
Returns true if the system is storing input origin entries for this class. Note that this does not mean that there's at least one input origin entry record persisted for this document, but merely returns true if and only if the underlying persistence mechanism has a record of this document's origin entries. See the docs for the implementations of this method for more implementation specific details.
Parameters:
  document - a GLCP document Returns true if system should store origin entries, false otherwise



areOutputOriginEntriesPersisted
public boolean areOutputOriginEntriesPersisted(CorrectionDocument document)(Code)
Returns true if the system is storing output origin entries for this class. Note that this does not mean that there's at least one output origin entry record persisted for this document, but merely returns true if and only if the underlying persistence mechanism has a record of this document's origin entries. See the docs for the implementations of this method for more implementation specific details.
Parameters:
  document - a GLCP document to query true if origin entries are stored to the system, false otherwise



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



findByDocumentHeaderIdAndCorrectionGroupNumber
public List findByDocumentHeaderIdAndCorrectionGroupNumber(String docId, int i)(Code)
Finds CollectionChange records associated with a given document id and correction change group
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



findByDocumentNumberAndCorrectionChangeGroupNumber
public CorrectionChangeGroup findByDocumentNumberAndCorrectionChangeGroupNumber(String docId, int i)(Code)
Returns a specific correction change group for a GLCP document
Parameters:
  docId - the document id of a GLCP document
Parameters:
  i - the number of the correction group within the document a CorrectionChangeGroup



findByDocumentNumberAndCorrectionGroupNumber
public List findByDocumentNumberAndCorrectionGroupNumber(String docId, int i)(Code)
Finds Collection Criteria associated with the given GLCP document and group
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



getCorrectionDocumentsFinalizedOn
public Collection<CorrectionDocument> getCorrectionDocumentsFinalizedOn(Date date)(Code)
Retrieves all of the documents that were finalized on a certain date
Parameters:
  date - the date to find GLCP documents finalized on a collection of documents



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



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



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



persistOutputOriginEntriesForInitiatedOrSavedDocument
public void persistOutputOriginEntriesForInitiatedOrSavedDocument(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 OriginEntries to persist



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



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



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



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



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



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
throws:
  RuntimeException - several reasons, primarily relating to underlying persistence layer problems



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



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



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 - an open and ready output stream
throws:
  IOException - thrown if errors were encountered writing to the Stream
throws:
  RuntimeException - several reasons, including if the entries are not persisted



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
throws:
  RuntimeException - several reasons, including if the entries are not persisted



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