public interface ImportServiceLocal extends ImportService, CRUDServiceLocal<ImportedFile,ImportedFileDTO,ImportedFileData,ImportedFileDataParams>
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
ATTR_ENTITY
Scripting attribute: the imported line entity (after successfully processing)
|
static java.lang.String |
ATTR_ERROR
Scripting attribute: the imported line error (after processing with error)
|
static java.lang.String |
ATTR_FILE
Scripting attribute: the imported file
|
static java.lang.String |
ATTR_LINE
Scripting attribute: the imported line
|
static java.lang.String |
ATTR_NEW_STATUS
Scripting attribute: the old status
|
static java.lang.String |
ATTR_OLD_STATUS
Scripting attribute: the old status
|
| Modifier and Type | Method and Description |
|---|---|
long |
archiveImports()
Gets the old imports that were not finished and deletes them.
|
void |
fillImportedLineValues(ImportedLine importedLine,
ImportedLineVO vo)
Fills the values of an importedLineVO
|
java.lang.Long |
getImportedFileIdForLine(java.lang.Long importedLineId)
Returns the imported file id of the imported line.
|
ImportType |
getImportType(ImportedFileDTO dto)
Returns the import type which matches with the given dto
|
long |
resumeImport(java.lang.Long importedFileId)
Triggers the execution of an import.
|
abort, getImportedLineData, getImportProgress, getSearchData, markAsSkipped, process, saveDescription, saveImportedLine, search, searchImportedLines, uploadfind, findAll, getEntityClass, newEntity, remove, removeAll, toDTO, toEntity, validategetData, getDataForNew, load, remove, removeAll, savestatic final java.lang.String ATTR_FILE
static final java.lang.String ATTR_OLD_STATUS
static final java.lang.String ATTR_NEW_STATUS
static final java.lang.String ATTR_LINE
static final java.lang.String ATTR_ERROR
static final java.lang.String ATTR_ENTITY
long archiveImports()
void fillImportedLineValues(ImportedLine importedLine, ImportedLineVO vo)
java.lang.Long getImportedFileIdForLine(java.lang.Long importedLineId)
ImportType getImportType(ImportedFileDTO dto)
long resumeImport(java.lang.Long importedFileId)