Class BaseDashboardComponentDefinitionModel
java.lang.Object
com.flowable.platform.engine.impl.repository.dashboard.BaseDashboardComponentDefinitionModel
- All Implemented Interfaces:
DashboardComponentDefinitionModel
public class BaseDashboardComponentDefinitionModel
extends Object
implements DashboardComponentDefinitionModel
-
Nested Class Summary
Nested classes/interfaces inherited from interface DashboardComponentDefinitionModel
DashboardComponentDefinitionModel.DashboardComponentAggregationDefinition, DashboardComponentDefinitionModel.DashboardComponentInfo, DashboardComponentDefinitionModel.DashboardComponentInputParameter, DashboardComponentDefinitionModel.DashboardComponentOption, DashboardComponentDefinitionModel.DashboardComponentQueryModelInfo, DashboardComponentDefinitionModel.DashboardComponentQueryResultMapping -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the category of this dashboard component, e.g.tools.jackson.databind.node.ObjectNodeA configuration that is component dependentReturns the optional description of this dashboard component definition, describing where and how it might be used.Returns the list of input parameters that this component can use.getKey()Returns the business key usually used to reference or lookup a dashboard component definition regardless of its version.getName()Returns the name of this dashboard component definition.Returns the list of potential options for this component.Returns the key of the query model that is used to fetch the data needed to display this component.Returns the mapping configuration to map from the result of executing the query model to the data format.Returns the authorities required to access this dashboard component.tools.jackson.databind.JsonNodeReturns the static data, if any is set.Specifies the component further and together with the type should fully classify the component.getType()Returns the high-level type of this dashboard component, for example 'line chart'.voidsetCategory(String category) voidsetConfiguration(tools.jackson.databind.node.ObjectNode configuration) voidsetDescription(String description) voidsetInputParameters(List<DashboardComponentDefinitionModel.DashboardComponentInputParameter> inputParameters) voidvoidvoidvoidvoidsetQueryResultMapping(DashboardComponentDefinitionModel.DashboardComponentQueryResultMapping queryResultMapping) voidsetRequiredAuthorities(List<String> requiredAuthorities) voidsetStaticData(tools.jackson.databind.JsonNode staticData) voidsetSubType(String subType) void
-
Field Details
-
key
-
name
-
description
-
type
-
subType
-
category
-
queryModel
-
staticData
protected tools.jackson.databind.JsonNode staticData -
inputParameters
-
options
-
configuration
protected tools.jackson.databind.node.ObjectNode configuration -
queryResultMapping
-
requiredAuthorities
-
-
Constructor Details
-
BaseDashboardComponentDefinitionModel
public BaseDashboardComponentDefinitionModel()
-
-
Method Details
-
getKey
Description copied from interface:DashboardComponentDefinitionModelReturns the business key usually used to reference or lookup a dashboard component definition regardless of its version.- Specified by:
getKeyin interfaceDashboardComponentDefinitionModel
-
setKey
-
getName
Description copied from interface:DashboardComponentDefinitionModelReturns the name of this dashboard component definition.- Specified by:
getNamein interfaceDashboardComponentDefinitionModel
-
setName
-
getDescription
Description copied from interface:DashboardComponentDefinitionModelReturns the optional description of this dashboard component definition, describing where and how it might be used.- Specified by:
getDescriptionin interfaceDashboardComponentDefinitionModel
-
setDescription
-
getType
Description copied from interface:DashboardComponentDefinitionModelReturns the high-level type of this dashboard component, for example 'line chart'.- Specified by:
getTypein interfaceDashboardComponentDefinitionModel
-
setType
-
getSubType
Description copied from interface:DashboardComponentDefinitionModelSpecifies the component further and together with the type should fully classify the component. For exampler 'processInstanceThroughput'.- Specified by:
getSubTypein interfaceDashboardComponentDefinitionModel
-
setSubType
-
getCategory
Description copied from interface:DashboardComponentDefinitionModelReturns the category of this dashboard component, e.g. 'agent', 'case', 'process', 'task'.- Specified by:
getCategoryin interfaceDashboardComponentDefinitionModel
-
setCategory
-
getQueryModel
Description copied from interface:DashboardComponentDefinitionModelReturns the key of the query model that is used to fetch the data needed to display this component.- Specified by:
getQueryModelin interfaceDashboardComponentDefinitionModel
-
setQueryModel
public void setQueryModel(DashboardComponentDefinitionModel.DashboardComponentQueryModelInfo queryModel) -
getInputParameters
public List<DashboardComponentDefinitionModel.DashboardComponentInputParameter> getInputParameters()Description copied from interface:DashboardComponentDefinitionModelReturns the list of input parameters that this component can use.- Specified by:
getInputParametersin interfaceDashboardComponentDefinitionModel
-
setInputParameters
public void setInputParameters(List<DashboardComponentDefinitionModel.DashboardComponentInputParameter> inputParameters) -
getOptions
Description copied from interface:DashboardComponentDefinitionModelReturns the list of potential options for this component.- Specified by:
getOptionsin interfaceDashboardComponentDefinitionModel
-
setOptions
-
getConfiguration
public tools.jackson.databind.node.ObjectNode getConfiguration()Description copied from interface:DashboardComponentDefinitionModelA configuration that is component dependent- Specified by:
getConfigurationin interfaceDashboardComponentDefinitionModel
-
setConfiguration
public void setConfiguration(tools.jackson.databind.node.ObjectNode configuration) -
getQueryResultMapping
public DashboardComponentDefinitionModel.DashboardComponentQueryResultMapping getQueryResultMapping()Description copied from interface:DashboardComponentDefinitionModelReturns the mapping configuration to map from the result of executing the query model to the data format.- Specified by:
getQueryResultMappingin interfaceDashboardComponentDefinitionModel
-
setQueryResultMapping
public void setQueryResultMapping(DashboardComponentDefinitionModel.DashboardComponentQueryResultMapping queryResultMapping) -
getStaticData
public tools.jackson.databind.JsonNode getStaticData()Description copied from interface:DashboardComponentDefinitionModelReturns the static data, if any is set. If static data is set, no query will be executed to get real data.- Specified by:
getStaticDatain interfaceDashboardComponentDefinitionModel
-
setStaticData
public void setStaticData(tools.jackson.databind.JsonNode staticData) -
getRequiredAuthorities
Description copied from interface:DashboardComponentDefinitionModelReturns the authorities required to access this dashboard component. If the list is null or empty, no authority is required (open access). A user has access if they are an admin or have any one of the listed authorities.- Specified by:
getRequiredAuthoritiesin interfaceDashboardComponentDefinitionModel
-
setRequiredAuthorities
-