fr.paris.lutece.plugins.extend.modules.opengraph.business
public class OpengraphSocialHubDAO extends Object implements IOpengraphSocialHubDAO
Constructor and Description |
---|
OpengraphSocialHubDAO() |
Modifier and Type | Method and Description |
---|---|
void |
delete(int nId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Remove an OpengraphSocialHub from the database
|
List<OpengraphSocialHub> |
findAll(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Get every OpengraphSocialHub.
|
OpengraphSocialHub |
findById(int nId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Find an OpengraphSocialHub by id
|
void |
insert(OpengraphSocialHub opengraphSocialHub,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Insert a new OpengraphSocialHub into the database
|
void |
update(OpengraphSocialHub opengraphSocialHub,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Update an OpengraphSocialHub
|
public OpengraphSocialHub findById(int nId, fr.paris.lutece.portal.service.plugin.Plugin plugin)
findById
in interface IOpengraphSocialHubDAO
nId
- Idplugin
- The pluginpublic void insert(OpengraphSocialHub opengraphSocialHub, fr.paris.lutece.portal.service.plugin.Plugin plugin)
insert
in interface IOpengraphSocialHubDAO
opengraphSocialHub
- The OpengraphSocialHub to saveplugin
- The pluginpublic void update(OpengraphSocialHub opengraphSocialHub, fr.paris.lutece.portal.service.plugin.Plugin plugin)
update
in interface IOpengraphSocialHubDAO
opengraphSocialHub
- The OpengraphSocialHub tu updateplugin
- The pluginpublic void delete(int nId, fr.paris.lutece.portal.service.plugin.Plugin plugin)
delete
in interface IOpengraphSocialHubDAO
nId
- The id of the OpengraphSocialHub to removeplugin
- The pluginpublic List<OpengraphSocialHub> findAll(fr.paris.lutece.portal.service.plugin.Plugin plugin)
findAll
in interface IOpengraphSocialHubDAO
plugin
- The pluginCopyright © 2014 Mairie de Paris. All rights reserved.