Class WorkgroupQueueEntity

java.lang.Object
tigase.workgroupqueues.data.WorkgroupQueueEntity

public class WorkgroupQueueEntity extends Object
Data Object Class. Represents queue stored in database.
  • Constructor Details

    • WorkgroupQueueEntity

      public WorkgroupQueueEntity(BareJID jid)
  • Method Details

    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • getAgents

      public BareJID[] getAgents()
      Returns list of JIDs allowed to be agent in this queue.
      Returns:
      arrays of agents JIDs
    • setAgents

      public void setAgents(BareJID[] agents)
      Sets list of JIDs allowed to be agent.
      Parameters:
      agents - agents JIDs
    • getCreationDate

      public Date getCreationDate()
    • setCreationDate

      public void setCreationDate(Date creationDate)
    • getCreatorJid

      public BareJID getCreatorJid()
    • setCreatorJid

      public void setCreatorJid(BareJID creatorJid)
    • getDescription

      public String getDescription()
      Returns human readable description of workgroup queue.
      Returns:
      human readable description of workgroup queue.
    • setDescription

      public void setDescription(String description)
      Sets human readable description of workgroup queue.
      Parameters:
      description - human readable description of workgroup queue.
    • getJid

      public BareJID getJid()
      Returns JID of workgroup queue.
      Returns:
      JID
    • getMucDomain

      public String getMucDomain()
      Returns MUC Component domain name. Can be null, then default will be used.
      Returns:
      domain of MUC Component
    • setMucDomain

      public void setMucDomain(String mucDomain)
      Sets MUC Component domain name. Can be null, then default will be used.
      Parameters:
      mucDomain - domain od MUC
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object