com.atlassian.bamboo.webwork
Class DashboardFilter

java.lang.Object
  extended by com.opensymphony.xwork.ActionSupport
      extended by com.atlassian.bamboo.ww2.BambooActionSupport
          extended by com.atlassian.bamboo.webwork.StarterAction
              extended by com.atlassian.bamboo.webwork.DashboardFilter
All Implemented Interfaces:
ErrorCollection, BambooSessionAware, NavigationAware, DomainObjectSecurityAware, GlobalReadSecurityAware, ReturnUrlAware, TabSelectionAware, 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

public class DashboardFilter
extends StarterAction

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class com.atlassian.bamboo.webwork.StarterAction
StarterAction.DashboardPage
 
Nested classes/interfaces inherited from class com.atlassian.bamboo.ww2.BambooActionSupport
BambooActionSupport.JSONStatus
 
Field Summary
static java.lang.String BAMBOO_DASHBOARD_FILTER_ENABLED
           
static java.lang.String BAMBOO_DASHBOARD_LABELS
           
static java.lang.String BAMBOO_DASHBOARD_PROJECTS
           
 
Fields inherited from class com.atlassian.bamboo.webwork.StarterAction
chainBranchManager, extendedAuthorManager, labelManager
 
Fields inherited from class com.atlassian.bamboo.ww2.BambooActionSupport
ACCESS_DENIED, administrationConfigurationAccessor, administrationConfigurationManager, AGGREGATE_URL_PATTERN, bambooPermissionManager, bambooUserManager, BUILD_KEY_CONTEXT, buildDefinitionManager, cachedPlanManager, CONFIRM, cookieCutter, dashboardCachingManager, deploymentProjectService, environmentService, featureManager, PLAN_KEY_CONTEXT, planExecutionManager, planManager, projectManager, webInterfaceManager
 
Fields inherited from class com.opensymphony.xwork.ActionSupport
LOG
 
Fields inherited from interface com.opensymphony.xwork.Action
ERROR, INPUT, LOGIN, NONE, SUCCESS
 
Constructor Summary
DashboardFilter()
           
 
Method Summary
 java.lang.String doDefault()
          Default action just sends to the input
 java.lang.String doExecute()
          Places the current user on the page
 java.lang.String doToggle()
           
 java.lang.Iterable<Label> getAllPlanLabels()
           
 com.opensymphony.webwork.dispatcher.json.JSONArray getExistingProjectsJson()
           
 java.util.List<java.lang.String> getSelectedLabelNames()
           
 java.util.List<java.lang.String> getSelectedProjectKeys()
           
 boolean isFilterEnabled()
           
 void setFilterEnabled(boolean filterEnabled)
           
 void setSelectedLabelNames(java.util.List<java.lang.String> labelNames)
           
 void setSelectedProjectKeys(java.util.List<java.lang.String> selectedProjectKeys)
           
 
Methods inherited from class com.atlassian.bamboo.webwork.StarterAction
doMyBamboo, doStart, filterPlansByLabel, filterPlansByProject, getAuthor, getAuthors, getBuildAgents, getBusyBuildAgents, getChains, getChart, getCommitViews, getCurrentlyBuilding, getCurrentlyBuilding, getDashboardTabUrl, getFavouriteBuilds, getFilteredProjectKeys, getLabelNames, getPage, getPageSize, getPageToNearestProject, getPlans, getPlansByLabel, getPlansForDashboard, getProjectStatusHelper, getQueue, getReorderedBuildKey, getSelectedTab, hasBranches, hasPlanPermission, isAllowedRemoteAgents, isDashboardFilterConfigured, isDashboardFilterEnabled, isFavourite, isShowDashboard, setAgentManager, setBuildExecutionManager, setBuildQueueManager, setCapabilityHelper, setCapabilitySetManager, setChainBranchManager, setExtendedAuthorManager, setFilteredProjectKeys, setLabelManager, setLabelNames, setLastProject, setPageSize, setReorderedBuildKey, setResultsSummaryManager, setSelectedTab
 
Methods inherited from class com.atlassian.bamboo.ww2.BambooActionSupport
addActionError, addActionWarning, addError, addError, addErrorCollection, addErrorMessage, addErrorMessage, addErrorMessages, addErrors, addHelpPanel, addIllegalArgumentException, areCheckBoxesEmpty, buildJsonObject, buildWebPanelContext, checkFieldXssSafety, createFieldValidator, doesHelpLinkHaveMatchingTitle, doesLabelKeyHaveMatchingDescription, execute, forceRelativeReturnUrl, getActionWarnings, getAdministrationConfiguration, getBamboo, getBambooLicenseManager, getBambooPermissionManager, getBambooSession, getBambooUrl, getBambooUserManager, getBaseUrl, getBestBaseUrl, getBootstrapManager, getBreadCrumbs, getChainEquiv, getConcurrentBuildsEnabled, getConglomerateCookieValue, getCookieCutter, getCookieValue, getCurrentFormTheme, getCurrentSystemTime, getCurrentUrl, getDefaultPersister, getDeploymentProject, getDescriptionFromLabelKey, getElasticConfig, getFeatureManager, getFieldErrorAccessTracker, getFieldErrors, getFlushedErrorMessages, getFormattedActionErrors, getFormattedActionMessages, getFormattedErrorMessages, getHelpPanels, getInstanceName, getJobEquiv, getJsonObject, getNavigationContext, getNavigationUrl, getNumberOfCurrentlyBuildingPlans, getPlan, getPlanManager, getPluginAccessor, getReturnUrl, getSecuredDomainObject, getServerLifecycleState, getSessionUser, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getTextProvider, getTexts, getTexts, getTextWithArgs, getTotalErrors, getUser, getValidatorContext, getWebFragmentsContextMap, getWebItemsForSection, getWebPanelContext, getWebSectionsForLocation, hasActionWarnings, hasAdminPermission, hasAnyErrors, hasBuilds, hasEntityPermission, hasGlobalAdminPermission, hasGlobalPermission, hasGlobalPermission, hasKey, hasLinkedDeployments, hasPlanPermission, hasRestrictedAdminPermission, isCheckboxSetInAction, isEc2ConfigurationWarningRequired, isEnableJavascript, isEnableSignup, isInlineDialog, isRestrictedAdminEnabled, isSelectFieldAndNull, isViewContactDetailsEnabled, renderFreemarkerTemplate, setAdministrationConfigurationAccessor, setAdministrationConfigurationManager, setAuthenticationContext, setBambooLicenseManager, setBambooPermissionManager, setBambooUserManager, setBuildDefinitionManager, setCachedPlanManager, setChainEquiv, setCheckBoxFields, setCookieCutter, setCurrentFormTheme, setDashboardCachingManager, setDecorator, setDeploymentProjectService, setEnableJavascript, setEnvironmentService, setErrorMessages, setFeatureManager, setI18nBeanFactory, setJobEquiv, setJsonator, setLinkedDeploymentProjectCacheService, setNavigationContext, setPlanExecutionManager, setPlanManager, setPluginAccessor, setProfile, setProjectManager, setReturnUrl, setServerLifecycleProvider, setWebInterfaceManager, toJson, toJson
 
Methods inherited from class com.opensymphony.xwork.ActionSupport
addActionMessage, addFieldError, clearErrorsAndMessages, clone, doInput, getActionErrors, getActionMessages, getErrorMessages, getErrors, 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.utils.error.ErrorCollection
getErrorMessages, getErrors
 

Field Detail

BAMBOO_DASHBOARD_PROJECTS

public static final java.lang.String BAMBOO_DASHBOARD_PROJECTS
See Also:
Constant Field Values

BAMBOO_DASHBOARD_LABELS

public static final java.lang.String BAMBOO_DASHBOARD_LABELS
See Also:
Constant Field Values

BAMBOO_DASHBOARD_FILTER_ENABLED

public static final java.lang.String BAMBOO_DASHBOARD_FILTER_ENABLED
See Also:
Constant Field Values
Constructor Detail

DashboardFilter

public DashboardFilter()
Method Detail

doDefault

public java.lang.String doDefault()
Description copied from class: BambooActionSupport
Default action just sends to the input

Overrides:
doDefault in class BambooActionSupport

doToggle

public java.lang.String doToggle()

doExecute

public java.lang.String doExecute()
Description copied from class: BambooActionSupport
Places the current user on the page

Overrides:
doExecute in class BambooActionSupport
Returns:
webwork success status

getExistingProjectsJson

public com.opensymphony.webwork.dispatcher.json.JSONArray getExistingProjectsJson()
                                                                           throws com.opensymphony.webwork.dispatcher.json.JSONException
Throws:
com.opensymphony.webwork.dispatcher.json.JSONException

getAllPlanLabels

public java.lang.Iterable<Label> getAllPlanLabels()

getSelectedProjectKeys

public java.util.List<java.lang.String> getSelectedProjectKeys()

setSelectedProjectKeys

public void setSelectedProjectKeys(java.util.List<java.lang.String> selectedProjectKeys)

isFilterEnabled

public boolean isFilterEnabled()

setFilterEnabled

public void setFilterEnabled(boolean filterEnabled)

getSelectedLabelNames

public java.util.List<java.lang.String> getSelectedLabelNames()

setSelectedLabelNames

public void setSelectedLabelNames(java.util.List<java.lang.String> labelNames)


Copyright © 2013 Atlassian Software Systems Pty Ltd. All Rights Reserved.