Package fr.gouv.vitam.common.model
Class AuditOptions
- java.lang.Object
-
- fr.gouv.vitam.common.model.AuditOptions
-
public class AuditOptions extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description AuditOptions()
Constructor without fields use for jacksonAuditOptions(java.lang.String auditType, java.lang.String objectId, com.fasterxml.jackson.databind.JsonNode query, java.lang.String auditActions)
Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
checkValid()
java.lang.String
getAuditActions()
java.lang.String
getAuditType()
java.lang.String
getObjectId()
com.fasterxml.jackson.databind.JsonNode
getQuery()
void
setAuditActions(java.lang.String auditActions)
void
setAuditType(java.lang.String auditType)
void
setObjectId(java.lang.String objectId)
void
setQuery(com.fasterxml.jackson.databind.JsonNode query)
-
-
-
Constructor Detail
-
AuditOptions
public AuditOptions()
Constructor without fields use for jackson
-
AuditOptions
public AuditOptions(java.lang.String auditType, java.lang.String objectId, com.fasterxml.jackson.databind.JsonNode query, java.lang.String auditActions)
Constructor- Parameters:
auditType
- tenant, originatingagency or dslobjectId
- id of tenant or originating agencyquery
- dsl queryauditActions
- AUDIT_FILE_EXISTING or AUDIT_FILE_INTEGRITY
-
-
Method Detail
-
getAuditType
public java.lang.String getAuditType()
-
setAuditType
public void setAuditType(java.lang.String auditType)
-
getObjectId
public java.lang.String getObjectId()
-
setObjectId
public void setObjectId(java.lang.String objectId)
-
getQuery
public com.fasterxml.jackson.databind.JsonNode getQuery()
-
setQuery
public void setQuery(com.fasterxml.jackson.databind.JsonNode query)
-
getAuditActions
public java.lang.String getAuditActions()
-
setAuditActions
public void setAuditActions(java.lang.String auditActions)
-
checkValid
public void checkValid()
-
-