fr.paris.lutece.plugins.workflow.business
Class ResourceWorkflow

java.lang.Object
  extended by fr.paris.lutece.plugins.workflow.business.ResourceWorkflow

public class ResourceWorkflow
extends java.lang.Object

ResourceWorkflow


Constructor Summary
ResourceWorkflow()
           
 
Method Summary
 java.lang.Integer getExternalParentId()
          Get the external parent id key
 int getIdResource()
          return the id of the resource
 java.lang.String getResourceType()
          return the resource type
 fr.paris.lutece.portal.business.workflow.State getState()
          Returns the State of the document
 fr.paris.lutece.portal.business.workflow.Workflow getWorkflow()
           
 java.util.List<java.lang.String> getWorkgroups()
           
 void setExternalParentId(java.lang.Integer nIdExternalParent)
          Set external parent id key
 void setIdResource(int idResource)
          set the id of the resource
 void setResourceType(java.lang.String resourceType)
          set the resource type
 void setState(fr.paris.lutece.portal.business.workflow.State state)
          Set the State of the document
 void setWorkFlow(fr.paris.lutece.portal.business.workflow.Workflow workflow)
          set the the workflow associated
 void setWorkgroups(java.util.List<java.lang.String> worgroups)
          set the the workgroups associated to the resource
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ResourceWorkflow

public ResourceWorkflow()
Method Detail

getWorkflow

public fr.paris.lutece.portal.business.workflow.Workflow getWorkflow()
Returns:
the workflow associated

setWorkFlow

public void setWorkFlow(fr.paris.lutece.portal.business.workflow.Workflow workflow)
set the the workflow associated

Parameters:
workflow - the workflow associated

getState

public fr.paris.lutece.portal.business.workflow.State getState()
Returns the State of the document

Returns:
The State

setState

public void setState(fr.paris.lutece.portal.business.workflow.State state)
Set the State of the document

Parameters:
state - The State

getIdResource

public int getIdResource()
return the id of the resource

Returns:
the id of the resource

setIdResource

public void setIdResource(int idResource)
set the id of the resource

Parameters:
idResource - the id of the resource

getResourceType

public java.lang.String getResourceType()
return the resource type

Returns:
resource type

setResourceType

public void setResourceType(java.lang.String resourceType)
set the resource type

Parameters:
resourceType - the resource type

getWorkgroups

public java.util.List<java.lang.String> getWorkgroups()
Returns:
the workgroups associated to the resource

setWorkgroups

public void setWorkgroups(java.util.List<java.lang.String> worgroups)
set the the workgroups associated to the resource

Parameters:
worgroups - the list of workgroups

getExternalParentId

public java.lang.Integer getExternalParentId()
Get the external parent id key

Returns:
the external parent id key

setExternalParentId

public void setExternalParentId(java.lang.Integer nIdExternalParent)
Set external parent id key

Parameters:
nIdExternalParent - the external parent id to set


Copyright © 2011 Mairie de Paris. All Rights Reserved.