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) voiddestroyRoom(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>voidsetAffiliation(RoomWithId<ID> room, tigase.xmpp.jid.BareJID jid, RoomAffiliation affiliation) voidsetSubject(RoomWithId<ID> room, String subject, String creatorNickname, Date changeDate) voidupdateRoomAvatar(RoomWithId<ID> room, String encodedAvatar, String hash) voidupdateRoomConfig(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
-