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 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

        java.util.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

        java.util.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

        java.lang.String getRoomAvatar​(RoomWithId<ID> room)
                                throws tigase.component.exceptions.RepositoryException
        Throws:
        tigase.component.exceptions.RepositoryException
      • updateRoomAvatar

        void updateRoomAvatar​(RoomWithId<ID> room,
                              java.lang.String encodedAvatar,
                              java.lang.String hash)
                       throws tigase.component.exceptions.RepositoryException
        Throws:
        tigase.component.exceptions.RepositoryException
      • setSubject

        void setSubject​(RoomWithId<ID> room,
                        java.lang.String subject,
                        java.lang.String creatorNickname,
                        java.util.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