package eu.bcvsolutions.idm.core.workflow.service;

import java.util.List;

import eu.bcvsolutions.idm.core.workflow.model.dto.WorkflowProcessDefinitionDto;

public interface WorkflowProcessDefinitionService {

	List<WorkflowProcessDefinitionDto> findAllProcessDefinitions();

	WorkflowProcessDefinitionDto get(String processDefinitionKey);

	String getProcessDefinitionId(String processDefinitionKey);

}
@@ -45,16 +45,44 @@
 rvice;%0A%0A
+import java.io.InputStream;%0A
 import j
@@ -425,9 +425,109 @@
 nKey);%0A%0A
+%09InputStream getDiagram(String definitionId);%0A%0A%09InputStream getDiagramByKey(String definitionKey);%0A%0A
 %7D

Generate diagram for process definition as PNG image