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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description IDcreateRoom(RoomWithId<ID> room)voiddestroyRoom(tigase.xmpp.jid.BareJID roomJID)Map<tigase.xmpp.jid.BareJID,RoomAffiliation>getAffiliations(RoomWithId<ID> room)RoomWithId<ID>getRoom(tigase.xmpp.jid.BareJID roomJID)StringgetRoomAvatar(RoomWithId<ID> room)List<tigase.xmpp.jid.BareJID>getRoomsJIDList()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)
-
-
-
Method Detail
-
createRoom
ID createRoom(RoomWithId<ID> room) throws tigase.component.exceptions.RepositoryException
- 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
String getRoomAvatar(RoomWithId<ID> room) throws tigase.component.exceptions.RepositoryException
- 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
void updateRoomConfig(RoomConfig roomConfig) throws tigase.component.exceptions.RepositoryException
- Throws:
tigase.component.exceptions.RepositoryException
-
-