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 IBusinessDomainDAO
businessDomain
- instance of the BusinessDomain object to insertplugin
- the Pluginpublic BusinessDomain load(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
load
in interface IBusinessDomainDAO
nKey
- The identifier of the businessDomainplugin
- the Pluginpublic void delete(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
delete
in interface IBusinessDomainDAO
nKey
- The identifier of the BusinessDomain to deleteplugin
- the Pluginpublic void store(BusinessDomain businessDomain, fr.paris.lutece.portal.service.plugin.Plugin plugin)
store
in interface IBusinessDomainDAO
businessDomain
- the reference of the BusinessDomainplugin
- the Pluginpublic List<BusinessDomain> selectBusinessDomainsList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
selectBusinessDomainsList
in interface IBusinessDomainDAO
plugin
- the Pluginpublic List<Integer> selectIdBusinessDomainsList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
selectIdBusinessDomainsList
in interface IBusinessDomainDAO
plugin
- the PluginCopyright © 2016 City of Paris. All rights reserved.