Class AbstractNotificationBulkAction

java.lang.Object
com.opensymphony.xwork2.ActionSupport
com.atlassian.bamboo.ww2.BambooActionSupport
com.atlassian.bamboo.ww2.actions.admin.bulk.AbstractNotificationBulkAction
All Implemented Interfaces:
JsonStreamingAction, ErrorCollection, BulkAction, BulkActionScope, BambooSessionAware, NavigationAware, DomainObjectSecurityAware, GlobalReadSecurityAware, ReturnUrlAware, com.atlassian.core.i18n.I18nTextProvider, com.atlassian.struts.TextProvider, com.atlassian.struts.ValidationAware, com.opensymphony.xwork.ValidationAware, com.opensymphony.xwork2.Action, com.opensymphony.xwork2.interceptor.ValidationAware, com.opensymphony.xwork2.LocaleProvider, com.opensymphony.xwork2.TextProvider, com.opensymphony.xwork2.Validateable, Serializable
Direct Known Subclasses:
AddNotificationBulkAction, DeleteAllNotificationBulkAction

public abstract class AbstractNotificationBulkAction extends BambooActionSupport implements BulkAction
See Also:
  • Constructor Details

    • AbstractNotificationBulkAction

      public AbstractNotificationBulkAction()
  • Method Details

    • getViewAction

      @NotNull public @NotNull BulkAction.WebWorkAction getViewAction()
      Description copied from interface: BulkAction
      Action to run to get the view of the current value for this bulk action
      Specified by:
      getViewAction in interface BulkAction
      Returns:
    • getResultAction

      @NotNull public @NotNull BulkAction.WebWorkAction getResultAction()
      Description copied from interface: BulkAction
      Action to view the new values after executing the bulk action
      Specified by:
      getResultAction in interface BulkAction
      Returns:
    • isApplicableForRepositories

      public boolean isApplicableForRepositories()
      Specified by:
      isApplicableForRepositories in interface BulkActionScope
    • isApplicable

      public boolean isApplicable(ImmutablePlan plan)
      Description copied from interface: BulkActionScope
      Returns whether or not a plan is applicable for a certain bulk action, eg. only plans with svn repositories for an action updating svn details
      Specified by:
      isApplicable in interface BulkActionScope
      Returns:
      true if applicable
    • hasUpdates

      public boolean hasUpdates()
      Description copied from interface: BulkAction
      Returns whether or not a plan's details have been updated in order to carry out the bulk action
      Specified by:
      hasUpdates in interface BulkAction
      Returns:
      true if updated
    • populateActionParameters

      public void populateActionParameters(@NotNull @NotNull ActionParametersMap actionParameters, @NotNull @NotNull ImmutablePlan plan)
      Description copied from interface: BulkAction
      Provides possibility to populate action parameters before executing bulk action.
      Specified by:
      populateActionParameters in interface BulkAction
      Parameters:
      actionParameters - Action parameters to be populated
      plan - Plan which will be subject to action
    • getChangedItem

      @NotNull public @NotNull String getChangedItem()
      Description copied from interface: BulkAction
      Description of what will be changed as a result of this bulk action, also used as table heading to show what will be changed and what it has changed to
      Specified by:
      getChangedItem in interface BulkAction
      Returns: