Class OpengraphSocialHubDAO
- java.lang.Object
-
- fr.paris.lutece.plugins.extend.modules.opengraph.business.OpengraphSocialHubDAO
-
- All Implemented Interfaces:
IOpengraphSocialHubDAO
public class OpengraphSocialHubDAO extends Object implements IOpengraphSocialHubDAO
DAO to manage OpengraphSocialHub objects
-
-
Constructor Summary
Constructors Constructor Description OpengraphSocialHubDAO()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddelete(int nId, fr.paris.lutece.portal.service.plugin.Plugin plugin)Remove an OpengraphSocialHub from the databaseList<OpengraphSocialHub>findAll(fr.paris.lutece.portal.service.plugin.Plugin plugin)Get every OpengraphSocialHub.OpengraphSocialHubfindById(int nId, fr.paris.lutece.portal.service.plugin.Plugin plugin)Find an OpengraphSocialHub by idvoidinsert(OpengraphSocialHub opengraphSocialHub, fr.paris.lutece.portal.service.plugin.Plugin plugin)Insert a new OpengraphSocialHub into the databasevoidupdate(OpengraphSocialHub opengraphSocialHub, fr.paris.lutece.portal.service.plugin.Plugin plugin)Update an OpengraphSocialHub
-
-
-
Method Detail
-
findById
public OpengraphSocialHub findById(int nId, fr.paris.lutece.portal.service.plugin.Plugin plugin)
Find an OpengraphSocialHub by id- Specified by:
findByIdin interfaceIOpengraphSocialHubDAO- Parameters:
nId- Idplugin- The plugin- Returns:
- The OpengraphSocialHub with the given Id
-
insert
public void insert(OpengraphSocialHub opengraphSocialHub, fr.paris.lutece.portal.service.plugin.Plugin plugin)
Insert a new OpengraphSocialHub into the database- Specified by:
insertin interfaceIOpengraphSocialHubDAO- Parameters:
opengraphSocialHub- The OpengraphSocialHub to saveplugin- The plugin
-
update
public void update(OpengraphSocialHub opengraphSocialHub, fr.paris.lutece.portal.service.plugin.Plugin plugin)
Update an OpengraphSocialHub- Specified by:
updatein interfaceIOpengraphSocialHubDAO- Parameters:
opengraphSocialHub- The OpengraphSocialHub tu updateplugin- The plugin
-
delete
public void delete(int nId, fr.paris.lutece.portal.service.plugin.Plugin plugin)Remove an OpengraphSocialHub from the database- Specified by:
deletein interfaceIOpengraphSocialHubDAO- Parameters:
nId- The id of the OpengraphSocialHub to removeplugin- The plugin
-
findAll
public List<OpengraphSocialHub> findAll(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Get every OpengraphSocialHub.- Specified by:
findAllin interfaceIOpengraphSocialHubDAO- Parameters:
plugin- The plugin- Returns:
- The list of every OpengraphSocialHub
-
-