public class AccessLogParameters extends Object implements StorageLogStructure
| Constructor and Description |
|---|
AccessLogParameters(Map<StorageLogbookParameterName,String> mapParameters)
Set directly at least all mandatory parameters in the
AccessLogParameters.
|
| Modifier and Type | Method and Description |
|---|---|
void |
checkMandatoryParameters()
Check if mandatories parameters are not empty or null
|
LocalDateTime |
getEventDateTime()
Get the event date time as a local date time
|
Map<StorageLogbookParameterName,String> |
getMapParameters()
Get the parameters map
|
StorageLogbookOutcome |
getStatus()
Get the status as an outcome
|
AccessLogParameters |
setStatus(StorageLogbookOutcome outcome)
set The status of the operation
|
public AccessLogParameters(Map<StorageLogbookParameterName,String> mapParameters)
mapParameters - The initial parameters (MUST contains mandatory parametersStorageExceptionpublic LocalDateTime getEventDateTime()
public AccessLogParameters setStatus(StorageLogbookOutcome outcome)
outcome - the outcomepublic StorageLogbookOutcome getStatus()
public void checkMandatoryParameters()
throws IllegalArgumentException
IllegalArgumentException - thrown when one parameter is empty or nullpublic Map<StorageLogbookParameterName,String> getMapParameters()
getMapParameters in interface StorageLogStructureCopyright © 2018 Vitam. All rights reserved.