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 Details

    • 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