public final class BusinessDomainDAO extends Object implements IBusinessDomainDAO
| Constructor and Description |
|---|
BusinessDomainDAO() |
| 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(BusinessDomain businessDomain,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Insert a new record in the table.
|
BusinessDomain |
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
|
List<BusinessDomain> |
selectBusinessDomainsList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data of all the businessDomain objects and returns them as a collection
|
List<Integer> |
selectIdBusinessDomainsList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the id of all the businessDomain objects and returns them as a collection
|
void |
store(BusinessDomain businessDomain,
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(BusinessDomain businessDomain, fr.paris.lutece.portal.service.plugin.Plugin plugin)
insert in interface IBusinessDomainDAObusinessDomain - instance of the BusinessDomain object to insertplugin - the Pluginpublic BusinessDomain load(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
load in interface IBusinessDomainDAOnKey - The identifier of the businessDomainplugin - the Pluginpublic void delete(int nKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
delete in interface IBusinessDomainDAOnKey - The identifier of the BusinessDomain to deleteplugin - the Pluginpublic void store(BusinessDomain businessDomain, fr.paris.lutece.portal.service.plugin.Plugin plugin)
store in interface IBusinessDomainDAObusinessDomain - the reference of the BusinessDomainplugin - the Pluginpublic List<BusinessDomain> selectBusinessDomainsList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
selectBusinessDomainsList in interface IBusinessDomainDAOplugin - the Pluginpublic List<Integer> selectIdBusinessDomainsList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
selectIdBusinessDomainsList in interface IBusinessDomainDAOplugin - the PluginCopyright © 2017 City of Paris. All rights reserved.