Class AuditDetail
java.lang.Object
com.broadleafcommerce.audit.domain.AuditDetail
Projection audit detail for a particular entity field. Analogous to
AdminAuditEventDetail
.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
boolean
Any additional information, possibly required in extension scenariosThe value for the field after the change was made.The author of the change.The value for the field before the change was made.The operation type that mutated this field value.getId()
Primary keyThe fully qualified classname of the Java type for this field.Optional message included giving more information about the change.The name of the field in a projection domain.Raw information about the change.The name of the field on the repository domain.The timestamp at which the field change took placeint
hashCode()
void
setAdditionalAttributes
(Map<String, String> additionalAttributes) Any additional information, possibly required in extension scenariosvoid
setAfterRepresentation
(String afterRepresentation) The value for the field after the change was made.void
The author of the change.void
setBeforeRepresentation
(String beforeRepresentation) The value for the field before the change was made.void
setChangeType
(String changeType) The operation type that mutated this field value.void
Primary keyvoid
setJavaType
(String javaType) The fully qualified classname of the Java type for this field.void
setMessage
(String message) Optional message included giving more information about the change.void
setProjectionField
(String projectionField) The name of the field in a projection domain.void
setRawDetail
(String rawDetail) Raw information about the change.void
setRepositoryField
(String repositoryField) The name of the field on the repository domain.void
setTimestamp
(Instant timestamp) The timestamp at which the field change took placetoString()
-
Constructor Details
-
AuditDetail
public AuditDetail() -
AuditDetail
-
-
Method Details
-
getId
Primary key -
getTimestamp
The timestamp at which the field change took place -
getAuthor
The author of the change. May be an admin user, or an identifier noting an automated system process. -
getBeforeRepresentation
The value for the field before the change was made. Json representation. May be simple, or a more complex structure - like a list. -
getAfterRepresentation
The value for the field after the change was made. Json representation. May be simple, or a more complex structure - like a list. -
getRawDetail
Raw information about the change. -
getRepositoryField
The name of the field on the repository domain. This is generally the name of a field in a JPA domain class. -
getProjectionField
The name of the field in a projection domain. This is generally the name of the field from domain serialized to and deserialized from JSON at the microservice endpoint API. Often this is the same as the repositoryField, but is not required to be. -
getJavaType
The fully qualified classname of the Java type for this field. -
getChangeType
The operation type that mutated this field value. Maps toOperationType
. -
getMessage
Optional message included giving more information about the change. When included, usually noted by the admin user making the change. -
getAdditionalAttributes
Any additional information, possibly required in extension scenarios -
setId
Primary key -
setTimestamp
The timestamp at which the field change took place -
setAuthor
The author of the change. May be an admin user, or an identifier noting an automated system process. -
setBeforeRepresentation
The value for the field before the change was made. Json representation. May be simple, or a more complex structure - like a list. -
setAfterRepresentation
The value for the field after the change was made. Json representation. May be simple, or a more complex structure - like a list. -
setRawDetail
Raw information about the change. -
setRepositoryField
The name of the field on the repository domain. This is generally the name of a field in a JPA domain class. -
setProjectionField
The name of the field in a projection domain. This is generally the name of the field from domain serialized to and deserialized from JSON at the microservice endpoint API. Often this is the same as the repositoryField, but is not required to be. -
setJavaType
The fully qualified classname of the Java type for this field. -
setChangeType
The operation type that mutated this field value. Maps toOperationType
. -
setMessage
Optional message included giving more information about the change. When included, usually noted by the admin user making the change. -
setAdditionalAttributes
Any additional information, possibly required in extension scenarios -
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-