Class LabelReportActionServiceImpl
java.lang.Object
ch.tocco.nice2.reporting.impl.action.LabelReportActionServiceImpl
- All Implemented Interfaces:
LabelReportActionService
-
Nested Class Summary
Nested classes/interfaces inherited from interface ch.tocco.nice2.reporting.impl.action.LabelReportActionService
LabelReportActionService.LabelOption
-
Constructor Summary
ConstructorDescriptionLabelReportActionServiceImpl
(Context context, QueryBuilderFactory queryBuilderFactory, BusinessUnitManager businessUnitManager) -
Method Summary
Modifier and TypeMethodDescriptiongetAvailableLabels
(String entityName, String scope) load all available labels for some entity model
-
Constructor Details
-
LabelReportActionServiceImpl
public LabelReportActionServiceImpl(Context context, QueryBuilderFactory queryBuilderFactory, BusinessUnitManager businessUnitManager)
-
-
Method Details
-
getAvailableLabels
public List<LabelReportActionService.LabelOption> getAvailableLabels(String entityName, String scope) Description copied from interface:LabelReportActionService
load all available labels for some entity model- Specified by:
getAvailableLabels
in interfaceLabelReportActionService
- Parameters:
entityName
- the model to load labels forscope
- the form scope to load the labels for- Returns:
- a list of labels ready to be used in a SingleSelectBox
-