org.opencms.db.jpa.persistence
Class CmsDAOLog

java.lang.Object
  extended by org.opencms.db.jpa.persistence.CmsDAOLog

@Entity
public class CmsDAOLog
extends java.lang.Object

This data access object represents a log entry inside the table "cms_log".

Since:
8.0.0

Nested Class Summary
static class CmsDAOLog.CmsDAOLogPK
          This class implements the primary key for a log entry in the table "cms_log".
 
Constructor Summary
CmsDAOLog()
          The default constructor.
CmsDAOLog(long logDate, int logType, java.lang.String userId)
          A public constructor for generating a new log object with an unique id.
 
Method Summary
 java.lang.String getLogData()
          Returns the logData.
 long getLogDate()
          Returns the logDate.
 int getLogType()
          Returns the logType.
 java.lang.String getStructureId()
          Returns the structureId.
 java.lang.String getUserId()
          Returns the userId.
 void setLogData(java.lang.String logData)
          Sets the logData.
 void setLogDate(long logDate)
          Sets the logDate.
 void setLogType(int logType)
          Sets the logType.
 void setStructureId(java.lang.String structureId)
          Sets the structureId.
 void setUserId(java.lang.String userId)
          Sets the userId.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CmsDAOLog

public CmsDAOLog()
The default constructor.


CmsDAOLog

public CmsDAOLog(long logDate,
                 int logType,
                 java.lang.String userId)
A public constructor for generating a new log object with an unique id.

Parameters:
logDate - the log date
logType - the log type
userId - the user id
Method Detail

getLogData

public java.lang.String getLogData()
Returns the logData.

Returns:
the logData

getLogDate

public long getLogDate()
Returns the logDate.

Returns:
the logDate

getLogType

public int getLogType()
Returns the logType.

Returns:
the logType

getStructureId

public java.lang.String getStructureId()
Returns the structureId.

Returns:
the structureId

getUserId

public java.lang.String getUserId()
Returns the userId.

Returns:
the userId

setLogData

public void setLogData(java.lang.String logData)
Sets the logData.

Parameters:
logData - the logData to set

setLogDate

public void setLogDate(long logDate)
Sets the logDate.

Parameters:
logDate - the logDate to set

setLogType

public void setLogType(int logType)
Sets the logType.

Parameters:
logType - the logType to set

setStructureId

public void setStructureId(java.lang.String structureId)
Sets the structureId.

Parameters:
structureId - the structureId to set

setUserId

public void setUserId(java.lang.String userId)
Sets the userId.

Parameters:
userId - the userId to set