fr.paris.lutece.plugins.mylutece.modules.oauth.business
Class OAuthAuthenticationHome

java.lang.Object
  extended by fr.paris.lutece.plugins.mylutece.modules.oauth.business.OAuthAuthenticationHome

public final class OAuthAuthenticationHome
extends Object

OAuthAuthenticationHome : provides CRUD operations for OAuthAuthentication


Method Summary
static void create(OAuthAuthentication authentication, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Creates the authentication
static List<OAuthAuthentication> findAll(fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Finds all authentication
static OAuthAuthentication findByPrimaryKey(String strIdAuthentication, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Finds the authentication
static void remove(String strIdAuthentication, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Removes the authentication
static void update(OAuthAuthentication authentication, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Updates the authentication
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

create

public static void create(OAuthAuthentication authentication,
                          fr.paris.lutece.portal.service.plugin.Plugin plugin)
Creates the authentication

Parameters:
authentication - the authentication
plugin - the plugin

update

public static void update(OAuthAuthentication authentication,
                          fr.paris.lutece.portal.service.plugin.Plugin plugin)
Updates the authentication

Parameters:
authentication - authentication
plugin - the plugin

remove

public static void remove(String strIdAuthentication,
                          fr.paris.lutece.portal.service.plugin.Plugin plugin)
Removes the authentication

Parameters:
strIdAuthentication - authentication id
plugin - the plugin

findByPrimaryKey

public static OAuthAuthentication findByPrimaryKey(String strIdAuthentication,
                                                   fr.paris.lutece.portal.service.plugin.Plugin plugin)
Finds the authentication

Parameters:
strIdAuthentication - the id
plugin - the plugin
Returns:
the authentication found, null otherwise

findAll

public static List<OAuthAuthentication> findAll(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Finds all authentication

Parameters:
plugin - the plugin
Returns:
the authentication list


Copyright © 2013 Mairie de Paris. All Rights Reserved.