public class AuditMessage
extends Object
implements Serializable
Constructor and Description |
---|
AuditMessage(String message) |
AuditMessage(String eventType,
long companyId,
long userId,
String userName) |
AuditMessage(String eventType,
long companyId,
long userId,
String userName,
String className,
String classPK) |
AuditMessage(String eventType,
long companyId,
long userId,
String userName,
String className,
String classPK,
String message) |
AuditMessage(String eventType,
long companyId,
long userId,
String userName,
String className,
String classPK,
String message,
Date timestamp,
JSONObject additionalInfoJSONObject) |
AuditMessage(String eventType,
long companyId,
long userId,
String userName,
String className,
String classPK,
String message,
JSONObject additionalInfoJSONObject) |
Modifier and Type | Method and Description |
---|---|
JSONObject |
getAdditionalInfo() |
String |
getClassName() |
String |
getClassPK() |
String |
getClientHost() |
String |
getClientIP() |
long |
getCompanyId() |
String |
getEventType() |
String |
getMessage() |
String |
getServerName() |
int |
getServerPort() |
String |
getSessionID() |
Date |
getTimestamp() |
long |
getUserId() |
String |
getUserName() |
void |
setAdditionalInfo(JSONObject additionalInfoJSONObject) |
void |
setClassName(String className) |
void |
setClassPK(long classPK) |
void |
setClassPK(String classPK) |
void |
setClientHost(String clientHost) |
void |
setClientIP(String clientIP) |
void |
setCompanyId(long companyId) |
void |
setEventType(String eventType) |
void |
setMessage(String message) |
void |
setServerName(String serverName) |
void |
setServerPort(int serverPort) |
void |
setSessionID(String sessionID) |
void |
setTimestamp(Date timestamp) |
void |
setUserId(long userId) |
void |
setUserName(String userName) |
JSONObject |
toJSONObject() |
public AuditMessage(String message) throws JSONException
JSONException
public AuditMessage(String eventType, long companyId, long userId, String userName)
public AuditMessage(String eventType, long companyId, long userId, String userName, String className, String classPK)
public AuditMessage(String eventType, long companyId, long userId, String userName, String className, String classPK, String message)
public AuditMessage(String eventType, long companyId, long userId, String userName, String className, String classPK, String message, Date timestamp, JSONObject additionalInfoJSONObject)
public AuditMessage(String eventType, long companyId, long userId, String userName, String className, String classPK, String message, JSONObject additionalInfoJSONObject)
public JSONObject getAdditionalInfo()
public String getClassName()
public String getClassPK()
public String getClientHost()
public String getClientIP()
public long getCompanyId()
public String getEventType()
public String getMessage()
public String getServerName()
public int getServerPort()
public String getSessionID()
public Date getTimestamp()
public long getUserId()
public String getUserName()
public void setAdditionalInfo(JSONObject additionalInfoJSONObject)
public void setClassName(String className)
public void setClassPK(long classPK)
public void setClassPK(String classPK)
public void setClientHost(String clientHost)
public void setClientIP(String clientIP)
public void setCompanyId(long companyId)
public void setEventType(String eventType)
public void setMessage(String message)
public void setServerName(String serverName)
public void setServerPort(int serverPort)
public void setSessionID(String sessionID)
public void setTimestamp(Date timestamp)
public void setUserId(long userId)
public void setUserName(String userName)
public JSONObject toJSONObject()