Class WebsocketMessage
- java.lang.Object
-
- com.logicaldoc.gui.common.client.websockets.WebsocketMessage
-
- All Implemented Interfaces:
Serializable
public class WebsocketMessage extends Object implements Serializable
A websocket message that carries an event or a command to be processed by the User Interface- Since:
- 8.1.1
- Author:
- Marco Meschieri - LogicalDOC
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description WebsocketMessage()
WebsocketMessage(String sid, String event)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getAuthor()
String
getCommand()
String
getComment()
Date
getDate()
Long
getDocId()
GUIDocument
getDocument()
String
getEvent()
GUIFolder
getFolder()
Long
getFolderId()
Long
getId()
String
getPayload()
String
getSid()
String
getTarget()
Long
getUserId()
String
getUsername()
void
setAuthor(String author)
void
setCommand(String command)
void
setComment(String comment)
void
setDate(Date date)
void
setDocId(Long docId)
void
setDocument(GUIDocument document)
void
setEvent(String event)
void
setFolder(GUIFolder folder)
void
setFolderId(Long folderId)
void
setId(Long id)
void
setPayload(String payload)
void
setSid(String sid)
void
setTarget(String target)
void
setUserId(Long userId)
void
setUsername(String username)
-
-
-
Method Detail
-
getSid
public String getSid()
-
setSid
public void setSid(String sid)
-
getEvent
public String getEvent()
-
setEvent
public void setEvent(String event)
-
getDocument
public GUIDocument getDocument()
-
setDocument
public void setDocument(GUIDocument document)
-
getFolder
public GUIFolder getFolder()
-
setFolder
public void setFolder(GUIFolder folder)
-
getDocId
public Long getDocId()
-
setDocId
public void setDocId(Long docId)
-
getFolderId
public Long getFolderId()
-
setFolderId
public void setFolderId(Long folderId)
-
getComment
public String getComment()
-
setComment
public void setComment(String comment)
-
getAuthor
public String getAuthor()
-
setAuthor
public void setAuthor(String author)
-
getUserId
public Long getUserId()
-
setUserId
public void setUserId(Long userId)
-
getUsername
public String getUsername()
-
setUsername
public void setUsername(String username)
-
getDate
public Date getDate()
-
setDate
public void setDate(Date date)
-
getId
public Long getId()
-
setId
public void setId(Long id)
-
getPayload
public String getPayload()
-
setPayload
public void setPayload(String payload)
-
getTarget
public String getTarget()
-
setTarget
public void setTarget(String target)
-
getCommand
public String getCommand()
-
setCommand
public void setCommand(String command)
-
-