Package com.avoka.fc.core.entity
Class AuditLog
java.lang.Object
org.apache.cayenne.PersistentObject
org.apache.cayenne.BaseDataObject
org.apache.cayenne.CayenneDataObject
com.avoka.core.entity.BaseEntity
com.avoka.fc.core.entity.auto._AuditLog
com.avoka.fc.core.entity.AuditLog
- All Implemented Interfaces:
IEntity,Serializable,org.apache.cayenne.DataObject,org.apache.cayenne.Persistent,org.apache.cayenne.Validating
Provides an audit log entity used to track changes made to sensitive data.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringImplies that the action being audited is related to creating objectsstatic final StringImplies that the action being audited is related to deleting objectsstatic final StringImplies that the action being audited is related to exporting objectsstatic final StringImplies that the action being audited is related to importing objectsstatic final StringImplies that the action being audited is related to modifying objectsstatic final StringImplies that the action being audited is related to viewing objectsFields inherited from class com.avoka.fc.core.entity.auto._AuditLog
AUDIT_DATETIME, AUDIT_DATETIME_PROPERTY, AUDIT_LOG_OID_PK_COLUMN, CHANGED_BY, CHANGED_BY_PROPERTY, CLIENT_OID, CLIENT_OID_PROPERTY, ENTITY_NAME, ENTITY_NAME_PROPERTY, ENTITY_OID, ENTITY_OID_PROPERTY, EVENT_TYPE, EVENT_TYPE_PROPERTY, IP_ADDRESS, IP_ADDRESS_PROPERTY, MESSAGE, MESSAGE_PROPERTY, SUBMISSION, SUBMISSION_PROPERTY, USER, USER_AGENT, USER_AGENT_PROPERTY, USER_PROPERTYFields inherited from class com.avoka.core.entity.BaseEntity
ID_PROPERTYFields inherited from class org.apache.cayenne.CayenneDataObject
valuesFields inherited from class org.apache.cayenne.BaseDataObject
snapshotVersionFields inherited from class org.apache.cayenne.PersistentObject
objectContext, objectId, persistenceStateFields inherited from interface org.apache.cayenne.DataObject
DEFAULT_VERSION -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidsetAuditDatetime(Date auditDatetime) Set the auditDatetime value.Methods inherited from class com.avoka.fc.core.entity.auto._AuditLog
getAuditDatetime, getChangedBy, getClientOid, getEntityName, getEntityOid, getEventType, getIpAddress, getMessage, getSubmission, getUser, getUserAgent, setChangedBy, setClientOid, setEntityName, setEntityOid, setEventType, setIpAddress, setMessage, setSubmission, setUser, setUserAgentMethods inherited from class com.avoka.core.entity.BaseEntity
appendProperties, getId, getValuesMap, isNew, setId, toStringMethods inherited from class org.apache.cayenne.CayenneDataObject
makePath, readPropertyDirectly, readState, setPersistenceState, writePropertyDirectly, writeStateMethods inherited from class org.apache.cayenne.BaseDataObject
addToManyTarget, beforePropertyRead, beforePropertyWrite, getSnapshotVersion, readNestedProperty, readProperty, readSerialized, removeToManyTarget, setObjectContext, setReverseRelationship, setSnapshotVersion, setToManyTarget, setToOneTarget, toStringBuffer, unsetReverseRelationship, validateForDelete, validateForInsert, validateForSave, validateForUpdate, willConnect, writeProperty, writeSerializedMethods inherited from class org.apache.cayenne.PersistentObject
getMapKey, getObjectContext, getObjectId, getPersistenceState, setObjectIdMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.apache.cayenne.Persistent
getObjectContext, getObjectId, getPersistenceState, setObjectContext, setObjectId, setPersistenceState
-
Field Details
-
EVENT_TYPE_VIEW
Implies that the action being audited is related to viewing objects- See Also:
-
EVENT_TYPE_CREATE
Implies that the action being audited is related to creating objects- See Also:
-
EVENT_TYPE_UPDATE
Implies that the action being audited is related to modifying objects- See Also:
-
EVENT_TYPE_DELETE
Implies that the action being audited is related to deleting objects- See Also:
-
EVENT_TYPE_IMPORT
Implies that the action being audited is related to importing objects- See Also:
-
EVENT_TYPE_EXPORT
Implies that the action being audited is related to exporting objects- See Also:
-
-
Constructor Details
-
AuditLog
public AuditLog()
-
-
Method Details
-
setAuditDatetime
Description copied from class:_AuditLogSet the auditDatetime value.- Overrides:
setAuditDatetimein class_AuditLog- Parameters:
auditDatetime- the auditDatetime value to set
-