Class UserActiveQuickFilterServiceImpl

java.lang.Object
com.atlassian.bamboo.quickfilter.UserActiveQuickFilterServiceImpl
All Implemented Interfaces:
UserActiveQuickFilterService

@ThreadSafe public class UserActiveQuickFilterServiceImpl extends Object implements UserActiveQuickFilterService
  • Constructor Details

    • UserActiveQuickFilterServiceImpl

      public UserActiveQuickFilterServiceImpl()
  • Method Details

    • getVisibleQuickFilters

      @NotNull public @NotNull List<QuickFilter> getVisibleQuickFilters(@NotNull @NotNull com.atlassian.user.User user)
      Description copied from interface: UserActiveQuickFilterService
      Returns a list of quick filters which have been selected by the given user to be shown for them on Bamboo dashboard.
      Specified by:
      getVisibleQuickFilters in interface UserActiveQuickFilterService
      Parameters:
      user - Bamboo user
      Returns:
      a list of all quick filters that are visible for that user; might be an empty list
    • setVisibleQuickFilters

      public void setVisibleQuickFilters(@NotNull @NotNull com.atlassian.user.User user, @NotNull @NotNull Iterable<Long> quickFilterIds)
      Description copied from interface: UserActiveQuickFilterService
      Sets the list of quick filters which the given user has selected to be shown for them on Bamboo dashboard.
      Specified by:
      setVisibleQuickFilters in interface UserActiveQuickFilterService
      Parameters:
      user - Bamboo user
      quickFilterIds - ids of quick filters to set as visible
    • getActiveQuickFilters

      @NotNull public @NotNull List<QuickFilter> getActiveQuickFilters(@NotNull @NotNull com.atlassian.user.User user)
      Description copied from interface: UserActiveQuickFilterService
      Returns all active quick filters for a user. Active quick filters are the ones that actually filter out plans on Bamboo dashboard.
      Specified by:
      getActiveQuickFilters in interface UserActiveQuickFilterService
      Parameters:
      user - Bamboo user
      Returns:
      a list of all quick filters that are active for that user; might be an empty list
    • activateQuickFilter

      public void activateQuickFilter(@NotNull @NotNull com.atlassian.user.User user, long quickFilterId)
      Description copied from interface: UserActiveQuickFilterService
      Activates a quick filter for a user.
      Specified by:
      activateQuickFilter in interface UserActiveQuickFilterService
      Parameters:
      user - Bamboo user
      quickFilterId - id of the quick filter to set active
    • deactivateQuickFilter

      public void deactivateQuickFilter(@NotNull @NotNull com.atlassian.user.User user, long quickFilterId)
      Description copied from interface: UserActiveQuickFilterService
      Deactivates a quick filter for a user.
      Specified by:
      deactivateQuickFilter in interface UserActiveQuickFilterService
      Parameters:
      user - Bamboo user
      quickFilterId - id of the quick filter to deactivate
    • deactivateAllQuickFilters

      public void deactivateAllQuickFilters(@NotNull @NotNull com.atlassian.user.User user)
      Description copied from interface: UserActiveQuickFilterService
      Deactivates all quick filters for a user.
      Specified by:
      deactivateAllQuickFilters in interface UserActiveQuickFilterService
      Parameters:
      user - Bamboo user