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
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addTempParticipant
(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) boolean
isNicknameInUse
(tigase.xmpp.jid.BareJID channelJID, tigase.xmpp.jid.JID occupantJID, String nickname) boolean
isParticipant
(tigase.xmpp.jid.BareJID channelJID, tigase.xmpp.jid.JID sender) boolean
isRoomParticipant
(tigase.xmpp.jid.BareJID channelJID, tigase.xmpp.jid.JID jid) void
removeTempParticipant
(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)
-