public Response getNodeInfoForActivities(
@PathParam("id")
String id, @QueryParam("activity") String[] activities)
{
GraphViewerPlugin plugin = getGraphViewerPlugin();
if(plugin !=null)
{
List<ActiveNodeInfo> info = plugin.getNodeInfoForActivities(id, Arrays.asList(activities));
return createJsonResponse(info);
}
throw new RuntimeException(
GraphViewerPlugin.class.getName()+ " not available."