|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectfr.paris.lutece.plugins.mylutece.modules.wssodatabase.authentication.business.WssoRoleDAO
public final class WssoRoleDAO
This class provides Data Access methods for WssoRole objects
| Method Summary | |
|---|---|
void |
createRoleForUser(int nIdUser,
int nRoleId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Assign a role to user |
void |
delete(WssoRole wssoRole,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Delete a record from the table |
void |
deleteRolesForUser(int nIdUser,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Delete roles for a user |
void |
insert(WssoRole wssoRole,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Insert a new record in the table. |
WssoRole |
load(int nWssoRoleId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data of WssoRole from the table |
int |
newPrimaryKey(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Generates a new primary key |
java.util.Collection |
selectWssoRoleList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the list of wssoRoles |
java.util.Collection |
selectWssoRoleListForKey(java.lang.String strKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the list of wssoRoles for roleKey |
java.util.Collection |
selectWssoRoleListForUser(int nIdUser,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the list of wssoRoles for a user |
void |
store(WssoRole wssoRole,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Update the record in the table |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public int newPrimaryKey(fr.paris.lutece.portal.service.plugin.Plugin plugin)
newPrimaryKey in interface IWssoRoleDAOplugin - The Plugin using this data access service
public void insert(WssoRole wssoRole,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
insert in interface IWssoRoleDAOwssoRole - The wssoRole objectplugin - The Plugin using this data access service
public WssoRole load(int nWssoRoleId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
load in interface IWssoRoleDAOnWssoRoleId - The identifier of WssoRoleplugin - The Plugin using this data access service
public void delete(WssoRole wssoRole,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
delete in interface IWssoRoleDAOwssoRole - The WssoRole objectplugin - The Plugin using this data access service
public void store(WssoRole wssoRole,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
store in interface IWssoRoleDAOwssoRole - The reference of wssoRoleplugin - The Plugin using this data access servicepublic java.util.Collection selectWssoRoleList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
selectWssoRoleList in interface IWssoRoleDAOplugin - The Plugin using this data access service
public java.util.Collection selectWssoRoleListForUser(int nIdUser,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
selectWssoRoleListForUser in interface IWssoRoleDAOplugin - The Plugin using this data access service
public void deleteRolesForUser(int nIdUser,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
deleteRolesForUser in interface IWssoRoleDAOnIdUser - The id of the userplugin - The Plugin using this data access service
public void createRoleForUser(int nIdUser,
int nRoleId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
createRoleForUser in interface IWssoRoleDAOnIdUser - The id of the usernRoleId - The id of the roleplugin - The Plugin using this data access service
public java.util.Collection selectWssoRoleListForKey(java.lang.String strKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
selectWssoRoleListForKey in interface IWssoRoleDAOstrKey - The Role keyplugin - The Plugin using this data access service
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||