Class WorkflowBean<T>
java.lang.Object
fr.paris.lutece.plugins.identityimport.wf.WorkflowBean<T>
-
Constructor Summary
ConstructorsConstructorDescriptionWorkflowBean(T resource, int nResourceId, fr.paris.lutece.api.user.User user, String strResourceType, int nWorkflowKey) constructorWorkflowBean(T resource, int nResourceId, fr.paris.lutece.api.user.User user, String strResourceType, int nWorkflowKey, int nExternalParentId) constructor with external parent id -
Method Summary
Modifier and TypeMethodDescriptionCollection<fr.paris.lutece.plugins.workflowcore.business.action.Action>get the available actions for the resourceintget external parent idget workflow history of the resourceintget the workflow resourceintget resource idget workflow resource typefr.paris.lutece.plugins.workflowcore.business.state.StategetState()get the state of the resourcefr.paris.lutece.api.user.UsergetUser()get userintget workflow keyvoidsetActions(Collection<fr.paris.lutece.plugins.workflowcore.business.action.Action> _listActions) set actionsvoidsetHistory(String _strHistory) set historyvoidsetNbSubResource(int _nNbSubResource) voidsetState(fr.paris.lutece.plugins.workflowcore.business.state.State _state) set statevoidsetSubResourceStates(List<ResourceState> _listSubResourceStates)
-
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
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
get the available actions for the resource- Returns:
- the actions
-
getResource
get the workflow resource- Returns:
- the resource
-
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
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
-
setSubResourceStates
-