public final class BusinessSectorDAO extends Object implements IBusinessSectorDAO
| Constructor and Description |
|---|
BusinessSectorDAO() |
| Modifier and Type | Method and Description |
|---|---|
void |
delete(int nKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Delete a record from the table
|
void |
insert(BusinessSector businessSector,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Insert a new record in the table.
|
BusinessSector |
load(int nKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data from the table
|
int |
newPrimaryKey(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Generates a new primary key
|
fr.paris.lutece.util.ReferenceList |
selectBusinessSectors(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Gets all business sectors as a reference list
|
List<BusinessSector> |
selectBusinessSectorsList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data of all the businessSector objects and returns them as a collection
|
List<Integer> |
selectIdBusinessSectorsList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the id of all the businessSector objects and returns them as a collection
|
void |
store(BusinessSector businessSector,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Update the record in the table
|
public int newPrimaryKey(fr.paris.lutece.portal.service.plugin.Plugin plugin)
plugin - The Pluginpublic void insert(BusinessSector businessSector, fr.paris.lutece.portal.service.plugin.Plugin plugin)
insert in interface IBusinessSectorDAObusinessSector - instance of the BusinessSector object to insertplugin - the Pluginpublic BusinessSector load(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
load in interface IBusinessSectorDAOnKey - The identifier of the businessSectorplugin - the Pluginpublic void delete(int nKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
delete in interface IBusinessSectorDAOnKey - The identifier of the BusinessSector to deleteplugin - the Pluginpublic void store(BusinessSector businessSector, fr.paris.lutece.portal.service.plugin.Plugin plugin)
store in interface IBusinessSectorDAObusinessSector - the reference of the BusinessSectorplugin - the Pluginpublic List<BusinessSector> selectBusinessSectorsList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
selectBusinessSectorsList in interface IBusinessSectorDAOplugin - the Pluginpublic List<Integer> selectIdBusinessSectorsList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
selectIdBusinessSectorsList in interface IBusinessSectorDAOplugin - the Pluginpublic fr.paris.lutece.util.ReferenceList selectBusinessSectors(fr.paris.lutece.portal.service.plugin.Plugin plugin)
selectBusinessSectors in interface IBusinessSectorDAOplugin - The pluginCopyright © 2018 City of Paris. All rights reserved.