Class OpengraphService
- java.lang.Object
-
- fr.paris.lutece.plugins.extend.modules.opengraph.service.OpengraphService
-
- All Implemented Interfaces:
Serializable
public class OpengraphService extends Object implements Serializable
OpengraphService- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description OpengraphService()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcreateOpengraphSocialHub(OpengraphSocialHub opengraphSocialHub)Create an OpengraphSocialHubList<OpengraphSocialHub>findAll()Get the list of every OpengraphSocialHubOpengraphSocialHubgetOpengraphSocialHub(int nIdOpengraphSocialHub)Get an OpengraphSocialHub from the databasevoidremoveOpengraphSocialHub(int nIdOpengraphSocialHub)Remove an OpengraphSocialHubvoidupdateOpengraphSocialHub(OpengraphSocialHub opengraphSocialHub)Update an OpengraphSocialHub
-
-
-
Field Detail
-
BEAN_NAME
public static final String BEAN_NAME
Name of the bean of this service.- See Also:
- Constant Field Values
-
-
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
-
-