Class SubNavigatorSettingServiceImpl

java.lang.Object
com.atlassian.jira.projects.subnavigator.SubNavigatorSettingServiceImpl
All Implemented Interfaces:
SubNavigatorSettingService

@Component public class SubNavigatorSettingServiceImpl extends Object implements SubNavigatorSettingService
  • Constructor Details

  • Method Details

    • isSubNavigationPinned

      public io.atlassian.fugue.Option<Boolean> isSubNavigationPinned(String subNavId)
      Description copied from interface: SubNavigatorSettingService
      Returns an option of pinned or unpinned state as set by the user. This is an option because the default isPinned or not state can then be decided per instance of the JavaScript control.
      Specified by:
      isSubNavigationPinned in interface SubNavigatorSettingService
      Parameters:
      subNavId - The id of the sub navigator. Declared where the subNav is defined in the JavaScript.
      Returns:
      if the navigation is pinned or unpinned
    • pinSubNavigator

      public void pinSubNavigator(String subNavId)
      Description copied from interface: SubNavigatorSettingService
      Sets the sub navigator to pinned
      Specified by:
      pinSubNavigator in interface SubNavigatorSettingService
      Parameters:
      subNavId - The id of the sub navigator. Declared where the subNav is defined in the JavaScript.
    • unpinSubNavigator

      public void unpinSubNavigator(String subNavId)
      Description copied from interface: SubNavigatorSettingService
      Sets the sub navigator to unpinned
      Specified by:
      unpinSubNavigator in interface SubNavigatorSettingService
      Parameters:
      subNavId - The id of the sub navigator. Declared where the subNav is defined in the JavaScript.
    • deleteSubNavigatorPinStatus

      public void deleteSubNavigatorPinStatus(String subNavId)
      Description copied from interface: SubNavigatorSettingService
      Clears the sub navigator pinned or unpinned state.
      Specified by:
      deleteSubNavigatorPinStatus in interface SubNavigatorSettingService
      Parameters:
      subNavId - The id of the sub navigator. Declared where the subNav is defined in the JavaScript.