Package com.groiss.org
Interface LogEntry
- All Superinterfaces:
KeyValuePair<String,
,String> Persistent
,PersistentVersion
,Serializable
A log entry written when an instance of HasLog is inserted, updated or deleted.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
Identifies change as delete.static final int
Identifies change as insert.static final int
Identifies change as update.Fields inherited from interface com.groiss.store.Persistent
emptyKeys
-
Method Summary
Modifier and TypeMethodDescriptiongetAgent()
Deprecated, for removal: This API element is subject to removal in a future version.int
Returns the changeMode of this log.Get the class of the changed object.Get the name of the changed object.Deprecated, for removal: This API element is subject to removal in a future version.getWhen()
Deprecated, for removal: This API element is subject to removal in a future version.Methods inherited from interface com.groiss.store.Persistent
afterDelete, afterInsert, afterRead, afterUpdate, beforeDelete, beforeInsert, beforeUpdate, dbFields, getKey, getKeys, getLocalClassName, getLocalObjectName, getOid, getStore, getTableName, getValue, isFilled, isValid, setFilled, setOid, setOid, toListString
Methods inherited from interface com.groiss.org.PersistentVersion
getCreatedAt, getCreatedBy, getDescription, getPersistent, getVersion
-
Field Details
-
INSERT
static final int INSERTIdentifies change as insert.- See Also:
-
UPDATE
static final int UPDATEIdentifies change as update.- See Also:
-
DELETE
static final int DELETEIdentifies change as delete.- See Also:
-
-
Method Details
-
getAgent
Deprecated, for removal: This API element is subject to removal in a future version.Returns the user who made the change.- Returns:
- a User object
-
getChangeMode
int getChangeMode()Returns the changeMode of this log.- Returns:
- either INSERT, UPDATE or DELETE
-
getWhen
Deprecated, for removal: This API element is subject to removal in a future version.Get the time when the change was made. -
getClassName
String getClassName()Get the class of the changed object.- Returns:
- the class name
-
getLoggedName
String getLoggedName()Get the name of the changed object.- Returns:
- the object name
-
getLoggedObject
Deprecated, for removal: This API element is subject to removal in a future version.Get the changed object.- Returns:
- the changed object
-
PersistentVersion.getCreatedBy()