Interface AdminProvider

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      List<org.xmpp.packet.JID> getAdmins()
      Returns a list of JIDs of accounts with administrative privileges.
      boolean isReadOnly()
      Indicates whether the admin list is read-only or not.
      void setAdmins​(List<org.xmpp.packet.JID> admins)
      Sets the list of admin accounts, by JID.
    • Method Detail

      • getAdmins

        List<org.xmpp.packet.JID> getAdmins()
        Returns a list of JIDs of accounts with administrative privileges.
        Returns:
        The list of admin users.
      • setAdmins

        void setAdmins​(List<org.xmpp.packet.JID> admins)
        Sets the list of admin accounts, by JID.
        Parameters:
        admins - List of JIDs of accounts to grant admin access to.
      • isReadOnly

        boolean isReadOnly()
        Indicates whether the admin list is read-only or not. In other words, whether an admin can change who is an admin from the Openfire admin interface.
        Returns:
        True or false if the admin list can be edited.