Class ProjectManagementChartMacroParameters
- java.lang.Object
-
- com.xwiki.projectmanagement.macro.ProjectManagementChartMacroParameters
-
public class ProjectManagementChartMacroParameters extends Object
Bean that represents the parameters used by theAbstractProjectManagementChartMacroimplementers.- Since:
- 1.2.0-rc-1
- Version:
- $Id$
-
-
Constructor Summary
Constructors Constructor Description ProjectManagementChartMacroParameters()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetClient()StringgetDatasetsLabels()StringgetFilters()IntegergetLimit()LonggetOffset()StringgetProperty()StringgetType()StringgetTypeParams()voidsetClient(String client)voidsetDatasetsLabels(String datasetsLabels)voidsetFilters(String filters)voidsetLimit(Integer limit)voidsetOffset(Long offset)voidsetProperty(String property)voidsetType(String type)voidsetTypeParams(String typeParams)
-
-
-
Method Detail
-
getClient
public String getClient()
- Returns:
- the client id. The client being the project management implementor. i.e. openproject.
-
setClient
public void setClient(String client)
- Parameters:
client- seegetClient().
-
getType
public String getType()
- Returns:
- the type of the chart. This value is associated to a chart type implementation that handles the displaying for the given filter.
-
getProperty
public String getProperty()
- Returns:
- the work item property that will be used in displaying the chart.
-
setProperty
public void setProperty(String property)
- Parameters:
property- seegetProperty().
-
getFilters
public String getFilters()
- Returns:
- a JSON representing the filters applied on the work items dataset. The JSON is the serialized version of
the
LiveDataConfiguration.
-
setFilters
public void setFilters(String filters)
- Parameters:
filters- seegetFilters().
-
getLimit
public Integer getLimit()
- Returns:
- the limit applied of the work items resulting list.
-
setLimit
public void setLimit(Integer limit)
- Parameters:
limit- seegetLimit().
-
getOffset
public Long getOffset()
- Returns:
- the offset of the work items resulting list.
-
setOffset
public void setOffset(Long offset)
- Parameters:
offset- seegetOffset().
-
getTypeParams
public String getTypeParams()
- Returns:
- a JSON representation of the chart type implementor configuration object. A
ChartTypeDisplayerwill return the configuration type by callingChartTypeDisplayer.getParameterTypeTemplate()()}.
-
setTypeParams
public void setTypeParams(String typeParams)
- Parameters:
typeParams- seegetTypeParams().
-
getDatasetsLabels
public String getDatasetsLabels()
- Returns:
- a JSON array of labels used to describe each dataset displayed.
-
setDatasetsLabels
public void setDatasetsLabels(String datasetsLabels)
- Parameters:
datasetsLabels- seegetDatasetsLabels().
-
-