public final class UnitAssignmentService extends Object
| Modifier and Type | Method and Description |
|---|---|
static List<UnitAssignment> |
findAssignments(int nIdResource,
String strResourceType)
Finds the unit assignments associated to the specified couple {resource id, resource type}.
|
static List<UnitAssignment> |
findAssignmentsByUnit(int nIdUnit)
Finds the resources assigned to the unit .
|
static UnitAssignment |
findCurrentAssignment(int nIdResource,
String strResourceType)
Finds the current unit assignment for the specified couple {resource id, resource type}
|
public static UnitAssignment findCurrentAssignment(int nIdResource, String strResourceType)
nIdResource - The resource idstrResourceType - the resource typepublic static List<UnitAssignment> findAssignments(int nIdResource, String strResourceType)
Finds the unit assignments associated to the specified couple {resource id, resource type}.
The unit assignments are sorted by ascending date.
nIdResource - the resource idstrResourceType - the resource typepublic static List<UnitAssignment> findAssignmentsByUnit(int nIdUnit)
Finds the resources assigned to the unit .
The unit assignments are sorted by ascending date.
nIdUnit - the Unit idCopyright © 2020 City of Paris. All rights reserved.