Class WorkflowBean<T>

java.lang.Object
fr.paris.lutece.plugins.identityimport.wf.WorkflowBean<T>

public class WorkflowBean<T> extends Object
  • Constructor Details

    • WorkflowBean

      public WorkflowBean(T resource, int nResourceId, fr.paris.lutece.api.user.User user, String strResourceType, int nWorkflowKey)
      constructor
      Parameters:
      resource -
      user -
      nWorkflowKey -
    • WorkflowBean

      public WorkflowBean(T resource, int nResourceId, fr.paris.lutece.api.user.User user, String strResourceType, int nWorkflowKey, int nExternalParentId)
      constructor with external parent id
      Parameters:
      resource -
      user -
      nWorkflowKey -
  • Method Details

    • getResourceType

      public String getResourceType()
      get workflow resource type
      Returns:
      the type
    • getWorkflowKey

      public int getWorkflowKey()
      get workflow key
      Returns:
      the key
    • getState

      public fr.paris.lutece.plugins.workflowcore.business.state.State getState()
      get the state of the resource
      Returns:
      the current state
    • getActions

      public Collection<fr.paris.lutece.plugins.workflowcore.business.action.Action> getActions()
      get the available actions for the resource
      Returns:
      the actions
    • getResource

      public T getResource()
      get the workflow resource
      Returns:
      the resource
    • getHistory

      public String getHistory()
      get workflow history of the resource
      Returns:
      the history
    • setState

      public void setState(fr.paris.lutece.plugins.workflowcore.business.state.State _state)
      set state
      Parameters:
      _state -
    • setActions

      public void setActions(Collection<fr.paris.lutece.plugins.workflowcore.business.action.Action> _listActions)
      set actions
      Parameters:
      _listActions -
    • setHistory

      public void setHistory(String _strHistory)
      set history
      Parameters:
      _strHistory -
    • getResourceId

      public int getResourceId()
      get resource id
      Returns:
      the id
    • getExternalParentId

      public int getExternalParentId()
      get external parent id
      Returns:
      the parent id
    • getUser

      public fr.paris.lutece.api.user.User getUser()
      get user
      Returns:
      the user
    • getNbSubResource

      public int getNbSubResource()
    • setNbSubResource

      public void setNbSubResource(int _nNbSubResource)
    • getSubResourceStates

      public List<ResourceState> getSubResourceStates()
    • setSubResourceStates

      public void setSubResourceStates(List<ResourceState> _listSubResourceStates)