com.atlassian.bamboo.ww2.actions.admin.bulk
Class AbstractNotificationBulkAction

java.lang.Object
  extended by com.opensymphony.xwork.ActionSupport
      extended by com.atlassian.bamboo.ww2.BambooActionSupport
          extended by com.atlassian.bamboo.ww2.actions.admin.bulk.AbstractNotificationBulkAction
All Implemented Interfaces:
ErrorCollection, BulkAction, BambooSessionAware, DomainObjectSecurityAware, GlobalReadSecurityAware, ReturnUrlAware, com.atlassian.core.i18n.I18nTextProvider, com.opensymphony.xwork.Action, com.opensymphony.xwork.LocaleProvider, com.opensymphony.xwork.TextProvider, com.opensymphony.xwork.Validateable, com.opensymphony.xwork.ValidationAware, com.uwyn.rife.continuations.ContinuableObject, java.io.Serializable, java.lang.Cloneable
Direct Known Subclasses:
AddNotificationBulkAction, DeleteAllNotificationBulkAction

public abstract class AbstractNotificationBulkAction
extends BambooActionSupport
implements BulkAction

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class com.atlassian.bamboo.ww2.BambooActionSupport
BambooActionSupport.JSONStatus
 
Nested classes/interfaces inherited from interface com.atlassian.bamboo.ww2.actions.admin.bulk.BulkAction
BulkAction.WebWorkAction, BulkAction.WebWorkActionImpl
 
Field Summary
 
Fields inherited from class com.atlassian.bamboo.ww2.BambooActionSupport
administrationConfigurationManager, bambooPermissionManager, buildDefinitionManager, buildManager, commentManager, CONFIRM, cookieCutter, dashboardCachingManager, planExecutionManager, planManager, projectManager
 
Fields inherited from class com.opensymphony.xwork.ActionSupport
LOG
 
Fields inherited from interface com.atlassian.bamboo.ww2.actions.admin.bulk.BulkAction
WW_NAMESPACE_ADMIN, WW_NAMESPACE_BUILD_ADMIN, WW_NAMESPACE_BUILD_ADMIN_EDIT, WW_NAMESPACE_CHAIN_ADMIN
 
Fields inherited from interface com.opensymphony.xwork.Action
ERROR, INPUT, LOGIN, NONE, SUCCESS
 
Constructor Summary
AbstractNotificationBulkAction()
           
 
Method Summary
 java.lang.String getChangedItem()
          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
 BulkAction.WebWorkAction getResultAction()
          Action to view the new values after executing the bulk action
 BulkAction.WebWorkAction getViewAction()
          Action to run to get the view of the current value for this bulk action
 boolean hasUpdates()
          Returns whether or not a plan's details have been updated in order to carry out the bulk action
 boolean isApplicable(Plan plan)
          Returns whether or not a plan is applicable for a certain bulk action, eg.
 boolean isApplicableForJobs()
          Returns whether an action is applicable for subplans
 void populateActionParameters(ActionParametersMap actionParameters, Plan plan)
          Provides possibility to populate action parameters before executing bulk action.
 
Methods inherited from class com.atlassian.bamboo.ww2.BambooActionSupport
addError, addError, addErrorCollection, addErrorMessage, addErrorMessage, addErrorMessages, addErrors, addIllegalArgumentException, areCheckBoxesEmpty, buildJsonObject, checkFieldXssSafety, createFieldValidator, doDefault, doesHelpLinkHaveMatchingTitle, doesLabelKeyHaveMatchingDescription, doExecute, execute, getAdministrationConfiguration, getBamboo, getBambooLicenseManager, getBambooPermissionManager, getBambooSession, getBambooUserManager, getBaseUrl, getBootstrapManager, getBreadCrumbs, getBuildManager, getConcurrentBuildsEnabled, getConglomerateCookieValue, getCookieCutter, getCookieValue, getCurrentSystemTime, getCurrentUrl, getDefaultPersister, getDescriptionFromLabelKey, getFlushedErrorMessages, getFormattedActionErrors, getFormattedErrorMessages, getInstanceName, getJsonObject, getNumberOfCurrentlyBuildingPlans, getPlan, getPlanManager, getReturnUrl, getSecuredDomainObject, getSessionUser, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getTexts, getTexts, getTotalErrors, getUser, getValidatorContext, getWebFragmentsContextMap, getWebItemsForSection, getWebSectionsForLocation, hasAdminPermission, hasAnyErrors, hasBuilds, hasGlobalAdminPermission, hasGlobalPermission, hasKey, hasPlanPermission, hasPlanPermission, hasRestrictedAdminPermission, isCheckboxSetInAction, isEnableJavascript, isEnableSignup, isRestrictedAdminEnabled, isSelectFieldAndNull, renderFreemarkerTemplate, setAdministrationConfigurationManager, setAuthenticationContext, setBambooLicenseManager, setBambooPermissionManager, setBambooUserManager, setBuildDefinitionManager, setBuildManager, setCheckBoxFields, setCommentManager, setCookieCutter, setDashboardCachingManager, setEnableJavascript, setErrorMessages, setI18nBeanFactory, setPlanExecutionManager, setPlanManager, setProjectManager, setReturnUrl, setWebInterfaceManager
 
Methods inherited from class com.opensymphony.xwork.ActionSupport
addActionError, addActionMessage, addFieldError, clearErrorsAndMessages, clone, doInput, getActionErrors, getActionMessages, getErrorMessages, getErrors, getFieldErrors, getLocale, hasActionErrors, hasActionMessages, hasErrors, hasFieldErrors, pause, setActionErrors, setActionMessages, setFieldErrors, validate
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.atlassian.bamboo.ww2.actions.admin.bulk.BulkAction
getEditSnippetAction, getExecuteAction, getKey, getTitle, getViewUpdatedAction
 
Methods inherited from interface com.atlassian.bamboo.utils.error.ErrorCollection
getErrorMessages, getErrors, getFieldErrors
 

Constructor Detail

AbstractNotificationBulkAction

public AbstractNotificationBulkAction()
Method Detail

getViewAction

@NotNull
public 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 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:

isApplicableForJobs

public boolean isApplicableForJobs()
Description copied from interface: BulkAction
Returns whether an action is applicable for subplans

Specified by:
isApplicableForJobs in interface BulkAction
Returns:
true if applicable

isApplicable

public boolean isApplicable(Plan plan)
Description copied from interface: BulkAction
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 BulkAction
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
                                     ActionParametersMap actionParameters,
                                     @NotNull
                                     Plan 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 java.lang.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:


Copyright © 2010 Atlassian. All Rights Reserved.