public interface ISectorDAO
| Modifier and Type | Method and Description |
|---|---|
void |
delete(Sector sector,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Delete a record from the table
|
void |
insert(Sector sector,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Insert a new record in the table.
|
Sector |
load(int nSectorId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data of Sector from the table
|
Collection<Sector> |
selectAll(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the list of sectors
|
int |
selectIdByOrder(int nOrder,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Returns identifier in a distinct order
|
fr.paris.lutece.util.ReferenceList |
selectLocaleReferenceList(fr.paris.lutece.portal.service.plugin.Plugin plugin,
Locale locale)
selects the reference list with the i18n string at the top (for front)
|
int |
selectMaxOrder(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Get the maximum order of sectors
|
int |
selectOrderById(int nId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Returns the order
|
fr.paris.lutece.util.ReferenceList |
selectReferenceList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Returns a referenceList of sectors
|
void |
store(Sector sector,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Update the record in the table
|
void |
storeOrder(int nNewOrder,
int nId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Update the order of a sector
|
void delete(Sector sector, fr.paris.lutece.portal.service.plugin.Plugin plugin)
sector - The sector objectplugin - The pluginvoid insert(Sector sector, fr.paris.lutece.portal.service.plugin.Plugin plugin)
sector - The Sector objectplugin - The pluginSector load(int nSectorId, fr.paris.lutece.portal.service.plugin.Plugin plugin)
nSectorId - The identifier of Sectorplugin - The pluginCollection<Sector> selectAll(fr.paris.lutece.portal.service.plugin.Plugin plugin)
plugin - The pluginvoid store(Sector sector, fr.paris.lutece.portal.service.plugin.Plugin plugin)
sector - The reference of sectorplugin - The pluginfr.paris.lutece.util.ReferenceList selectReferenceList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
plugin - The Plugin objectfr.paris.lutece.util.ReferenceList selectLocaleReferenceList(fr.paris.lutece.portal.service.plugin.Plugin plugin,
Locale locale)
plugin - The pluginlocale - The localevoid storeOrder(int nNewOrder,
int nId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
nNewOrder - The order of a sectornId - The id of the sector to updateplugin - The pluginint selectIdByOrder(int nOrder,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
nOrder - The order numberplugin - The pluginint selectOrderById(int nId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
nId - the idplugin - the pluginint selectMaxOrder(fr.paris.lutece.portal.service.plugin.Plugin plugin)
plugin - The pluginCopyright © 2019 City of Paris. All rights reserved.