Package tigase.pubsub.repository.cached
Class NodeAffiliations
java.lang.Object
tigase.pubsub.repository.NodeAffiliations
tigase.pubsub.repository.cached.NodeAffiliations
- All Implemented Interfaces:
IAffiliationsCached,IAffiliations
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final ThreadLocal<Map<tigase.xmpp.jid.BareJID, UsersAffiliation>> Fields inherited from class tigase.pubsub.repository.NodeAffiliations
affs, DELIMITER -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddAffiliation(tigase.xmpp.jid.BareJID bareJid, Affiliation affiliation) voidchangeAffiliation(tigase.xmpp.jid.BareJID bareJid, Affiliation affiliation) clone()protected UsersAffiliationget(tigase.xmpp.jid.BareJID bareJid) Map<tigase.xmpp.jid.BareJID, UsersAffiliation> booleanvoidmerge()voidMethods inherited from class tigase.pubsub.repository.NodeAffiliations
getAffiliationsMap, getSubscriberAffiliation, size, toStringMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface tigase.pubsub.repository.IAffiliations
getSubscriberAffiliation, size
-
Field Details
-
changedAffs
-
-
Constructor Details
-
NodeAffiliations
public NodeAffiliations() -
NodeAffiliations
-
-
Method Details
-
addAffiliation
- Specified by:
addAffiliationin interfaceIAffiliations- Overrides:
addAffiliationin classNodeAffiliations
-
changeAffiliation
- Specified by:
changeAffiliationin interfaceIAffiliations- Overrides:
changeAffiliationin classNodeAffiliations
-
clone
- Overrides:
clonein classObject- Throws:
CloneNotSupportedException
-
getAffiliations
- Specified by:
getAffiliationsin interfaceIAffiliations- Overrides:
getAffiliationsin classNodeAffiliations
-
getChanged
- Specified by:
getChangedin interfaceIAffiliationsCached
-
isChanged
public boolean isChanged()- Specified by:
isChangedin interfaceIAffiliationsCached
-
merge
public void merge()- Specified by:
mergein interfaceIAffiliationsCached
-
resetChangedFlag
public void resetChangedFlag()- Specified by:
resetChangedFlagin interfaceIAffiliationsCached
-
get
- Overrides:
getin classNodeAffiliations
-