public interface IParametrableUnitSelection
| Modifier and Type | Method and Description |
|---|---|
int |
select(int nIdResource,
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.
|
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.
nIdResource - the resource idstrResourceType - the resource typerequest - the request containing information to select the unit. WARNING : if the unit selection is automatic, the request is null.task - the task associated to the unit selectionAssignmentNotPossibleException - if the assignment is not possibleCopyright © 2020 City of Paris. All rights reserved.