@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)
VisualizationServiceLocal
getDiagram
in interface VisualizationServiceLocal
modelId
- the identifier of the module in which the process is defineddiagramUri
- the URI to the diagrampublic String getRuntimeDiagram(long modelInstanceId, Long processInstanceId, String diagramUri)
VisualizationServiceLocal
getRuntimeDiagram
in interface VisualizationServiceLocal
modelInstanceId
- 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)
VisualizationServiceLocal
findDiagrams
in interface VisualizationServiceLocal
moduleId
- the identifier of the moduleelementId
- the identifier of the element@RightsAllowed(value="Model:Read") public ModuleResources getModuleResources(long moduleId)
VisualizationServiceLocal
getModuleResources
in interface VisualizationServiceLocal
moduleId
- the identifier of the module which should be searched
for resourcesCopyright © 2007-2020 Whitestein Technologies. All Rights Reserved.