Package tigase.workgroupqueues.data
Class WorkgroupQueueEntity
java.lang.Object
tigase.workgroupqueues.data.WorkgroupQueueEntity
Data Object Class. Represents queue stored in database.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
BareJID[]
Returns list of JIDs allowed to be agent in this queue.Returns human readable description of workgroup queue.getJid()
Returns JID of workgroup queue.Returns MUC Component domain name.int
hashCode()
void
Sets list of JIDs allowed to be agent.void
setCreationDate
(Date creationDate) void
setCreatorJid
(BareJID creatorJid) void
setDescription
(String description) Sets human readable description of workgroup queue.void
setMucDomain
(String mucDomain) Sets MUC Component domain name.
-
Constructor Details
-
WorkgroupQueueEntity
-
-
Method Details
-
equals
-
getAgents
Returns list of JIDs allowed to be agent in this queue.- Returns:
- arrays of agents JIDs
-
setAgents
Sets list of JIDs allowed to be agent.- Parameters:
agents
- agents JIDs
-
getCreationDate
-
setCreationDate
-
getCreatorJid
-
setCreatorJid
-
getDescription
Returns human readable description of workgroup queue.- Returns:
- human readable description of workgroup queue.
-
setDescription
Sets human readable description of workgroup queue.- Parameters:
description
- human readable description of workgroup queue.
-
getJid
Returns JID of workgroup queue.- Returns:
- JID
-
getMucDomain
Returns MUC Component domain name. Can benull
, then default will be used.- Returns:
- domain of MUC Component
-
setMucDomain
Sets MUC Component domain name. Can benull
, then default will be used.- Parameters:
mucDomain
- domain od MUC
-
hashCode
public int hashCode()
-