com.atlassian.bamboo.ww2.actions.reports
Class ViewReport

java.lang.Object
  extended by com.opensymphony.xwork.ActionSupport
      extended by com.atlassian.bamboo.ww2.BambooActionSupport
          extended by com.atlassian.bamboo.ww2.actions.reports.ViewReport
All Implemented Interfaces:
ErrorCollection, BambooSessionAware, NavigationAware, PaginationAware, DomainObjectSecurityAware, GlobalReadSecurityAware, ResultsListProvider, 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

public class ViewReport
extends BambooActionSupport
implements PaginationAware

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class com.atlassian.bamboo.ww2.BambooActionSupport
BambooActionSupport.JSONStatus
 
Field Summary
 
Fields inherited from class com.atlassian.bamboo.ww2.BambooActionSupport
administrationConfigurationManager, bambooPermissionManager, bambooUserManager, buildDefinitionManager, CONFIRM, cookieCutter, dashboardCachingManager, planExecutionManager, planManager, projectManager
 
Fields inherited from class com.opensymphony.xwork.ActionSupport
LOG
 
Fields inherited from interface com.opensymphony.xwork.Action
ERROR, INPUT, LOGIN, NONE, SUCCESS
 
Constructor Summary
ViewReport()
           
 
Method Summary
 java.lang.String doGenerate()
           
 java.lang.String doView()
           
 java.util.Map getAvailableDateFilter()
           
 java.util.Map getAvailableGroupBy()
           
 java.util.Collection<TopLevelPlan> getAvailablePlans()
           
 java.util.List getAvailableReports()
           
 java.util.List getBuildIds()
           
 java.lang.String getBuildNameFromKey(java.lang.String key)
           
 org.jfree.data.time.TimeTableXYDataset getDataset()
           
 java.lang.String getDateFilter()
           
 java.lang.String getDateFrom()
           
 java.lang.String getDateTo()
           
 java.lang.String getGroupByPeriod()
           
 int getNumberOfProjects()
           
 Pager getPager()
           
 java.lang.String getReportKey()
           
 java.lang.String getResolvedAutoPeriod()
           
 java.util.List getResultsList()
           
 com.atlassian.plugin.ModuleDescriptor getSelectedReport()
           
 java.lang.Double getYValue(int series, int item)
           
 boolean isHideHeader()
          Whether the menu & chart headers will be shown
 boolean isUseSession()
          Whether or not a search saved in the session will be shown or not
 void setBuildIds(java.util.List buildIds)
           
 void setChartManager(ChartManager chartManager)
           
 void setDataset(org.jfree.data.time.TimeTableXYDataset dataset)
           
 void setDateFilter(java.lang.String dateFilter)
           
 void setDateFrom(java.lang.String dateFrom)
           
 void setDateTo(java.lang.String dateTo)
           
 void setGroupByPeriod(java.lang.String groupByPeriod)
           
 void setHideHeader(boolean hideHeader)
           
 void setPager(Pager pager)
           
 void setReportKey(java.lang.String reportKey)
           
 void setResolvedAutoPeriod(java.lang.String resolvedAutoPeriod)
           
 void setResultsList(java.util.List resultsList)
           
 void setUseSession(boolean useSession)
           
 
Methods inherited from class com.atlassian.bamboo.ww2.BambooActionSupport
addError, addError, addErrorCollection, addErrorMessage, addErrorMessage, addErrorMessages, addErrors, addIllegalArgumentException, areCheckBoxesEmpty, buildJsonObject, buildWebPanelContext, checkFieldXssSafety, createFieldValidator, doDefault, doesHelpLinkHaveMatchingTitle, doesLabelKeyHaveMatchingDescription, doExecute, execute, getAdministrationConfiguration, getBamboo, getBambooLicenseManager, getBambooPermissionManager, getBambooSession, getBambooUserManager, getBaseUrl, getBootstrapManager, getBreadCrumbs, getChainEquiv, getConcurrentBuildsEnabled, getConglomerateCookieValue, getCookieCutter, getCookieValue, getCurrentFormTheme, getCurrentSystemTime, getCurrentUrl, getDefaultPersister, getDescriptionFromLabelKey, getFlushedErrorMessages, getFormattedActionErrors, getFormattedActionMessages, getFormattedErrorMessages, getInstanceName, getJobEquiv, getJsonObject, getNavigationContext, getNavigationUrl, getNumberOfCurrentlyBuildingPlans, getPlan, getPlanManager, getPluginAccessor, getReturnUrl, getSecuredDomainObject, getSessionUser, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getTexts, getTexts, getTextWithArgs, getTotalErrors, getUser, getValidatorContext, getWebFragmentsContextMap, getWebItemsForSection, getWebPanelContext, getWebSectionsForLocation, hasAdminPermission, hasAnyErrors, hasBuilds, hasGlobalAdminPermission, hasGlobalPermission, hasKey, hasPlanPermission, hasPlanPermission, hasRestrictedAdminPermission, isCheckboxSetInAction, isEnableJavascript, isEnableSignup, isRestrictedAdminEnabled, isSelectFieldAndNull, renderFreemarkerTemplate, setAdministrationConfigurationManager, setAuthenticationContext, setBambooLicenseManager, setBambooPermissionManager, setBambooUserManager, setBuildDefinitionManager, setChainEquiv, setCheckBoxFields, setCookieCutter, setCurrentFormTheme, setDashboardCachingManager, setEnableJavascript, setErrorMessages, setI18nBeanFactory, setJobEquiv, setNavigationContext, setPlanExecutionManager, setPlanManager, setPluginAccessor, 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.utils.error.ErrorCollection
getErrorMessages, getErrors, getFieldErrors
 

Constructor Detail

ViewReport

public ViewReport()
Method Detail

doView

public java.lang.String doView()
                        throws java.lang.Exception
Throws:
java.lang.Exception

doGenerate

public java.lang.String doGenerate()

getSelectedReport

public com.atlassian.plugin.ModuleDescriptor getSelectedReport()

getAvailablePlans

public java.util.Collection<TopLevelPlan> getAvailablePlans()

getNumberOfProjects

public int getNumberOfProjects()

getAvailableReports

public java.util.List getAvailableReports()

getAvailableGroupBy

public java.util.Map getAvailableGroupBy()

getAvailableDateFilter

public java.util.Map getAvailableDateFilter()

getBuildNameFromKey

public java.lang.String getBuildNameFromKey(java.lang.String key)

isUseSession

public boolean isUseSession()
Whether or not a search saved in the session will be shown or not

Returns:

setUseSession

public void setUseSession(boolean useSession)

isHideHeader

public boolean isHideHeader()
Whether the menu & chart headers will be shown

Returns:

setHideHeader

public void setHideHeader(boolean hideHeader)

getResolvedAutoPeriod

public java.lang.String getResolvedAutoPeriod()

setResolvedAutoPeriod

public void setResolvedAutoPeriod(java.lang.String resolvedAutoPeriod)

getBuildIds

public java.util.List getBuildIds()

setBuildIds

public void setBuildIds(java.util.List buildIds)

getReportKey

public java.lang.String getReportKey()

setReportKey

public void setReportKey(java.lang.String reportKey)

getGroupByPeriod

public java.lang.String getGroupByPeriod()

setGroupByPeriod

public void setGroupByPeriod(java.lang.String groupByPeriod)

getDateFilter

public java.lang.String getDateFilter()

setDateFilter

public void setDateFilter(java.lang.String dateFilter)

getDateFrom

public java.lang.String getDateFrom()

setDateFrom

public void setDateFrom(java.lang.String dateFrom)

getDateTo

public java.lang.String getDateTo()

setDateTo

public void setDateTo(java.lang.String dateTo)

getResultsList

public java.util.List getResultsList()
Specified by:
getResultsList in interface ResultsListProvider

setResultsList

public void setResultsList(java.util.List resultsList)

getDataset

public org.jfree.data.time.TimeTableXYDataset getDataset()

getYValue

@Nullable
public java.lang.Double getYValue(int series,
                                           int item)

setDataset

public void setDataset(org.jfree.data.time.TimeTableXYDataset dataset)

getPager

public Pager getPager()
Specified by:
getPager in interface PaginationAware

setPager

public void setPager(Pager pager)
Specified by:
setPager in interface PaginationAware

setChartManager

public void setChartManager(ChartManager chartManager)


Copyright © 2011 Atlassian. All Rights Reserved.