Class WssoUserDAO
- java.lang.Object
-
- fr.paris.lutece.plugins.mylutece.modules.wssodatabase.authentication.business.WssoUserDAO
-
- All Implemented Interfaces:
IWssoUserDAO
public final class WssoUserDAO extends java.lang.Object implements IWssoUserDAO
This class provides Data Access methods for WssoUser objects
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddelete(WssoUser wssoUser, fr.paris.lutece.portal.service.plugin.Plugin plugin)Delete a record from the tablevoidinsert(WssoUser wssoUser, fr.paris.lutece.portal.service.plugin.Plugin plugin)Insert a new record in the table.WssoUserload(int nWssoUserId, fr.paris.lutece.portal.service.plugin.Plugin plugin)Load the data of WssoUser from the tableintnewPrimaryKey(fr.paris.lutece.portal.service.plugin.Plugin plugin)Generates a new primary keyjava.util.Collection<WssoUser>selectWssoUserList(fr.paris.lutece.portal.service.plugin.Plugin plugin)Load the list of wssoUsersjava.util.Collection<WssoUser>selectWssoUserListForGuid(java.lang.String strGuid, fr.paris.lutece.portal.service.plugin.Plugin plugin)Load the list of wssoUsers for a guidjava.util.Collection<WssoUser>selectWssoUsersListForRole(int nIdRole, fr.paris.lutece.portal.service.plugin.Plugin plugin)Load the list of wssoUsers for a rolevoidstore(WssoUser wssoUser, fr.paris.lutece.portal.service.plugin.Plugin plugin)Update the record in the table
-
-
-
Method Detail
-
newPrimaryKey
public int newPrimaryKey(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Generates a new primary key- Specified by:
newPrimaryKeyin interfaceIWssoUserDAO- Parameters:
plugin- The Plugin using this data access service- Returns:
- The new primary key
-
insert
public void insert(WssoUser wssoUser, fr.paris.lutece.portal.service.plugin.Plugin plugin)
Insert a new record in the table.- Specified by:
insertin interfaceIWssoUserDAO- Parameters:
wssoUser- The wssoUser objectplugin- The Plugin using this data access service
-
load
public WssoUser load(int nWssoUserId, fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data of WssoUser from the table- Specified by:
loadin interfaceIWssoUserDAO- Parameters:
nWssoUserId- The identifier of WssoUserplugin- The Plugin using this data access service- Returns:
- the instance of the WssoUser
-
delete
public void delete(WssoUser wssoUser, fr.paris.lutece.portal.service.plugin.Plugin plugin)
Delete a record from the table- Specified by:
deletein interfaceIWssoUserDAO- Parameters:
wssoUser- The WssoUser objectplugin- The Plugin using this data access service
-
store
public void store(WssoUser wssoUser, fr.paris.lutece.portal.service.plugin.Plugin plugin)
Update the record in the table- Specified by:
storein interfaceIWssoUserDAO- Parameters:
wssoUser- The reference of wssoUserplugin- The Plugin using this data access service
-
selectWssoUserList
public java.util.Collection<WssoUser> selectWssoUserList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the list of wssoUsers- Specified by:
selectWssoUserListin interfaceIWssoUserDAO- Parameters:
plugin- The Plugin using this data access service- Returns:
- The Collection of the WssoUsers
-
selectWssoUsersListForRole
public java.util.Collection<WssoUser> selectWssoUsersListForRole(int nIdRole, fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the list of wssoUsers for a role- Specified by:
selectWssoUsersListForRolein interfaceIWssoUserDAO- Parameters:
nIdRole- The role of WssoUserplugin- The Plugin using this data access service- Returns:
- The Collection of the WssoUsers
-
selectWssoUserListForGuid
public java.util.Collection<WssoUser> selectWssoUserListForGuid(java.lang.String strGuid, fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the list of wssoUsers for a guid- Specified by:
selectWssoUserListForGuidin interfaceIWssoUserDAO- Parameters:
strGuid- The guid of WssoUserplugin- The Plugin using this data access service- Returns:
- The Collection of the WssoUsers
-
-