| org.kuali.module.labor.service.LaborCorrectionDocumentService
All known Subclasses: org.kuali.module.labor.service.impl.LaborCorrectionDocumentServiceImpl,
LaborCorrectionDocumentService | public interface LaborCorrectionDocumentService (Code) | | Defines methods that must be implemented by classes providing a LaborCorrectionDocumentServiceImpl.
|
Method Summary | |
public boolean | areInputOriginEntriesPersisted(LaborCorrectionDocument document) Returns true if the system is storing input origin entries for this class. | public boolean | areOutputOriginEntriesPersisted(LaborCorrectionDocument document) Returns true if the system is storing output origin entries for this class. | public LaborCorrectionDocument | findByCorrectionDocumentHeaderId(String docId) | public List | findByDocumentHeaderIdAndCorrectionGroupNumber(String docId, int i) | public CorrectionChangeGroup | findByDocumentNumberAndCorrectionChangeGroupNumber(String docId, int i) | public List | findByDocumentNumberAndCorrectionGroupNumber(String docId, int i) | public List<Column> | getTableRenderColumnMetadata(String docId) Returns metadata to help render columns in the LLCP. | public void | persistInputOriginEntriesForInitiatedOrSavedDocument(LaborCorrectionDocument document, Iterator<LaborOriginEntry> entries) | public void | persistOriginEntryGroupsForDocumentSave(LaborCorrectionDocument document, CorrectionDocumentEntryMetadata correctionDocumentEntryMetadata) | public void | persistOutputLaborOriginEntriesForInitiatedOrSavedDocument(LaborCorrectionDocument document, Iterator<LaborOriginEntry> entries) | public void | removePersistedInputOriginEntries(LaborCorrectionDocument document) | public void | removePersistedInputOriginEntries(String docId) | public void | removePersistedOutputOriginEntries(LaborCorrectionDocument document) | public void | removePersistedOutputOriginEntries(String docId) | public List<LaborOriginEntry> | retrievePersistedInputOriginEntries(LaborCorrectionDocument 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<LaborOriginEntry> | retrievePersistedInputOriginEntriesAsIterator(LaborCorrectionDocument document) Retrieves input origin entries that have been persisted for this document in an iterator. | public List<LaborOriginEntry> | retrievePersistedOutputOriginEntries(LaborCorrectionDocument 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<LaborOriginEntry> | retrievePersistedOutputOriginEntriesAsIterator(LaborCorrectionDocument document) Retrieves output origin entries that have been persisted for this document in an iterator. | public void | writePersistedInputOriginEntriesToStream(LaborCorrectionDocument document, OutputStream out) | public void | writePersistedOutputOriginEntriesToStream(LaborCorrectionDocument document, OutputStream out) |
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) | | |
areInputOriginEntriesPersisted | public boolean areInputOriginEntriesPersisted(LaborCorrectionDocument 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 - |
areOutputOriginEntriesPersisted | public boolean areOutputOriginEntriesPersisted(LaborCorrectionDocument 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 - |
findByCorrectionDocumentHeaderId | public LaborCorrectionDocument findByCorrectionDocumentHeaderId(String docId)(Code) | | Find and return laborCorrectionDocument with document number
docId, i |
findByDocumentHeaderIdAndCorrectionGroupNumber | public List findByDocumentHeaderIdAndCorrectionGroupNumber(String docId, int i)(Code) | | Find and return correctionChange with document number and Group Number
docId, i list of correctionChange |
findByDocumentNumberAndCorrectionChangeGroupNumber | public CorrectionChangeGroup findByDocumentNumberAndCorrectionChangeGroupNumber(String docId, int i)(Code) | | Find and return correctionChangeGroup with document number and Group Number
docId, i |
findByDocumentNumberAndCorrectionGroupNumber | public List findByDocumentNumberAndCorrectionGroupNumber(String docId, int i)(Code) | | Find and return list of correctionCriteria with document number and Group Number
docId, i |
getTableRenderColumnMetadata | public List<Column> getTableRenderColumnMetadata(String docId)(Code) | | Returns metadata to help render columns in the LLCP. Do not modify this list or the contents in this list.
Parameters: docId - |
persistInputOriginEntriesForInitiatedOrSavedDocument | public void persistInputOriginEntriesForInitiatedOrSavedDocument(LaborCorrectionDocument document, Iterator<LaborOriginEntry> 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 - |
persistOriginEntryGroupsForDocumentSave | public void persistOriginEntryGroupsForDocumentSave(LaborCorrectionDocument document, CorrectionDocumentEntryMetadata correctionDocumentEntryMetadata)(Code) | | Saves the input and output origin entry groups for a document prior to saving the document
Parameters: document - Parameters: LaborCorrectionDocumentEntryMetadata - |
persistOutputLaborOriginEntriesForInitiatedOrSavedDocument | public void persistOutputLaborOriginEntriesForInitiatedOrSavedDocument(LaborCorrectionDocument document, Iterator<LaborOriginEntry> 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 - |
retrievePersistedInputOriginEntries | public List<LaborOriginEntry> retrievePersistedInputOriginEntries(LaborCorrectionDocument 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<LaborOriginEntry> retrievePersistedInputOriginEntriesAsIterator(LaborCorrectionDocument 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<LaborOriginEntry> retrievePersistedOutputOriginEntries(LaborCorrectionDocument 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<LaborOriginEntry> retrievePersistedOutputOriginEntriesAsIterator(LaborCorrectionDocument 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 |
|
|