Class ChannelConfiguration

java.lang.Object
tigase.mix.model.ChannelConfiguration

public class ChannelConfiguration extends Object
  • Constructor Details

    • ChannelConfiguration

      public ChannelConfiguration()
    • ChannelConfiguration

      public ChannelConfiguration(tigase.xml.Element el) throws tigase.pubsub.exceptions.PubSubException
      Throws:
      tigase.pubsub.exceptions.PubSubException
  • Method Details

    • updateLastChangeMadeBy

      public static void updateLastChangeMadeBy(tigase.xml.Element item, tigase.xmpp.jid.JID publisherJID)
    • getLastChangeMadeBy

      public tigase.xmpp.jid.BareJID getLastChangeMadeBy()
    • setLastChangeMadeBy

      public void setLastChangeMadeBy(tigase.xmpp.jid.BareJID jid)
    • getOwners

      public Set<tigase.xmpp.jid.BareJID> getOwners()
    • setOwners

      public void setOwners(Set<tigase.xmpp.jid.BareJID> owners)
    • isOwner

      public boolean isOwner(tigase.xmpp.jid.BareJID jid)
    • isAdministrator

      public boolean isAdministrator(tigase.xmpp.jid.BareJID jid)
    • getAdministrators

      public Set<tigase.xmpp.jid.BareJID> getAdministrators()
    • setAdministrators

      public void setAdministrators(Set<tigase.xmpp.jid.BareJID> administrators)
    • getNodesPresent

      public String[] getNodesPresent()
    • setNodesPresent

      public void setNodesPresent(String[] nodesPresent)
    • getMessagesNodeSubscription

      public ChannelNodePermission getMessagesNodeSubscription()
    • getParticipantsNodeSubscription

      public ChannelNodePermission getParticipantsNodeSubscription()
    • getInformationNodeSubscription

      public ChannelNodePermission getInformationNodeSubscription()
    • getConfigurationNodeAccess

      public ChannelNodePermission getConfigurationNodeAccess()
    • getInformationNodeUpdateRights

      public ChannelNodePermission getInformationNodeUpdateRights()
    • getAvatarNodesUpdateRights

      public ChannelNodePermission getAvatarNodesUpdateRights()
    • toElement

      public tigase.xml.Element toElement(String id)
    • toFormElement

      public tigase.xml.Element toFormElement()
    • isNickMandator

      public boolean isNickMandator()
    • arePrivateMessagesAllowed

      public boolean arePrivateMessagesAllowed()
    • apply

      public ChannelConfiguration apply(tigase.xml.Element form) throws tigase.pubsub.exceptions.PubSubException
      Throws:
      tigase.pubsub.exceptions.PubSubException
    • applyFrom

      protected void applyFrom(tigase.xml.Element form) throws tigase.pubsub.exceptions.PubSubException
      Throws:
      tigase.pubsub.exceptions.PubSubException
    • isValid

      public boolean isValid()