Class StorageLogbookParameters
java.lang.Object
fr.gouv.vitam.storage.engine.server.storagelog.parameters.StorageLogbookParameters
- All Implemented Interfaces:
StorageLogStructure
Storage Logbook Parameters Class
-
Method Summary
Modifier and TypeMethodDescriptionstatic StorageLogbookParameters
buildDeleteLogParameters
(Map<StorageLogbookParameterName, String> mapParameters) static StorageLogbookParameters
createLogParameters
(String objectIdentifier, String dataCategory, String digest, String digestAlgorithm, String size, String agentIdentifiers, String agentIdentifierRequester, StorageLogbookOutcome outcome) Get the event date time as a local date timeGet the parameters mapGet the status as an outcomesetStatus
(StorageLogbookOutcome outcome) set The status of the operation
-
Method Details
-
createLogParameters
public static StorageLogbookParameters createLogParameters(String objectIdentifier, String dataCategory, String digest, String digestAlgorithm, String size, String agentIdentifiers, String agentIdentifierRequester, StorageLogbookOutcome outcome) -
buildDeleteLogParameters
public static StorageLogbookParameters buildDeleteLogParameters(Map<StorageLogbookParameterName, String> mapParameters) -
getEventDateTime
Get the event date time as a local date time- Returns:
- the local date time as a LocalDateTime
-
setStatus
set The status of the operation- Parameters:
outcome
- the outcome- Returns:
- the StorageLogbookParameters after the parameter has been added
-
getStatus
Get the status as an outcome- Returns:
- the status as a StorageLogbookOutcome
-
getMapParameters
Get the parameters map- Specified by:
getMapParameters
in interfaceStorageLogStructure
- Returns:
- the parameters map
-