Class AdminAuditEventDetail.AdminAuditEventDetailBuilder
java.lang.Object
com.broadleafcommerce.common.audit.domain.AdminAuditEventDetail.AdminAuditEventDetailBuilder
- Enclosing class:
- AdminAuditEventDetail
-
Method Summary
Modifier and TypeMethodDescriptionadditionalAttributes
(Map<String, String> additionalAttributes) Any additional information, possibly required in extension scenariosafterRepresentation
(String afterRepresentation) The value for the field after the change was made.The author of the change.beforeRepresentation
(String beforeRepresentation) The value for the field before the change was made.build()
changeType
(String changeType) The operation type that mutated this field value.The fully qualified classname of the Java type for this field.Optional message included giving more information about the change.projectionField
(String projectionField) The name of the field in a projection domain.repositoryField
(String repositoryField) The name of the field on the repository domain.The timestamp at which the field change took placetoString()
-
Method Details
-
author
The author of the change. May be an admin user, or an identifier noting an automated system process.- Returns:
this
.
-
timestamp
The timestamp at which the field change took place- Returns:
this
.
-
beforeRepresentation
public AdminAuditEventDetail.AdminAuditEventDetailBuilder beforeRepresentation(@Nullable String beforeRepresentation) The value for the field before the change was made. Json representation. May be simple, or a more complex structure - like a list.- Returns:
this
.
-
afterRepresentation
public AdminAuditEventDetail.AdminAuditEventDetailBuilder afterRepresentation(@Nullable String afterRepresentation) The value for the field after the change was made. Json representation. May be simple, or a more complex structure - like a list.- Returns:
this
.
-
repositoryField
public AdminAuditEventDetail.AdminAuditEventDetailBuilder repositoryField(@Nullable String repositoryField) The name of the field on the repository domain. This is generally the name of a field in a JPA domain class.- Returns:
this
.
-
projectionField
public AdminAuditEventDetail.AdminAuditEventDetailBuilder projectionField(@Nullable String projectionField) 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.- Returns:
this
.
-
javaType
The fully qualified classname of the Java type for this field.- Returns:
this
.
-
changeType
The operation type that mutated this field value. Maps toOperationType
.- Returns:
this
.
-
message
Optional message included giving more information about the change. When included, usually noted by the admin user making the change.- Returns:
this
.
-
additionalAttributes
public AdminAuditEventDetail.AdminAuditEventDetailBuilder additionalAttributes(@Nullable Map<String, String> additionalAttributes) Any additional information, possibly required in extension scenarios- Returns:
this
.
-
build
-
toString
-