|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectccc.domain.Entity
ccc.domain.LogEntry
public class LogEntry
Captures detail relevant to a single user action for persistence in the audit log.
Constructor Summary | |
---|---|
protected |
LogEntry()
Constructor: for persistence only. |
|
LogEntry(UserEntity actor,
CommandType action,
java.util.Date happenedOn,
java.util.UUID subjectId,
java.lang.String detail)
Constructor. |
|
LogEntry(UserEntity actor,
java.lang.String action,
java.util.Date happenedOn,
java.util.UUID subjectId,
java.lang.String detail)
Constructor. |
Method Summary | |
---|---|
java.lang.String |
getAction()
Accessor. |
UserEntity |
getActor()
Accessor. |
java.lang.String |
getDetail()
Accessor. |
java.util.Date |
getHappenedOn()
Accessor. |
long |
getIndex()
Accessor. |
java.util.Date |
getRecordedOn()
Accessor. |
java.util.UUID |
getSubjectId()
Accessor. |
boolean |
isSystem()
Accessor. |
Methods inherited from class ccc.domain.Entity |
---|
equals, getId, getVersion, hashCode, setId, toJson, toString |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
protected LogEntry()
public LogEntry(UserEntity actor, CommandType action, java.util.Date happenedOn, java.util.UUID subjectId, java.lang.String detail)
actor
- The actor that performed the action.action
- The action performed.happenedOn
- When the action took place.subjectId
- The subject of the action.detail
- Details of the action.public LogEntry(UserEntity actor, java.lang.String action, java.util.Date happenedOn, java.util.UUID subjectId, java.lang.String detail)
actor
- The actor that performed the action.action
- The action performed.happenedOn
- When the action took place.subjectId
- The subject of the action.detail
- Details of the action.Method Detail |
---|
public java.util.UUID getSubjectId()
public UserEntity getActor()
public java.lang.String getAction()
public long getIndex()
public java.util.Date getRecordedOn()
public java.util.Date getHappenedOn()
public java.lang.String getDetail()
public boolean isSystem()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |