Class ModelExportServiceImpl
java.lang.Object
ch.tocco.nice2.netui.actions.impl.modeltree.ModelExportServiceImpl
- All Implemented Interfaces:
ModelExportService
-
Constructor Summary
ConstructorsConstructorDescriptionModelExportServiceImpl(TableExporter exporter, ModelTreeService modelTreeService, TextResources textResources, OutputCenterService outputCenterService) -
Method Summary
Modifier and TypeMethodDescriptionvoidexportEntityModels(ModelTreeNode[] nodes) Exports the entity models attached to the given nodes to the repository as one xls file.voidexportFormModels(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:ModelExportServiceExports the entity models attached to the given nodes to the repository as one xls file.- Specified by:
exportEntityModelsin interfaceModelExportService
-
getModulesFromForms
get all modules in which the selected forms are defined- Specified by:
getModulesFromFormsin 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:ModelExportServiceExports the form models attached to the given nodes to the repository as one xls file.- Specified by:
exportFormModelsin interfaceModelExportService
-