public class JournalEntry extends SearchableEntity
JournalData
.Modifier and Type | Field and Description |
---|---|
static sirius.db.mixing.Mapping |
CHANGES
Contains all changed fields as name: value.
|
static sirius.db.mixing.Mapping |
SUBSYSTEM
Contains the system string, which indicates where the change occured.
|
static sirius.db.mixing.Mapping |
TARGET_ID
Contains the ID of entity which was changed.
|
static sirius.db.mixing.Mapping |
TARGET_NAME
Contains the
toString() of the entity which was changed. |
static sirius.db.mixing.Mapping |
TARGET_TYPE
Contains the type name of the entity which was changed.
|
static sirius.db.mixing.Mapping |
TOD
Contains the timestamp of the change.
|
static sirius.db.mixing.Mapping |
USER_ID
Contaisn the id of the user which was active when the change occured.
|
static sirius.db.mixing.Mapping |
USERNAME
Contains the name of the user which was active when the change occured.
|
SEARCH_FIELD, SEARCHABLE_CONTENT
Constructor and Description |
---|
JournalEntry() |
Modifier and Type | Method and Description |
---|---|
String |
getChanges() |
String |
getSubsystem() |
String |
getTargetId() |
String |
getTargetName() |
String |
getTargetType() |
LocalDateTime |
getTod() |
String |
getUserId() |
String |
getUsername() |
void |
setChanges(String changes) |
void |
setSubsystem(String subsystem) |
void |
setTargetId(String targetId) |
void |
setTargetName(String targetName) |
void |
setTargetType(String targetType) |
void |
setTod(LocalDateTime tod) |
void |
setUserId(String userId) |
void |
setUsername(String username) |
addContent, addContentAsTokens, getSearchableContent, getSearchField, setSearchableContent, updateSearchField
public static final sirius.db.mixing.Mapping TOD
public static final sirius.db.mixing.Mapping USERNAME
public static final sirius.db.mixing.Mapping USER_ID
public static final sirius.db.mixing.Mapping SUBSYSTEM
TaskContext.getSystemString()
public static final sirius.db.mixing.Mapping TARGET_TYPE
public static final sirius.db.mixing.Mapping TARGET_ID
public static final sirius.db.mixing.Mapping TARGET_NAME
toString()
of the entity which was changed.public static final sirius.db.mixing.Mapping CHANGES
The old values are not recorded, as these are in the previous protocol entry.
public LocalDateTime getTod()
public void setTod(LocalDateTime tod)
public String getUsername()
public void setUsername(String username)
public String getUserId()
public void setUserId(String userId)
public String getSubsystem()
public void setSubsystem(String subsystem)
public String getTargetType()
public void setTargetType(String targetType)
public String getTargetId()
public void setTargetId(String targetId)
public String getTargetName()
public void setTargetName(String targetName)
public String getChanges()
public void setChanges(String changes)
Copyright © 2018. All rights reserved.