Class ExtractSedaActionHandler
java.lang.Object
fr.gouv.vitam.worker.core.handler.ActionHandler
fr.gouv.vitam.worker.core.handler.ExtractSedaActionHandler
- All Implemented Interfaces:
VitamAutoCloseable
,WorkerAction
,AutoCloseable
Handler class used to extract metaData.
Create and put a new file (metadata extracted) json.json into container GUID
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
static final String
static final int
static final int
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
checkMandatoryIOParameter
(HandlerIO handler) Check mandatory parameterexecute
(WorkerParameters params, HandlerIO handlerIO) Execute an actionstatic String
getId()
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
-
Field Details
-
OG_ID_TO_UNID_ID_IO_RANK
public static final int OG_ID_TO_UNID_ID_IO_RANK- See Also:
-
OG_ID_TO_GUID_IO_MEMORY_RANK
public static final int OG_ID_TO_GUID_IO_MEMORY_RANK- See Also:
-
SUBTASK_ERROR_PARSE_ATTACHMENT
- See Also:
-
SUBTASK_EMPTY_KEY_ATTACHMENT
- See Also:
-
SUBTASK_NULL_LINK_PARENT_ID_ATTACHMENT
- See Also:
-
SUBTASK_TOO_MANY_FOUND_ATTACHMENT
- See Also:
-
EXPECTED_MANDATORY_VERSION_1
- See Also:
-
SUBTASK_NOT_FOUND_ATTACHMENT
- See Also:
-
SUBTASK_ATTACHMENT_REQUIRED
- See Also:
-
SUBTASK_UNAUTHORIZED_ATTACHMENT
- See Also:
-
SUBTASK_UNAUTHORIZED_ATTACHMENT_BY_CONTRACT
- See Also:
-
SUBTASK_UNAUTHORIZED_ATTACHMENT_BY_BAD_SP
- See Also:
-
SUBTASK_INVALID_GUID_ATTACHMENT
- See Also:
-
SUBTASK_MODIFY_PARENT_EXISTING_UNIT_UNAUTHORIZED
- See Also:
-
MANAGEMENT_CONTRACT_ID_FIELD
- See Also:
-
-
Constructor Details
-
ExtractSedaActionHandler
public ExtractSedaActionHandler()Constructor with parameter SedaUtilsFactory
-
-
Method Details
-
getId
- Returns:
- HANDLER_ID
-
execute
Description copied from interface:WorkerAction
Execute an action- Parameters:
params
-WorkerParameters
handlerIO
- the handlerIo- Returns:
- CompositeItemStatus:response contains a list of functional message and status code
-
checkMandatoryIOParameter
Description copied from interface:WorkerAction
Check mandatory parameter- Parameters:
handler
- input output list- Throws:
ProcessingException
- when handler io is not complete
-