fr.paris.lutece.plugins.workflow.modules.rest.service
Class WorkflowRestService

java.lang.Object
  extended by fr.paris.lutece.plugins.workflow.modules.rest.service.WorkflowRestService

public class WorkflowRestService
extends java.lang.Object

WorkflowRestService


Constructor Summary
WorkflowRestService()
           
 
Method Summary
 fr.paris.lutece.portal.business.workflow.Action getAction(int nIdAction)
          Get the action
 java.util.List<fr.paris.lutece.portal.business.workflow.Action> getActionsList()
          Get the list of actions
 fr.paris.lutece.plugins.workflow.business.ResourceWorkflow getResourceWorkflow(int nIdResource, java.lang.String strResourceType, int nIdWorkflow)
          Get the resource workflow
 fr.paris.lutece.portal.business.workflow.State getState(int nIdState)
          Get the state
 java.util.List<fr.paris.lutece.portal.business.workflow.State> getStatesList()
          Get the list of states
 fr.paris.lutece.portal.business.workflow.Workflow getWorkflow(int nIdWorkflow)
          Get the workflow
 java.util.List<fr.paris.lutece.portal.business.workflow.Workflow> getWorkflowsList()
          Get the list of workflows
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WorkflowRestService

public WorkflowRestService()
Method Detail

getWorkflow

public fr.paris.lutece.portal.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.portal.business.workflow.Workflow> getWorkflowsList()
Get the list of workflows

Returns:
the list of workflows

getState

public fr.paris.lutece.portal.business.workflow.State getState(int nIdState)
Get the state

Parameters:
nIdState - the id state
Returns:
the state

getStatesList

public java.util.List<fr.paris.lutece.portal.business.workflow.State> getStatesList()
Get the list of states

Returns:
the list of states

getAction

public fr.paris.lutece.portal.business.workflow.Action getAction(int nIdAction)
Get the action

Parameters:
nIdAction - the id action
Returns:
the action

getActionsList

public java.util.List<fr.paris.lutece.portal.business.workflow.Action> getActionsList()
Get the list of actions

Returns:
the list of actions

getResourceWorkflow

public fr.paris.lutece.plugins.workflow.business.ResourceWorkflow getResourceWorkflow(int nIdResource,
                                                                                      java.lang.String strResourceType,
                                                                                      int nIdWorkflow)
Get the resource workflow

Parameters:
nIdResource - the id resource
strResourceType - the resource type
nIdWorkflow - the id workflow
Returns:
the resource workflow


Copyright © 2011 Mairie de Paris. All Rights Reserved.