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 TypeMethodDescriptionbooleanBareJID[]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.inthashCode()voidSets list of JIDs allowed to be agent.voidsetCreationDate(Date creationDate) voidsetCreatorJid(BareJID creatorJid) voidsetDescription(String description) Sets human readable description of workgroup queue.voidsetMucDomain(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()
-