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
Modifier and TypeFieldDescriptionstatic final String
Implies that the action being audited is related to creating objectsstatic final String
Implies that the action being audited is related to deleting objectsstatic final String
Implies that the action being audited is related to exporting objectsstatic final String
Implies that the action being audited is related to importing objectsstatic final String
Implies that the action being audited is related to modifying objectsstatic final String
Implies 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_PROPERTY
Fields inherited from class com.avoka.core.entity.BaseEntity
ID_PROPERTY
Fields inherited from class org.apache.cayenne.CayenneDataObject
values
Fields inherited from class org.apache.cayenne.BaseDataObject
snapshotVersion
Fields inherited from class org.apache.cayenne.PersistentObject
objectContext, objectId, persistenceState
Fields inherited from interface org.apache.cayenne.DataObject
DEFAULT_VERSION
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
setAuditDatetime
(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, setUserAgent
Methods inherited from class com.avoka.core.entity.BaseEntity
appendProperties, getId, getValuesMap, isNew, setId, toString
Methods inherited from class org.apache.cayenne.CayenneDataObject
makePath, readPropertyDirectly, readState, setPersistenceState, writePropertyDirectly, writeState
Methods 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, writeSerialized
Methods inherited from class org.apache.cayenne.PersistentObject
getMapKey, getObjectContext, getObjectId, getPersistenceState, setObjectId
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods 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:_AuditLog
Set the auditDatetime value.- Overrides:
setAuditDatetime
in class_AuditLog
- Parameters:
auditDatetime
- the auditDatetime value to set
-