|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectorg.opencms.db.log.CmsLogEntry
public class CmsLogEntry
Wrapper class for a DB log entry.
| Field Summary | |
|---|---|
static java.lang.String |
ATTR_LOG_ENTRY
DB context attribute name constant. |
| Constructor Summary | |
|---|---|
CmsLogEntry(CmsDbContext dbc,
CmsUUID structureId,
CmsLogEntryType type,
java.lang.String[] data)
Public constructor, will use the current time for time stamp. |
|
CmsLogEntry(CmsUUID userId,
long date,
CmsUUID structureId,
CmsLogEntryType type,
java.lang.String[] data)
Public constructor. |
|
| Method Summary | |
|---|---|
java.lang.String[] |
getData()
Returns the additional data. |
long |
getDate()
Returns the date. |
java.lang.String |
getDetails(java.util.Locale locale)
Returns the formatted details for this log entry. |
CmsUUID |
getStructureId()
Returns the structure id. |
CmsLogEntryType |
getType()
Returns the type. |
CmsUUID |
getUserId()
Returns the user id. |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String ATTR_LOG_ENTRY
| Constructor Detail |
|---|
public CmsLogEntry(CmsDbContext dbc,
CmsUUID structureId,
CmsLogEntryType type,
java.lang.String[] data)
dbc - the current database context with the current userstructureId - the structure idtype - the entry typedata - the additional data to be parsed as a map
public CmsLogEntry(CmsUUID userId,
long date,
CmsUUID structureId,
CmsLogEntryType type,
java.lang.String[] data)
userId - the user iddate - the date in millisecondsstructureId - the structure idtype - the entry typedata - the optional additional data| Method Detail |
|---|
public java.lang.String[] getData()
public long getDate()
public java.lang.String getDetails(java.util.Locale locale)
locale - the locale
public CmsUUID getStructureId()
public CmsLogEntryType getType()
public CmsUUID getUserId()
public java.lang.String toString()
toString in class java.lang.ObjectObject.toString()
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||