public class WorkgroupInvitation extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected Jid |
groupChatName |
protected Jid |
invitationSender |
protected Jid |
issuingWorkgroupName |
protected java.lang.String |
messageBody |
protected java.util.Map<java.lang.String,java.util.List<java.lang.String>> |
metaData |
protected java.lang.String |
sessionID |
protected Jid |
uniqueID |
Constructor and Description |
---|
WorkgroupInvitation(Jid jid,
Jid group,
Jid workgroup,
java.lang.String sessID,
java.lang.String msgBody,
Jid from)
This calls the 5-argument constructor with a null MetaData argument value.
|
WorkgroupInvitation(Jid jid,
Jid group,
Jid workgroup,
java.lang.String sessID,
java.lang.String msgBody,
Jid from,
java.util.Map<java.lang.String,java.util.List<java.lang.String>> metaData)
WorkgroupInvitation.
|
Modifier and Type | Method and Description |
---|---|
Jid |
getGroupChatName()
Get the group chat name.
|
Jid |
getInvitationSender()
Get invitation sender.
|
java.lang.String |
getMessageBody()
Get the message body.
|
java.util.Map<java.lang.String,java.util.List<java.lang.String>> |
getMetaData()
Get meta data.
|
java.lang.String |
getSessionID()
Get the session id.
|
Jid |
getUniqueID()
Get the unique id.
|
Jid |
getWorkgroupName()
Get workgroup name.
|
protected java.lang.String sessionID
protected Jid groupChatName
protected Jid issuingWorkgroupName
protected java.lang.String messageBody
protected Jid invitationSender
protected java.util.Map<java.lang.String,java.util.List<java.lang.String>> metaData
public WorkgroupInvitation(Jid jid, Jid group, Jid workgroup, java.lang.String sessID, java.lang.String msgBody, Jid from)
jid
- the jid string with which the issuing AgentSession or Workgroup instance
was createdgroup
- the jid of the room to which the person is invitedworkgroup
- the jid of the workgroup issuing the invitationsessID
- the session id associated with the pending chatmsgBody
- the body of the message which contained the invitationfrom
- the user jid who issued the invitation, if known, null otherwisepublic WorkgroupInvitation(Jid jid, Jid group, Jid workgroup, java.lang.String sessID, java.lang.String msgBody, Jid from, java.util.Map<java.lang.String,java.util.List<java.lang.String>> metaData)
jid
- the jid string with which the issuing AgentSession or Workgroup instance.
was createdgroup
- the jid of the room to which the person is invitedworkgroup
- the jid of the workgroup issuing the invitationsessID
- the session id associated with the pending chatmsgBody
- the body of the message which contained the invitationfrom
- the user jid who issued the invitation, if known, null otherwisemetaData
- the metadata sent with the invitationpublic Jid getUniqueID()
public java.lang.String getSessionID()
public Jid getGroupChatName()
public Jid getWorkgroupName()
public java.lang.String getMessageBody()
public Jid getInvitationSender()
public java.util.Map<java.lang.String,java.util.List<java.lang.String>> getMetaData()