Enum Class LogbookParameterName
- All Implemented Interfaces:
Serializable
,Comparable<LogbookParameterName>
,Constable
Enum with all possible logbook parameters
Use to set parameter value and to check emptiness or nullity
Use to set parameter value and to check emptiness or nullity
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionSet by the Logbook client: Server identifierName of the remote application
Can be nullSession (X-Application-Id) from the remote application
Can be nullHash of the personae certificate
Can be nullMaster Data IdentifierSet by the Logbook client: date time of the eventEvent Detail Data on the current "process
Can be nullOperation identifier: unique identifier created through GUIDFactory.newOperationIdGUID(tenant) at starting call and reused in end call (ok or error).
It is the identifier of one action/step within one process (workflow).Process identifier: unique identifier for global operation workflow.W-Request-Id from top requestevents listEvent type: should use one global Enum ActionType
Could be for instance: "Unzip", "CheckSeda", ...Event ProcessType: should use one global Enum ProcessType
Could be for instance: "Ingest", "Audit", ...Lifecycle Identifier of the "process".Master Data IdentifierObject Identifier of the "process".External Object Identifier on the current "process
For instance: from Ingest, in the manifest.xml, this field is "MessageIdentifier"
Can be nullObject Identifier of the "process" using a request
One of objectIdentifierRequest and objectIdentifier can be null but not bothStatus between: "STARTED", "OK", "WARNING", "ERROR", "FATAL"
One must use the StatusCode enum.Vitam Code error as 404_nnnnnn where nnnnnn is the internal code error
Can be nullMessage output, whatever the "outcome" statusParent event identifier: created for every child event to link it to the parent event/opration/task
It is the identifier of the parent event if existsMaster Data Identifier -
Method Summary
Modifier and TypeMethodDescriptionstatic LogbookParameterName
Returns the enum constant of this class with the specified name.static LogbookParameterName[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
eventIdentifier
Operation identifier: unique identifier created through GUIDFactory.newOperationIdGUID(tenant) at starting call and reused in end call (ok or error).
It is the identifier of one action/step within one process (workflow). -
parentEventIdentifier
Parent event identifier: created for every child event to link it to the parent event/opration/task
It is the identifier of the parent event if exists -
eventType
Event type: should use one global Enum ActionType
Could be for instance: "Unzip", "CheckSeda", ... -
eventDateTime
Set by the Logbook client: date time of the event -
eventIdentifierProcess
Process identifier: unique identifier for global operation workflow.
Primary key for Operation -
eventTypeProcess
Event ProcessType: should use one global Enum ProcessType
Could be for instance: "Ingest", "Audit", ... -
outcome
Status between: "STARTED", "OK", "WARNING", "ERROR", "FATAL"
One must use the StatusCode enum.
Note that first call should be using "STARTED", while second should be one of the others. -
outcomeDetail
Vitam Code error as 404_nnnnnn where nnnnnn is the internal code error
Can be null -
outcomeDetailMessage
Message output, whatever the "outcome" status -
agentIdentifier
Set by the Logbook client: Server identifier -
agentIdentifierApplication
Name of the remote application
Can be null -
agentIdentifierPersonae
Hash of the personae certificate
Can be null -
agentIdentifierApplicationSession
Session (X-Application-Id) from the remote application
Can be null -
eventIdentifierRequest
W-Request-Id from top request -
objectIdentifier
Object Identifier of the "process".
For instance: SIP GUID, but never ArchiveUnit GUID for an Operation
For instance: ArchiveUnit GUID for a LifeCycle
For instance: GOT GUID for a LifeCycle
For instance: BDO GUID for a LifeCycle event of a distributed task
Object Identifier
One of objectIdentifierRequest and objectIdentifier can be null but not both -
lifeCycleIdentifier
Lifecycle Identifier of the "process".
For instance: ArchiveUnit GUID for a LifeCycle.
For instance: GOT GUID for a LifeCycle.
Primary key for LifeCycle
If null objectIdentifier is used to determine the LifeCycle to update. -
objectIdentifierRequest
Object Identifier of the "process" using a request
One of objectIdentifierRequest and objectIdentifier can be null but not both -
objectIdentifierIncome
External Object Identifier on the current "process
For instance: from Ingest, in the manifest.xml, this field is "MessageIdentifier"
Can be null -
masterData
Master Data Identifier -
rightsStatementIdentifier
Master Data Identifier -
agIdExt
Master Data Identifier -
eventDetailData
Event Detail Data on the current "process
Can be null -
events
events list
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-