Interface IParametrableUnitSelection
public interface IParametrableUnitSelection
Parametrable config for unit selection
-
Method Summary
-
Method Details
-
select
int select(int nIdResource, String strResourceType, javax.servlet.http.HttpServletRequest request, fr.paris.lutece.plugins.workflowcore.service.task.ITask task) throws AssignmentNotPossibleException Selects the unit the resource will be assigned to.
This method is not responsible of storing the assignment. The store is done by the workflow task itself.
- Parameters:
nIdResource- the resource idstrResourceType- the resource typerequest- the request containing information to select the unit. WARNING : if the unit selection is automatic, the request isnull.task- the task associated to the unit selection- Returns:
- the id of the target unit
- Throws:
AssignmentNotPossibleException- if the assignment is not possible
-