fr.paris.lutece.plugins.mylutece.modules.ldapdatabase.authentication.business
Interface ILdapUserDAO

All Known Implementing Classes:
LdapUserDAO

public interface ILdapUserDAO

Author:
Etienne

Method Summary
 void delete(LdapUser ldapUser, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Delete a record from the table
 void insert(LdapUser ldapUser, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Insert a new record in the table.
 LdapUser load(int nLdapUserId, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Load the data of LdapUser from the table
 int newPrimaryKey(fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Generates a new primary key
 java.util.Collection<LdapUser> selectLdapUserList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Load the list of ldapUsers
 java.util.Collection<LdapUser> selectLdapUserListForGuid(java.lang.String strLdapGuid, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Load the list of ldapUsers for a guid
 void store(LdapUser ldapUser, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Update the record in the table
 

Method Detail

newPrimaryKey

int newPrimaryKey(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Generates a new primary key

Parameters:
plugin - The Plugin using this data access service
Returns:
The new primary key

insert

void insert(LdapUser ldapUser,
            fr.paris.lutece.portal.service.plugin.Plugin plugin)
Insert a new record in the table.

Parameters:
ldapUser - The ldapUser object
plugin - The Plugin using this data access service

load

LdapUser load(int nLdapUserId,
              fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data of LdapUser from the table

Parameters:
nLdapUserId - The identifier of ldapUser
plugin - The Plugin using this data access service
Returns:
the instance of the LdapUser

delete

void delete(LdapUser ldapUser,
            fr.paris.lutece.portal.service.plugin.Plugin plugin)
Delete a record from the table

Parameters:
ldapUser - The ldapUser object
plugin - The Plugin using this data access service

store

void store(LdapUser ldapUser,
           fr.paris.lutece.portal.service.plugin.Plugin plugin)
Update the record in the table

Parameters:
ldapUser - The reference of ldapUser
plugin - The Plugin using this data access service

selectLdapUserList

java.util.Collection<LdapUser> selectLdapUserList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the list of ldapUsers

Parameters:
plugin - The Plugin using this data access service
Returns:
The Collection of the ldapUsers

selectLdapUserListForGuid

java.util.Collection<LdapUser> selectLdapUserListForGuid(java.lang.String strLdapGuid,
                                                         fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the list of ldapUsers for a guid

Parameters:
strLdapGuid - The ldap guid of ldapUser
plugin - The Plugin using this data access service
Returns:
The Collection of the ldapUsers


Copyright © 2010 Mairie de Paris. All Rights Reserved.