Interface IParametrableUnitSelection
-
public interface IParametrableUnitSelectionParametrable config for unit selection
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description intselect(int nIdResource, java.lang.String strResourceType, javax.servlet.http.HttpServletRequest request, fr.paris.lutece.plugins.workflowcore.service.task.ITask task)Selects the unit the resource will be assigned to.
-
-
-
Method Detail
-
select
int select(int nIdResource, java.lang.String strResourceType, javax.servlet.http.HttpServletRequest request, fr.paris.lutece.plugins.workflowcore.service.task.ITask task) throws AssignmentNotPossibleExceptionSelects 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
-
-