|
||||||||
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 String |
ATTR_LOG_ENTRY
DB context attribute name constant. |
Constructor Summary | |
---|---|
CmsLogEntry(CmsDbContext dbc,
CmsUUID structureId,
CmsLogEntryType type,
String[] data)
Public constructor, will use the current time for time stamp. |
|
CmsLogEntry(CmsUUID userId,
long date,
CmsUUID structureId,
CmsLogEntryType type,
String[] data)
Public constructor. |
Method Summary | |
---|---|
String[] |
getData()
Returns the additional data. |
long |
getDate()
Returns the date. |
String |
getDetails(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. |
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final String ATTR_LOG_ENTRY
Constructor Detail |
---|
public CmsLogEntry(CmsDbContext dbc, CmsUUID structureId, CmsLogEntryType type, 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 mappublic CmsLogEntry(CmsUUID userId, long date, CmsUUID structureId, CmsLogEntryType type, String[] data)
userId
- the user iddate
- the date in millisecondsstructureId
- the structure idtype
- the entry typedata
- the optional additional dataMethod Detail |
---|
public String[] getData()
public long getDate()
public String getDetails(Locale locale)
locale
- the locale
public CmsUUID getStructureId()
public CmsLogEntryType getType()
public CmsUUID getUserId()
public String toString()
toString
in class Object
Object.toString()
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |