@PermitAll public class VisualizationServiceBean extends Object implements VisualizationServiceLocal
| Constructor and Description |
|---|
VisualizationServiceBean() |
| Modifier and Type | Method and Description |
|---|---|
List<DiagramInfo> |
findDiagrams(long moduleId,
String elementId)
Finds diagrams for an element.
|
String |
getDiagram(String modelId,
String diagramUri)
Gets a process model diagram as a JSON string.
|
ModuleResources |
getModuleResources(long moduleId)
Finds resources defined in a specific module.
|
String |
getRuntimeDiagram(long modelInstanceId,
Long processInstanceId,
String diagramUri)
Gets a runtime diagram as JSON string for the given process
instance.
|
public String getDiagram(String modelId, String diagramUri)
VisualizationServiceLocalgetDiagram in interface VisualizationServiceLocalmodelId - the identifier of the module in which the process is defineddiagramUri - the URI to the diagrampublic String getRuntimeDiagram(long modelInstanceId, Long processInstanceId, String diagramUri)
VisualizationServiceLocalgetRuntimeDiagram in interface VisualizationServiceLocalmodelInstanceId - the identifier of the model instanceprocessInstanceId - the identifier of the process instance (optional)diagramUri - the identifier of the diagram which should be displayedpublic List<DiagramInfo> findDiagrams(long moduleId, String elementId)
VisualizationServiceLocalfindDiagrams in interface VisualizationServiceLocalmoduleId - the identifier of the moduleelementId - the identifier of the element@RightsAllowed(value="Model:Read") public ModuleResources getModuleResources(long moduleId)
VisualizationServiceLocalgetModuleResources in interface VisualizationServiceLocalmoduleId - the identifier of the module which should be searched
for resourcesCopyright © 2007-2020 Whitestein Technologies. All Rights Reserved.