Class PrepareObjectGroupLfcTraceabilityActionPlugin
java.lang.Object
fr.gouv.vitam.worker.core.handler.ActionHandler
fr.gouv.vitam.worker.core.plugin.lfc_traceability.PrepareLfcTraceabilityActionPlugin
fr.gouv.vitam.worker.core.plugin.lfc_traceability.PrepareObjectGroupLfcTraceabilityActionPlugin
- All Implemented Interfaces:
VitamAutoCloseable
,WorkerAction
,AutoCloseable
public class PrepareObjectGroupLfcTraceabilityActionPlugin
extends PrepareLfcTraceabilityActionPlugin
PrepareObjectGroupLfcTraceabilityActionPlugin.
-
Field Summary
Fields inherited from class fr.gouv.vitam.worker.core.plugin.lfc_traceability.PrepareLfcTraceabilityActionPlugin
JSON_NODE_TYPE_REFERENCE
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected String
execute
(WorkerParameters params, HandlerIO handler) Execute an actionprotected InputStream
exportRawLifecyclesByLastPersistedDate
(LogbookLifeCyclesClientFactory logbookLifeCyclesClientFactory, LocalDateTime startDate, LocalDateTime endDate, int maxEntries) static String
getId()
getRawMetadata
(Set<String> ids, MetaDataClientFactory metaDataClientFactory) protected String
stepName()
Methods inherited from class fr.gouv.vitam.worker.core.plugin.lfc_traceability.PrepareLfcTraceabilityActionPlugin
checkMandatoryIOParameter, selectAndExportLifecyclesWithMetadata
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
executeList
-
Constructor Details
-
PrepareObjectGroupLfcTraceabilityActionPlugin
public PrepareObjectGroupLfcTraceabilityActionPlugin()
-
-
Method Details
-
execute
Description copied from interface:WorkerAction
Execute an action- Parameters:
params
-WorkerParameters
handler
- the handlerIo- Returns:
- CompositeItemStatus:response contains a list of functional message and status code
- Throws:
ProcessingException
- if an error is encountered when executing the action
-
exportRawLifecyclesByLastPersistedDate
protected InputStream exportRawLifecyclesByLastPersistedDate(LogbookLifeCyclesClientFactory logbookLifeCyclesClientFactory, LocalDateTime startDate, LocalDateTime endDate, int maxEntries) throws LogbookClientException, InvalidParseOperationException, IOException - Specified by:
exportRawLifecyclesByLastPersistedDate
in classPrepareLfcTraceabilityActionPlugin
- Throws:
LogbookClientException
InvalidParseOperationException
IOException
-
getRawMetadata
protected Map<String,com.fasterxml.jackson.databind.JsonNode> getRawMetadata(Set<String> ids, MetaDataClientFactory metaDataClientFactory) throws ProcessingException - Specified by:
getRawMetadata
in classPrepareLfcTraceabilityActionPlugin
- Throws:
ProcessingException
-
stepName
- Specified by:
stepName
in classPrepareLfcTraceabilityActionPlugin
-
actionName
- Specified by:
actionName
in classPrepareLfcTraceabilityActionPlugin
-
getId
-