fr.paris.lutece.plugins.workflow.modules.rest.rs
Class WorkflowRest

java.lang.Object
  extended by fr.paris.lutece.plugins.workflow.modules.rest.rs.WorkflowRest

public class WorkflowRest
extends java.lang.Object

DirectoryRest


Constructor Summary
WorkflowRest()
           
 
Method Summary
 java.lang.String getWADL(javax.servlet.http.HttpServletRequest request)
          Get the wadl.xml content
 java.util.List<fr.paris.lutece.plugins.workflowcore.business.workflow.Workflow> getWorkflow(int nIdWorkflow)
          Get the workflow
 java.util.List<fr.paris.lutece.plugins.workflowcore.business.workflow.Workflow> getWorkflowsList()
          Get the workflows list
 void setWorkflowRestService(IWorkflowRestService workflowRestService)
          Set the workflow rest service
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WorkflowRest

public WorkflowRest()
Method Detail

setWorkflowRestService

public void setWorkflowRestService(IWorkflowRestService workflowRestService)
Set the workflow rest service

Parameters:
workflowRestService - the workflow rest service

getWADL

public java.lang.String getWADL(@Context
                                javax.servlet.http.HttpServletRequest request)
Get the wadl.xml content

Parameters:
request - HttpServletRequest
Returns:
the content of wadl.xml

getWorkflow

public java.util.List<fr.paris.lutece.plugins.workflowcore.business.workflow.Workflow> getWorkflow(int nIdWorkflow)
Get the workflow

Parameters:
nIdWorkflow - the id workflow
Returns:
the workflow

getWorkflowsList

public java.util.List<fr.paris.lutece.plugins.workflowcore.business.workflow.Workflow> getWorkflowsList()
Get the workflows list

Returns:
the list of workflows


Copyright © 2012 Mairie de Paris. All Rights Reserved.