Class ModelExportServiceImpl
java.lang.Object
ch.tocco.nice2.netui.actions.impl.modeltree.ModelExportServiceImpl
- All Implemented Interfaces:
ModelExportService
-
Constructor Summary
ConstructorDescriptionModelExportServiceImpl
(TableExporter exporter, ModelTreeService modelTreeService, TextResources textResources, OutputCenterService outputCenterService) -
Method Summary
Modifier and TypeMethodDescriptionvoid
exportEntityModels
(ModelTreeNode[] nodes) Exports the entity models attached to the given nodes to the repository as one xls file.void
exportFormModels
(FormModelTreeNode[] nodes, boolean withoutHiddenFields, String modulesToDisplay) Exports the form models attached to the given nodes to the repository as one xls file.getModulesFromForms
(FormModelTreeNode[] nodes) get all modules in which the selected forms are defined
-
Constructor Details
-
ModelExportServiceImpl
public ModelExportServiceImpl(TableExporter exporter, ModelTreeService modelTreeService, TextResources textResources, OutputCenterService outputCenterService)
-
-
Method Details
-
exportEntityModels
Description copied from interface:ModelExportService
Exports the entity models attached to the given nodes to the repository as one xls file.- Specified by:
exportEntityModels
in interfaceModelExportService
-
getModulesFromForms
get all modules in which the selected forms are defined- Specified by:
getModulesFromForms
in interfaceModelExportService
- Parameters:
nodes
- selected forms- Returns:
- set of all modules used
-
exportFormModels
public void exportFormModels(FormModelTreeNode[] nodes, boolean withoutHiddenFields, String modulesToDisplay) Description copied from interface:ModelExportService
Exports the form models attached to the given nodes to the repository as one xls file.- Specified by:
exportFormModels
in interfaceModelExportService
-