Class PrepareLfcTraceabilityActionPlugin
java.lang.Object
fr.gouv.vitam.worker.core.handler.ActionHandler
fr.gouv.vitam.worker.core.plugin.lfc_traceability.PrepareLfcTraceabilityActionPlugin
- All Implemented Interfaces:
VitamAutoCloseable
,WorkerAction
,AutoCloseable
- Direct Known Subclasses:
PrepareObjectGroupLfcTraceabilityActionPlugin
,PrepareUnitLfcTraceabilityActionPlugin
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final com.fasterxml.jackson.core.type.TypeReference<com.fasterxml.jackson.databind.JsonNode>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract String
void
checkMandatoryIOParameter
(HandlerIO handler) Check mandatory parameterprotected abstract InputStream
exportRawLifecyclesByLastPersistedDate
(LogbookLifeCyclesClientFactory logbookLifeCyclesClientFactory, LocalDateTime selectionStartDate, LocalDateTime selectionEndDate, int lifecycleTraceabilityMaxEntries) getRawMetadata
(Set<String> ids, MetaDataClientFactory metaDataClientFactory) protected StatusCode
selectAndExportLifecyclesWithMetadata
(int temporizationDelayInSeconds, int lifecycleTraceabilityMaxEntries, String eventType, HandlerIO handlerIO) protected abstract String
stepName()
Methods inherited from class fr.gouv.vitam.worker.core.handler.ActionHandler
checkMandatoryParameters, close, updateDetailItemStatus
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface fr.gouv.vitam.worker.core.api.WorkerAction
execute, executeList
-
Field Details
-
JSON_NODE_TYPE_REFERENCE
public static final com.fasterxml.jackson.core.type.TypeReference<com.fasterxml.jackson.databind.JsonNode> JSON_NODE_TYPE_REFERENCE
-
-
Constructor Details
-
PrepareLfcTraceabilityActionPlugin
public PrepareLfcTraceabilityActionPlugin()
-
-
Method Details
-
selectAndExportLifecyclesWithMetadata
protected StatusCode selectAndExportLifecyclesWithMetadata(int temporizationDelayInSeconds, int lifecycleTraceabilityMaxEntries, String eventType, HandlerIO handlerIO) throws ProcessingException, InvalidParseOperationException, LogbookClientException -
checkMandatoryIOParameter
Description copied from interface:WorkerAction
Check mandatory parameter- Parameters:
handler
- input output list- Throws:
ProcessingException
- when handler io is not complete
-
exportRawLifecyclesByLastPersistedDate
protected abstract InputStream exportRawLifecyclesByLastPersistedDate(LogbookLifeCyclesClientFactory logbookLifeCyclesClientFactory, LocalDateTime selectionStartDate, LocalDateTime selectionEndDate, int lifecycleTraceabilityMaxEntries) throws LogbookClientException, InvalidParseOperationException, IOException -
getRawMetadata
protected abstract Map<String,com.fasterxml.jackson.databind.JsonNode> getRawMetadata(Set<String> ids, MetaDataClientFactory metaDataClientFactory) throws ProcessingException - Throws:
ProcessingException
-
stepName
-
actionName
-