Package tigase.mix.model
Class ChannelConfiguration
java.lang.Object
tigase.mix.model.ChannelConfiguration
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionapply(tigase.xml.Element form) protected voidapplyFrom(tigase.xml.Element form) booleanSet<tigase.xmpp.jid.BareJID>tigase.xmpp.jid.BareJIDString[]Set<tigase.xmpp.jid.BareJID>booleanisAdministrator(tigase.xmpp.jid.BareJID jid) booleanbooleanisOwner(tigase.xmpp.jid.BareJID jid) booleanisValid()voidsetAdministrators(Set<tigase.xmpp.jid.BareJID> administrators) voidsetLastChangeMadeBy(tigase.xmpp.jid.BareJID jid) voidsetNodesPresent(String[] nodesPresent) voidtigase.xml.Elementtigase.xml.Elementstatic voidupdateLastChangeMadeBy(tigase.xml.Element item, tigase.xmpp.jid.JID publisherJID)
-
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
-
setOwners
-
isOwner
public boolean isOwner(tigase.xmpp.jid.BareJID jid) -
isAdministrator
public boolean isAdministrator(tigase.xmpp.jid.BareJID jid) -
getAdministrators
-
setAdministrators
-
getNodesPresent
-
setNodesPresent
-
getMessagesNodeSubscription
-
getParticipantsNodeSubscription
-
getInformationNodeSubscription
-
getConfigurationNodeAccess
-
getInformationNodeUpdateRights
-
getAvatarNodesUpdateRights
-
toElement
-
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()
-