KIE Remote Services :: Services 6.1.0.CR2

org.kie.remote.services.rest.graph
Class GraphViewerPluginImpl

java.lang.Object
  extended by org.kie.remote.services.rest.graph.GraphViewerPluginImpl

public class GraphViewerPluginImpl
extends Object

This code needs to be finished -- it was pulled from the old jbpm-gwt module and the bpm-console projec. The idea is to use this (and the underlying classes in the .jaxb package) to duplicate the image and image info functions that the old gwt-console had. /gwt-console-server/rs/process/definition/{id}/image /gwt-console-server/rs/process/instance/{id}/activeNodeInfo


Constructor Summary
GraphViewerPluginImpl()
           
 
Method Summary
 List<ActiveNodeInfo> getActiveNodeInfo(String instanceId)
           
 DiagramInfo getDiagramInfo(String processId)
           
 URL getDiagramURL(String id)
           
 List<ActiveNodeInfo> getNodeInfoForActivities(String processDefinitionId, List<String> activities)
           
 byte[] getProcessImage(String processId)
           
static int transfer(InputStream in, OutputStream out)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GraphViewerPluginImpl

public GraphViewerPluginImpl()
Method Detail

getActiveNodeInfo

public List<ActiveNodeInfo> getActiveNodeInfo(String instanceId)

getDiagramInfo

public DiagramInfo getDiagramInfo(String processId)

getProcessImage

public byte[] getProcessImage(String processId)

transfer

public static int transfer(InputStream in,
                           OutputStream out)
                    throws IOException
Throws:
IOException

getDiagramURL

public URL getDiagramURL(String id)

getNodeInfoForActivities

public List<ActiveNodeInfo> getNodeInfoForActivities(String processDefinitionId,
                                                     List<String> activities)

KIE Remote Services :: Services 6.1.0.CR2

Copyright © 2001-2014 JBoss by Red Hat. All Rights Reserved.