Package com.priint.pubserver.eventLog
Class EventLogResult
- java.lang.Object
-
- com.priint.pubserver.eventLog.EventLogResult
-
public class EventLogResult extends java.lang.ObjectClass representing the full information of event logIt contains information about id, created, module, section, session, action and data.
-
-
Constructor Summary
Constructors Constructor Description EventLogResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetAction()Getter for the name of the action in the event log e.g.java.util.CalendargetCreated()Getter for the created of the event log itemjava.lang.StringgetData()Getter for the data as Json objectintgetId()Getter for the id of the event log itemjava.lang.StringgetModule()Getter for the module of the event log item e.g.java.lang.StringgetSection()Getter for the section e.g.java.lang.StringgetSession()Getter for the sessionvoidsetAction(java.lang.String action)Setter for the action in the event log e.g.voidsetCreated(java.util.Calendar created)Setter for the created of the event log itemvoidsetData(java.lang.String data)Setter for the datavoidsetId(int id)Setter for the id of the event log itemvoidsetModule(java.lang.String module)Setter for the module of the event log itemvoidsetSection(java.lang.String section)Setter for the section of the event log itemvoidsetSession(java.lang.String session)Setter for the session
-
-
-
Method Detail
-
getId
public int getId()
Getter for the id of the event log item
-
setId
public void setId(int id)
Setter for the id of the event log item- Parameters:
id- id of the event log item
-
getCreated
public java.util.Calendar getCreated()
Getter for the created of the event log item
-
setCreated
public void setCreated(java.util.Calendar created)
Setter for the created of the event log item- Parameters:
created- time of creation of the item
-
getModule
public java.lang.String getModule()
Getter for the module of the event log item e.g. licenseManager
-
setModule
public void setModule(java.lang.String module)
Setter for the module of the event log item- Parameters:
module- module of the event log item e.g. licenseManager
-
getSection
public java.lang.String getSection()
Getter for the section e.g. maxConcurrentUsers
-
setSection
public void setSection(java.lang.String section)
Setter for the section of the event log item- Parameters:
section- section of the event log item e.g. maxConcurrentUsers
-
getSession
public java.lang.String getSession()
Getter for the session
-
setSession
public void setSession(java.lang.String session)
Setter for the session- Parameters:
session- PubServer session
-
getAction
public java.lang.String getAction()
Getter for the name of the action in the event log e.g. open/close/shutdown
-
setAction
public void setAction(java.lang.String action)
Setter for the action in the event log e.g. open/close/shutdown- Parameters:
action- Name of the action e.g. open/close/shutdown
-
getData
public java.lang.String getData()
Getter for the data as Json object
-
setData
public void setData(java.lang.String data)
Setter for the data- Parameters:
data- Should be a Json object
-
-