fr.paris.lutece.plugins.extend.modules.opengraph.service
Class OpengraphService

java.lang.Object
  extended by fr.paris.lutece.plugins.extend.modules.opengraph.service.OpengraphService

public class OpengraphService
extends Object

OpengraphService


Field Summary
static String BEAN_NAME
          Name of the bean of this service.
 
Constructor Summary
OpengraphService()
           
 
Method Summary
 void createOpengraphSocialHub(OpengraphSocialHub opengraphSocialHub)
          Create an OpengraphSocialHub
 List<OpengraphSocialHub> findAll()
          Get the list of every OpengraphSocialHub
 OpengraphSocialHub getOpengraphSocialHub(int nIdOpengraphSocialHub)
          Get an OpengraphSocialHub from the database
 void removeOpengraphSocialHub(int nIdOpengraphSocialHub)
          Remove an OpengraphSocialHub
 void updateOpengraphSocialHub(OpengraphSocialHub opengraphSocialHub)
          Update an OpengraphSocialHub
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

BEAN_NAME

public static final String BEAN_NAME
Name of the bean of this service.

See Also:
Constant Field Values
Constructor Detail

OpengraphService

public OpengraphService()
Method Detail

findAll

public List<OpengraphSocialHub> findAll()
Get the list of every OpengraphSocialHub

Returns:
The list of every OpengraphSocialHub

createOpengraphSocialHub

public void createOpengraphSocialHub(OpengraphSocialHub opengraphSocialHub)
Create an OpengraphSocialHub

Parameters:
opengraphSocialHub - The OpengraphSocialHub to create

getOpengraphSocialHub

public OpengraphSocialHub getOpengraphSocialHub(int nIdOpengraphSocialHub)
Get an OpengraphSocialHub from the database

Parameters:
nIdOpengraphSocialHub - The id of the OpengraphSocialHub to find
Returns:
The OpengraphSocialHub with the given id, or null if it could not be found.

updateOpengraphSocialHub

public void updateOpengraphSocialHub(OpengraphSocialHub opengraphSocialHub)
Update an OpengraphSocialHub

Parameters:
opengraphSocialHub - The OpengraphSocialHub to update

removeOpengraphSocialHub

public void removeOpengraphSocialHub(int nIdOpengraphSocialHub)
Remove an OpengraphSocialHub

Parameters:
nIdOpengraphSocialHub - The id of the OpengraphSocialHub to remove


Copyright © 2013 Mairie de Paris. All Rights Reserved.