Package tigase.mix.model
Class RoomPresenceRepository
java.lang.Object
tigase.mix.model.RoomPresenceRepository
@ClusterModeRequired(active=false)
@Bean(name="roomPresenceRepository",
parent=RoomPresenceModule.class,
active=true)
public class RoomPresenceRepository
extends Object
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddTempParticipant(tigase.xmpp.jid.BareJID channelJID, tigase.xmpp.jid.JID occupantJID, String nickname) Collection<tigase.xmpp.jid.JID>getRoomParticipantJids(tigase.xmpp.jid.BareJID channelJID) getRoomParticipantsIds(tigase.xmpp.jid.BareJID channelJID) booleanisNicknameInUse(tigase.xmpp.jid.BareJID channelJID, tigase.xmpp.jid.JID occupantJID, String nickname) booleanisParticipant(tigase.xmpp.jid.BareJID channelJID, tigase.xmpp.jid.JID sender) booleanisRoomParticipant(tigase.xmpp.jid.BareJID channelJID, tigase.xmpp.jid.JID jid) voidremoveTempParticipant(tigase.xmpp.jid.BareJID channelJID, tigase.xmpp.jid.JID occupantJID, String nickname)
-
Constructor Details
-
RoomPresenceRepository
public RoomPresenceRepository()
-
-
Method Details
-
addTempParticipant
public void addTempParticipant(tigase.xmpp.jid.BareJID channelJID, tigase.xmpp.jid.JID occupantJID, String nickname) -
removeTempParticipant
public void removeTempParticipant(tigase.xmpp.jid.BareJID channelJID, tigase.xmpp.jid.JID occupantJID, String nickname) -
isNicknameInUse
public boolean isNicknameInUse(tigase.xmpp.jid.BareJID channelJID, tigase.xmpp.jid.JID occupantJID, String nickname) -
getRoomParticipantJids
-
getRoomParticipantsIds
-
isRoomParticipant
public boolean isRoomParticipant(tigase.xmpp.jid.BareJID channelJID, tigase.xmpp.jid.JID jid) -
getTempParticipantsPresence
-
isParticipant
public boolean isParticipant(tigase.xmpp.jid.BareJID channelJID, tigase.xmpp.jid.JID sender)
-