public final class SectorDAO extends Object implements ISectorDAO
| Constructor and Description |
|---|
SectorDAO() |
| 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 nIdFIeld,
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
|
public void insert(Sector sector, fr.paris.lutece.portal.service.plugin.Plugin plugin)
insert in interface ISectorDAOsector - The Sector objectplugin - The pluginpublic Sector load(int nIdFIeld, fr.paris.lutece.portal.service.plugin.Plugin plugin)
load in interface ISectorDAOnIdFIeld - The identifier of Sectorplugin - The pluginpublic void delete(Sector sector, fr.paris.lutece.portal.service.plugin.Plugin plugin)
delete in interface ISectorDAOsector - The sector objectplugin - The pluginpublic void store(Sector sector, fr.paris.lutece.portal.service.plugin.Plugin plugin)
store in interface ISectorDAOsector - The reference of sectorplugin - The pluginpublic Collection<Sector> selectAll(fr.paris.lutece.portal.service.plugin.Plugin plugin)
selectAll in interface ISectorDAOplugin - The pluginpublic fr.paris.lutece.util.ReferenceList selectReferenceList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
selectReferenceList in interface ISectorDAOplugin - The Plugin objectpublic fr.paris.lutece.util.ReferenceList selectLocaleReferenceList(fr.paris.lutece.portal.service.plugin.Plugin plugin,
Locale locale)
selectLocaleReferenceList in interface ISectorDAOplugin - The pluginlocale - The localepublic void storeOrder(int nNewOrder,
int nId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
storeOrder in interface ISectorDAOnNewOrder - The order of a sectornId - The id of the sector to updateplugin - The pluginpublic int selectIdByOrder(int nOrder,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
selectIdByOrder in interface ISectorDAOnOrder - The order numberplugin - The pluginpublic int selectOrderById(int nId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
selectOrderById in interface ISectorDAOnId - the idplugin - the pluginpublic int selectMaxOrder(fr.paris.lutece.portal.service.plugin.Plugin plugin)
selectMaxOrder in interface ISectorDAOplugin - The pluginCopyright © 2015 Mairie de Paris. All rights reserved.