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

java.lang.Object
  extended by fr.paris.lutece.plugins.extend.modules.opengraph.business.OpengraphSocialHubHome

public final class OpengraphSocialHubHome
extends Object

Home of OpengraphSocialHubDAO


Method Summary
static void delete(int nId, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Remove an OpengraphSocialHub from the database
static List<OpengraphSocialHub> findAll(fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Get every OpengraphSocialHub.
static OpengraphSocialHub findById(int nId, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Find an OpengraphSocialHub by id
static void insert(OpengraphSocialHub opengraphSocialHub, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Insert a new OpengraphSocialHub into the database
static 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
 

Method Detail

findById

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

Parameters:
nId - Id
plugin - The plugin
Returns:
The OpengraphSocialHub with the given Id

insert

public static void insert(OpengraphSocialHub opengraphSocialHub,
                          fr.paris.lutece.portal.service.plugin.Plugin plugin)
Insert a new OpengraphSocialHub into the database

Parameters:
opengraphSocialHub - The OpengraphSocialHub to save
plugin - The plugin

update

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

Parameters:
opengraphSocialHub - The OpengraphSocialHub tu update
plugin - The plugin

delete

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

Parameters:
nId - The id of the OpengraphSocialHub to remove
plugin - The plugin

findAll

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

Parameters:
plugin - The plugin
Returns:
The list of every OpengraphSocialHub


Copyright © 2013 Mairie de Paris. All Rights Reserved.