fr.paris.lutece.plugins.extend.modules.opengraph.business
Class OpengraphSocialHubDAO

java.lang.Object
  extended by 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
OpengraphSocialHubDAO()
           
 
Method Summary
 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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OpengraphSocialHubDAO

public OpengraphSocialHubDAO()
Method Detail

findById

public OpengraphSocialHub findById(int nId,
                                   fr.paris.lutece.portal.service.plugin.Plugin plugin)
Find an OpengraphSocialHub by id

Specified by:
findById in interface IOpengraphSocialHubDAO
Parameters:
nId - Id
plugin - 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:
insert in interface IOpengraphSocialHubDAO
Parameters:
opengraphSocialHub - The OpengraphSocialHub to save
plugin - The plugin

update

public void update(OpengraphSocialHub opengraphSocialHub,
                   fr.paris.lutece.portal.service.plugin.Plugin plugin)
Update an OpengraphSocialHub

Specified by:
update in interface IOpengraphSocialHubDAO
Parameters:
opengraphSocialHub - The OpengraphSocialHub tu update
plugin - The plugin

delete

public void delete(int nId,
                   fr.paris.lutece.portal.service.plugin.Plugin plugin)
Remove an OpengraphSocialHub from the database

Specified by:
delete in interface IOpengraphSocialHubDAO
Parameters:
nId - The id of the OpengraphSocialHub to remove
plugin - The plugin

findAll

public List<OpengraphSocialHub> findAll(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Get every OpengraphSocialHub.

Specified by:
findAll in interface IOpengraphSocialHubDAO
Parameters:
plugin - The plugin
Returns:
The list of every OpengraphSocialHub


Copyright © 2013 Mairie de Paris. All Rights Reserved.