tigase.pubsub.repository
Class NodeAffiliations
java.lang.Object
tigase.pubsub.repository.NodeAffiliations
- All Implemented Interfaces:
- IAffiliations
public class NodeAffiliations
- extends java.lang.Object
- implements IAffiliations
| Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DELIMITER
protected static final java.lang.String DELIMITER
- See Also:
- Constant Field Values
affs
protected final java.util.Map<java.lang.String,UsersAffiliation> affs
NodeAffiliations
protected NodeAffiliations()
create
public static NodeAffiliations create(java.lang.String data)
addAffiliation
public void addAffiliation(java.lang.String jid,
Affiliation affiliation)
- Specified by:
addAffiliation in interface IAffiliations
changeAffiliation
public void changeAffiliation(java.lang.String jid,
Affiliation affiliation)
- Specified by:
changeAffiliation in interface IAffiliations
clone
public NodeAffiliations clone()
throws java.lang.CloneNotSupportedException
- Overrides:
clone in class java.lang.Object
- Throws:
java.lang.CloneNotSupportedException
get
protected UsersAffiliation get(java.lang.String jid)
getAffiliations
public UsersAffiliation[] getAffiliations()
- Specified by:
getAffiliations in interface IAffiliations
getAffiliationsMap
public java.util.Map<java.lang.String,UsersAffiliation> getAffiliationsMap()
getSubscriberAffiliation
public UsersAffiliation getSubscriberAffiliation(java.lang.String jid)
- Specified by:
getSubscriberAffiliation in interface IAffiliations
isChanged
public boolean isChanged()
- Specified by:
isChanged in interface IAffiliations
parse
public void parse(java.lang.String data)
replaceBy
public void replaceBy(IAffiliations nodeAffiliations)
resetChangedFlag
public void resetChangedFlag()
serialize
public java.lang.String serialize()
- Specified by:
serialize in interface IAffiliations
Copyright © 2008-2009 Tigase. All Rights Reserved.