public interface ImportService extends CRUDService<ImportedFileDTO,ImportedFileData,ImportType>
| Modifier and Type | Method and Description |
|---|---|
boolean |
abort(java.lang.Long importedFileId)
Attempts to trigger the abort process of the given import.
|
ImportedLineData |
getImportedLineData(java.lang.Long importedLineId)
Returns the imported line data
|
ImportProgressVO |
getImportProgress(long importedFileId)
Returns a double between 0 and 1 indicating the progress of the given import.
|
ImportedFileSearchData |
getSearchData(ImportedFileQuery params)
Returns information to perform searches over imports.
|
void |
markAsSkipped(java.lang.Long importedFileId,
java.util.List<java.lang.Long> lineIds,
boolean skipped)
Sets if the lines should be skipped by the import process or not based on the skipped parameter.
|
void |
process(java.lang.Long importedFileId)
Starts an import
|
void |
saveDescription(java.lang.Long importedFileId,
java.lang.String description)
Saves the description for the specified imported file id.
|
void |
saveImportedLine(ImportedLineDTO importedLineDTO)
Saves the values of the imported line
|
Page<ImportedFileVO> |
search(ImportedFileQuery params)
Returns the imports that satisfy the query restrictions.
|
Page<ImportedLineVO> |
searchImportedLines(ImportedLineQuery params)
Returns the imported lines that matches the query restrictions.
|
java.lang.Long |
upload(ImportedFileDTO importedFileDTO,
SerializableInputStream input)
Uploads a file to be imported
|
getData, getDataForNew, load, remove, removeAll, saveboolean abort(java.lang.Long importedFileId)
throws FrameworkException
FrameworkExceptionImportedLineData getImportedLineData(java.lang.Long importedLineId) throws FrameworkException
FrameworkExceptionImportProgressVO getImportProgress(long importedFileId) throws FrameworkException
FrameworkExceptionImportedFileSearchData getSearchData(ImportedFileQuery params) throws FrameworkException
FrameworkExceptionvoid markAsSkipped(java.lang.Long importedFileId,
java.util.List<java.lang.Long> lineIds,
boolean skipped)
throws FrameworkException
FrameworkExceptionvoid process(java.lang.Long importedFileId)
throws FrameworkException
FrameworkExceptionvoid saveDescription(java.lang.Long importedFileId,
java.lang.String description)
throws FrameworkException
FrameworkExceptionvoid saveImportedLine(ImportedLineDTO importedLineDTO) throws FrameworkException
FrameworkExceptionPage<ImportedFileVO> search(ImportedFileQuery params) throws FrameworkException
FrameworkExceptionPage<ImportedLineVO> searchImportedLines(ImportedLineQuery params) throws FrameworkException
FrameworkExceptionjava.lang.Long upload(ImportedFileDTO importedFileDTO, SerializableInputStream input) throws FrameworkException
FrameworkException