Package tigase.muc.repository
Interface IMucDAO<DS extends tigase.db.DataSource,ID>
- All Superinterfaces:
tigase.db.DataSourceAware<DS>
- All Known Implementing Classes:
AbstractMucDAO
,JDBCMucDAO
,MucDAOMDBean
public interface IMucDAO<DS extends tigase.db.DataSource,ID>
extends tigase.db.DataSourceAware<DS>
Created by andrzej on 14.10.2016.
-
Method Summary
Modifier and TypeMethodDescriptioncreateRoom
(RoomWithId<ID> room) void
destroyRoom
(tigase.xmpp.jid.BareJID roomJID) Map<tigase.xmpp.jid.BareJID,
RoomAffiliation> getAffiliations
(RoomWithId<ID> room) getRoom
(tigase.xmpp.jid.BareJID roomJID) getRoomAvatar
(RoomWithId<ID> room) List<tigase.xmpp.jid.BareJID>
void
setAffiliation
(RoomWithId<ID> room, tigase.xmpp.jid.BareJID jid, RoomAffiliation affiliation) void
setSubject
(RoomWithId<ID> room, String subject, String creatorNickname, Date changeDate) void
updateRoomAvatar
(RoomWithId<ID> room, String encodedAvatar, String hash) void
updateRoomConfig
(RoomConfig roomConfig) Methods inherited from interface tigase.db.DataSourceAware
setDataSource
-
Method Details
-
createRoom
- Throws:
tigase.component.exceptions.RepositoryException
-
destroyRoom
void destroyRoom(tigase.xmpp.jid.BareJID roomJID) throws tigase.component.exceptions.RepositoryException - Throws:
tigase.component.exceptions.RepositoryException
-
getAffiliations
Map<tigase.xmpp.jid.BareJID,RoomAffiliation> getAffiliations(RoomWithId<ID> room) throws tigase.component.exceptions.RepositoryException - Throws:
tigase.component.exceptions.RepositoryException
-
getRoom
RoomWithId<ID> getRoom(tigase.xmpp.jid.BareJID roomJID) throws tigase.component.exceptions.RepositoryException - Throws:
tigase.component.exceptions.RepositoryException
-
getRoomsJIDList
List<tigase.xmpp.jid.BareJID> getRoomsJIDList() throws tigase.component.exceptions.RepositoryException- Throws:
tigase.component.exceptions.RepositoryException
-
setAffiliation
void setAffiliation(RoomWithId<ID> room, tigase.xmpp.jid.BareJID jid, RoomAffiliation affiliation) throws tigase.component.exceptions.RepositoryException - Throws:
tigase.component.exceptions.RepositoryException
-
getRoomAvatar
- Throws:
tigase.component.exceptions.RepositoryException
-
updateRoomAvatar
void updateRoomAvatar(RoomWithId<ID> room, String encodedAvatar, String hash) throws tigase.component.exceptions.RepositoryException - Throws:
tigase.component.exceptions.RepositoryException
-
setSubject
void setSubject(RoomWithId<ID> room, String subject, String creatorNickname, Date changeDate) throws tigase.component.exceptions.RepositoryException - Throws:
tigase.component.exceptions.RepositoryException
-
updateRoomConfig
- Throws:
tigase.component.exceptions.RepositoryException
-