public interface IUnitAssignmentDAO
| Modifier and Type | Method and Description |
|---|---|
void |
deactivate(UnitAssignment unitAssignment,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Deactivates a unit assignment
|
void |
deactivateByResource(int nIdResource,
String strResourceType,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Deactivate the unit assignments associated to the specified resource
|
void |
deleteByResource(int nIdResource,
String strResourceType,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Deletes the unit assignments associated to the specified resource
|
void |
insert(UnitAssignment unitAssignment,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Inserts a new record in the table.
|
UnitAssignment |
loadCurrentAssignment(int nIdResource,
String strResourceType,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Loads the current unit assignment for the specified couple {resource id, resource type}
|
List<UnitAssignment> |
selectByResource(int nIdResource,
String strResourceType,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Loads the unit assignments associated to the specified couple {resource id, resource type}
|
List<UnitAssignment> |
selectByUnit(int nIdUnit,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Loads the unit assignments associated to the specified unit
|
void insert(UnitAssignment unitAssignment, fr.paris.lutece.portal.service.plugin.Plugin plugin)
unitAssignment - the unit assignment to insertplugin - the Pluginvoid deactivate(UnitAssignment unitAssignment, fr.paris.lutece.portal.service.plugin.Plugin plugin)
unitAssignment - the unit assignment to deactivateplugin - the PluginUnitAssignment loadCurrentAssignment(int nIdResource, String strResourceType, fr.paris.lutece.portal.service.plugin.Plugin plugin)
nIdResource - The resource idstrResourceType - the resource typeplugin - the PluginList<UnitAssignment> selectByResource(int nIdResource, String strResourceType, fr.paris.lutece.portal.service.plugin.Plugin plugin)
nIdResource - the resource idstrResourceType - the resource typeplugin - the pluginList<UnitAssignment> selectByUnit(int nIdUnit, fr.paris.lutece.portal.service.plugin.Plugin plugin)
nIdUnit - the unit idplugin - the pluginvoid deactivateByResource(int nIdResource,
String strResourceType,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
nIdResource - The resource idstrResourceType - The resource typeplugin - The pluginvoid deleteByResource(int nIdResource,
String strResourceType,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
nIdResource - The resource idstrResourceType - The resource typeplugin - The pluginCopyright © 2020 City of Paris. All rights reserved.