@ApplicationScoped public class DMNMarshallerImportsHelperKogitoImpl extends Object implements DMNMarshallerImportsHelperKogito
Constructor and Description |
---|
DMNMarshallerImportsHelperKogitoImpl(KogitoResourceContentService contentService,
DMNClientDiagramServiceImpl diagramService,
org.uberfire.client.promise.Promises promises,
DMNDiagramUtils diagramUtils,
DMNIncludedNodeFactory includedModelFactory) |
@Inject public DMNMarshallerImportsHelperKogitoImpl(KogitoResourceContentService contentService, DMNClientDiagramServiceImpl diagramService, org.uberfire.client.promise.Promises promises, DMNDiagramUtils diagramUtils, DMNIncludedNodeFactory includedModelFactory)
public elemental2.promise.Promise<Map<JSITImport,JSITDefinitions>> getImportDefinitionsAsync(Metadata metadata, List<JSITImport> imports)
getImportDefinitionsAsync
in interface DMNMarshallerImportsHelperKogito
public void loadNodesFromModels(List<DMNIncludedModel> includedModels, ServiceCallback<List<DMNIncludedNode>> callback)
loadNodesFromModels
in interface DMNMarshallerImportsHelperKogito
public void loadModels(ServiceCallback<List<IncludedModel>> callback)
loadModels
in interface DMNMarshallerImportsHelperKogito
public Map<JSITImport,JSITDefinitions> getImportDefinitions(Metadata metadata, List<JSITImport> jsitImports)
getImportDefinitions
in interface DMNMarshallerImportsHelper<JSITImport,JSITDefinitions,JSITDRGElement,JSITItemDefinition>
public Map<JSITImport,PMMLDocumentMetadata> getPMMLDocuments(Metadata metadata, List<JSITImport> imports)
getPMMLDocuments
in interface DMNMarshallerImportsHelper<JSITImport,JSITDefinitions,JSITDRGElement,JSITItemDefinition>
public Map<JSITImport,String> getImportXML(Metadata metadata, List<JSITImport> imports)
getImportXML
in interface DMNMarshallerImportsHelper<JSITImport,JSITDefinitions,JSITDRGElement,JSITItemDefinition>
public List<JSITDRGElement> getImportedDRGElements(Map<JSITImport,JSITDefinitions> importDefinitions)
getImportedDRGElements
in interface DMNMarshallerImportsHelper<JSITImport,JSITDefinitions,JSITDRGElement,JSITItemDefinition>
public List<JSITItemDefinition> getImportedItemDefinitions(Map<JSITImport,JSITDefinitions> importDefinitions)
getImportedItemDefinitions
in interface DMNMarshallerImportsHelper<JSITImport,JSITDefinitions,JSITDRGElement,JSITItemDefinition>
public void getImportedItemDefinitionsByNamespaceAsync(String modelName, String namespace, ServiceCallback<List<ItemDefinition>> callback)
getImportedItemDefinitionsByNamespaceAsync
in interface DMNMarshallerImportsHelperKogito
public List<JSITItemDefinition> getImportedItemDefinitionsByNamespace(org.guvnor.common.services.project.model.WorkspaceProject workspaceProject, String modelName, String namespace)
getImportedItemDefinitionsByNamespace
in interface DMNMarshallerImportsHelper<JSITImport,JSITDefinitions,JSITDRGElement,JSITItemDefinition>
public org.uberfire.backend.vfs.Path getDMNModelPath(Metadata metadata, String modelNamespace, String modelName)
getDMNModelPath
in interface DMNMarshallerImportsHelper<JSITImport,JSITDefinitions,JSITDRGElement,JSITItemDefinition>
public Optional<InputStream> loadPath(org.uberfire.backend.vfs.Path path)
loadPath
in interface DMNMarshallerImportsHelper<JSITImport,JSITDefinitions,JSITDRGElement,JSITItemDefinition>
Copyright © 2001–2020 JBoss by Red Hat. All rights reserved.