Package org.opencms.db.log
Class CmsLogEntry
java.lang.Object
org.opencms.db.log.CmsLogEntry
Wrapper class for a DB log entry.
- Since:
 - 8.0.0
 
- 
Field Summary
Fields - 
Constructor Summary
ConstructorsConstructorDescriptionCmsLogEntry(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
 
- 
Field Details
- 
ATTR_LOG_ENTRY
DB context attribute name constant.- See Also:
 
 
 - 
 - 
Constructor Details
- 
CmsLogEntry
Public constructor, will use the current time for time stamp.- Parameters:
 dbc- the current database context with the current userstructureId- the structure idtype- the entry typedata- the additional data to be parsed as a map
 - 
CmsLogEntry
public CmsLogEntry(CmsUUID userId, long date, CmsUUID structureId, CmsLogEntryType type, String[] data) Public constructor.- Parameters:
 userId- the user iddate- the date in millisecondsstructureId- the structure idtype- the entry typedata- the optional additional data
 
 - 
 - 
Method Details
- 
getData
Returns the additional data.- Returns:
 - the additional data
 
 - 
getDate
Returns the date.- Returns:
 - the date
 
 - 
getDetails
Returns the formatted details for this log entry.- Parameters:
 locale- the locale- Returns:
 - the formatted details for this log entry
 
 - 
getStructureId
Returns the structure id.- Returns:
 - the structure id
 
 - 
getType
Returns the type.- Returns:
 - the type
 
 - 
getUserId
Returns the user id.- Returns:
 - the user id
 
 - 
toString
 
 -