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

import eu.bcvsolutions.idm.core.model.domain.ResourcesWrapper;
import eu.bcvsolutions.idm.core.workflow.model.dto.WorkflowHistoricProcessInstanceDto;
import eu.bcvsolutions.idm.core.workflow.model.dto.WorkflowFilterDto;

public interface WorkflowHistoricProcessInstanceService {
	public static final String SORT_BY_START_TIME = "startTime";
	public static final String SORT_BY_END_TIME = "endTime";

	ResourcesWrapper<WorkflowHistoricProcessInstanceDto> search(WorkflowFilterDto filter);

	WorkflowHistoricProcessInstanceDto get(String historicProcessInstanceId);

}

@@ -45,16 +45,45 @@
 rvice;%0A%0A
+import java.io.InputStream;%0A%0A
 import e
@@ -639,10 +639,61 @@
 ceId);%0A%0A
+%09InputStream getDiagram(String processInstanceId);%0A
 %7D%0A

Generate diagram of process instance as PNG image