Package com.priint.pubserver.eventLog
Class EventLogResult
java.lang.Object
com.priint.pubserver.eventLog.EventLogResult
Class representing the full information of event log
It contains information about id, created, module, section, session, action and data.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGetter for the name of the action in the event log e.g.Getter for the created of the event log itemgetData()Getter for the data as Json objectintgetId()Getter for the id of the event log itemGetter for the module of the event log item e.g.Getter for the section e.g.Getter for the sessionvoidSetter for the action in the event log e.g.voidsetCreated(Calendar created) Setter for the created of the event log itemvoidSetter for the datavoidsetId(int id) Setter for the id of the event log itemvoidSetter for the module of the event log itemvoidsetSection(String section) Setter for the section of the event log itemvoidsetSession(String session) Setter for the session
-
Constructor Details
-
EventLogResult
public EventLogResult()
-
-
Method Details
-
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
Getter for the created of the event log item -
setCreated
Setter for the created of the event log item- Parameters:
created- time of creation of the item
-
getModule
Getter for the module of the event log item e.g. licenseManager -
setModule
Setter for the module of the event log item- Parameters:
module- module of the event log item e.g. licenseManager
-
getSection
Getter for the section e.g. maxConcurrentUsers -
setSection
Setter for the section of the event log item- Parameters:
section- section of the event log item e.g. maxConcurrentUsers
-
getSession
Getter for the session -
setSession
Setter for the session- Parameters:
session- PubServer session
-
getAction
Getter for the name of the action in the event log e.g. open/close/shutdown -
setAction
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
Getter for the data as Json object -
setData
Setter for the data- Parameters:
data- Should be a Json object
-