public InputStream getProcessDiagram(String processDefinitionId) {
return commandExecutor.execute(new GetDeploymentProcessDiagramCmd(processDefinitionId));
}
public InputStream getCaseDiagram(String caseDefinitionId) {
return commandExecutor.execute(new GetDeploymentCaseDiagramCmd(caseDefinitionId));
}