Interface BoardAdminService

All Known Implementing Classes:
BoardAdminServiceImpl

public interface BoardAdminService
  • Method Details

    • getBoardAdmins

      List<BoardAdmin> getBoardAdmins(RapidView view)
      Retrieve a List of BoardAdmins associated with a particular RapidView
      Parameters:
      view - The view which you wish to retrieve associated Board Admins for.
      Returns:
      List containing Board Admins associated with the specific RapidView
    • getBoardAdmins

      com.google.common.collect.Multimap<RapidView,BoardAdmin> getBoardAdmins(List<RapidView> views)
      Retrieve a List of BoardAdmins associated with given RapidViews
      Parameters:
      views - The view which you wish to retrieve associated Board Admins for.
      Returns:
      Map containing Board Admins associated with each RapidView
    • updateBoardAdmins

      @Nonnull @Transactional ServiceOutcome<List<BoardAdmin>> updateBoardAdmins(RapidView rapidView, com.atlassian.jira.user.ApplicationUser user, List<BoardAdmin> newBoardAdmin)
      Updates the BoardAdmins associated with a RapidView by replacing the existing BoardAdmins with those found in the new specified list.
      Parameters:
      rapidView - The RapidView you are updating the BoardAdmins of.
      newBoardAdmin - The list of new Board Admins to update with.
      Returns:
      The updated list of BoardAdmins
    • isUserBoardAdmin

      @Nonnull boolean isUserBoardAdmin(RapidView rapidView, com.atlassian.jira.user.ApplicationUser user)
      Check whether a given ApplicationUser is a Board Admin of a given RapidView.
      Parameters:
      rapidView - The RapidView to check the User against.
      user - The ApplicationUser in question.
      Returns:
      Whether the User is a BoardAdmin of the RapidView
    • setInitialBoardAdmin

      @Nonnull ServiceOutcome<List<BoardAdmin>> setInitialBoardAdmin(RapidView rapidView, com.atlassian.jira.user.ApplicationUser user)
      Make the specified ApplicationUser the single initial Board Admin for the RapidView
      Parameters:
      rapidView - The rapid view
      user - The user to make the BoardAdmin
      Returns:
      The "list" containing the new BoardAdmin