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

java.lang.Object
  extended by fr.paris.lutece.plugins.workflow.modules.rest.service.WorkflowRestService
All Implemented Interfaces:
IWorkflowRestService

public class WorkflowRestService
extends java.lang.Object
implements IWorkflowRestService

WorkflowRestService


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

Field Detail

BEAN_SERVICE

public static final java.lang.String BEAN_SERVICE
See Also:
Constant Field Values
Constructor Detail

WorkflowRestService

public WorkflowRestService()
Method Detail

getWorkflow

public fr.paris.lutece.plugins.workflowcore.business.workflow.Workflow getWorkflow(int nIdWorkflow)
Get the workflow

Specified by:
getWorkflow in interface IWorkflowRestService
Parameters:
nIdWorkflow - the id workflow
Returns:
the workflow

getWorkflowsList

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

Specified by:
getWorkflowsList in interface IWorkflowRestService
Returns:
the list of workflows

getState

public fr.paris.lutece.plugins.workflowcore.business.state.State getState(int nIdState)
Get the state

Specified by:
getState in interface IWorkflowRestService
Parameters:
nIdState - the id state
Returns:
the state

getStatesList

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

Specified by:
getStatesList in interface IWorkflowRestService
Returns:
the list of states

getAction

public fr.paris.lutece.plugins.workflowcore.business.action.Action getAction(int nIdAction)
Get the action

Specified by:
getAction in interface IWorkflowRestService
Parameters:
nIdAction - the id action
Returns:
the action

getActionsList

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

Specified by:
getActionsList in interface IWorkflowRestService
Returns:
the list of actions

getResourceWorkflow

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

Specified by:
getResourceWorkflow in interface IWorkflowRestService
Parameters:
nIdResource - the id resource
strResourceType - the resource type
nIdWorkflow - the id workflow
Returns:
the resource workflow


Copyright © 2012 Mairie de Paris. All Rights Reserved.