public class ExportExecutorEmptyImpl extends Object implements ExportExecutor
| Constructor and Description |
|---|
ExportExecutorEmptyImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
executeExport(String exportQueryKey,
Consumer<Map<String,String>> lineProcessor,
boolean incremental,
Integer nbMaxResults,
Map<String,Object> queryParameters)
Executes the query designated by the key and passes the lines procuced to the consumer.
|
void |
flagItems(ItemKind kind,
List<Long> elementIds,
String functionCode) |
List<String> |
getAvailableExports() |
void |
unflagItems(ItemKind kind,
List<Long> elementIds,
String functionCode) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitexecuteExportpublic void executeExport(String exportQueryKey, Consumer<Map<String,String>> lineProcessor, boolean incremental, Integer nbMaxResults, Map<String,Object> queryParameters)
ExportExecutorexecuteExport in interface ExportExecutorincremental - : if true, the export will only the contain the lines exported since the last successful execution.nbMaxResults - : default : Integer.MAX_VALUEqueryParameters - : a very simple binding map parameters for the query. Only supported value types are : String, Number, Date and nullpublic void flagItems(ItemKind kind, List<Long> elementIds, String functionCode) throws ExportExecutionException
flagItems in interface ExportExecutorkind - : Type of elements to be flaggedelementIds - : Ids to be flaggedfunctionCode - : not mandatory. If passed, the items will be flagged as if flagged from the function passed as a parameter.ExportExecutionExceptionpublic void unflagItems(ItemKind kind, List<Long> elementIds, String functionCode) throws ExportExecutionException
unflagItems in interface ExportExecutorkind - : Type of elements to be unflaggedelementIds - : Ids to be unflaggedfunctionCode - : not mandatory. If passed, the items will be flagged as if flagged from the function passed as a parameter.ExportExecutionExceptionpublic List<String> getAvailableExports()
getAvailableExports in interface ExportExecutorCopyright © 2021. All rights reserved.