Method Summary |
|
public boolean | areInputOriginEntriesPersisted(CorrectionDocument document) Returns true if and only if the file corresponding to this document's input origin entries are on the file system. |
public boolean | areOutputOriginEntriesPersisted(CorrectionDocument document) Returns true if and only if the file corresponding to this document's output origin entries are on the file system. |
public CorrectionDocument | findByCorrectionDocumentHeaderId(String docId) |
public List | findByDocumentHeaderIdAndCorrectionGroupNumber(String docId, int i) Finds CollectionChange records associated with a given document id and correction change group. |
public CorrectionChangeGroup | findByDocumentNumberAndCorrectionChangeGroupNumber(String docId, int i) Returns a specific correction change group for a GLCP document. |
public List | findByDocumentNumberAndCorrectionGroupNumber(String docId, int i) Finds Collection Criteria associated with the given GLCP document and group. |
protected String | generateInputOriginEntryFileName(CorrectionDocument document) |
protected String | generateInputOriginEntryFileName(String docId) |
protected String | generateOutputOriginEntryFileName(CorrectionDocument document) |
protected String | generateOutputOriginEntryFileName(String docId) |
public Collection<CorrectionDocument> | getCorrectionDocumentsFinalizedOn(Date date) |
public String | getGlcpDirectoryName() Gets the glcpDirectoryName attribute. |
public KualiConfigurationService | getKualiConfigurationService() Gets the kualiConfigurationService attribute. |
public OriginEntryGroupService | getOriginEntryGroupService() Gets the originEntryGroupService attribute. |
public OriginEntryService | getOriginEntryService() Gets the originEntryService attribute. |
protected String | getOriginEntryStagingDirectoryPath() |
public List<Column> | getTableRenderColumnMetadata(String docId) Returns metadata to help render columns in the GLCP. |
protected BufferedOutputStream | openEntryOutputStreamForOutputGroup(CorrectionDocument document) |
public void | persistInputOriginEntriesForInitiatedOrSavedDocument(CorrectionDocument document, Iterator<OriginEntryFull> entries) |
protected void | persistOriginEntries(String fullPathUniqueFileName, Iterator<OriginEntryFull> entries) |
public void | persistOriginEntryGroupsForDocumentSave(CorrectionDocument document, CorrectionDocumentEntryMetadata correctionDocumentEntryMetadata) |
public void | persistOutputOriginEntriesForInitiatedOrSavedDocument(CorrectionDocument document, Iterator<OriginEntryFull> entries) |
public void | removePersistedInputOriginEntries(CorrectionDocument document) |
public void | removePersistedInputOriginEntries(String docId) |
protected void | removePersistedOriginEntries(String fullPathUniqueFileName) Removes a file of origin entries. |
public void | removePersistedOutputOriginEntries(CorrectionDocument document) |
public void | removePersistedOutputOriginEntries(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 void | setCorrectionChangeDao(CorrectionChangeDao correctionChangeDao) |
public void | setCorrectionChangeGroupDao(CorrectionChangeGroupDao correctionChangeGroupDao) |
public void | setCorrectionCriteriaDao(CorrectionCriteriaDao correctionCriteriaDao) |
public void | setCorrectionDocumentDao(CorrectionDocumentDao correctionDocumentDao) |
public void | setDocumentDao(DocumentDao documentDao) |
public void | setGlcpDirectoryName(String glcpDirectoryName) Sets the glcpDirectoryName attribute value. |
public void | setKualiConfigurationService(KualiConfigurationService kualiConfigurationService) Sets the kualiConfigurationService attribute value. |
public void | setOriginEntryGroupService(OriginEntryGroupService originEntryGroupService) Sets the originEntryGroupService attribute value. |
public void | setOriginEntryService(OriginEntryService originEntryService) Sets the originEntryService attribute value. |
public void | writePersistedInputOriginEntriesToStream(CorrectionDocument document, OutputStream out) |
protected void | writePersistedOriginEntriesToStream(String fullPathUniqueFileName, OutputStream out) |
public void | writePersistedOutputOriginEntriesToStream(CorrectionDocument document, OutputStream out) |