|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IDatabaseDAO
| Method Summary | |
|---|---|
void |
createGroupForUser(int nIdUser,
java.lang.String strGroupKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Assign a group to user |
void |
createRoleForUser(int nIdUser,
java.lang.String strRoleKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Assign a role to user |
void |
deleteGroupsForUser(int nIdUser,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Delete groups for a user |
void |
deleteRolesForUser(int nIdUser,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Delete roles for a user |
int |
findUserIdFromLogin(java.lang.String strLogin,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Get the id of a user from his login |
java.util.List<DatabaseUser> |
selectGroupUsersFromGroupKey(java.lang.String strGroupKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Find assigned users to the given group |
java.util.Collection<java.lang.String> |
selectLoginListForRoleKey(java.lang.String strRoleKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the list of DatabaseUsers for a Lutece role |
BaseUser |
selectLuteceUserByLogin(java.lang.String strLogin,
fr.paris.lutece.portal.service.plugin.Plugin plugin,
fr.paris.lutece.portal.service.security.LuteceAuthentication authenticationService)
Find users by login |
java.util.Collection<BaseUser> |
selectLuteceUserList(fr.paris.lutece.portal.service.plugin.Plugin plugin,
fr.paris.lutece.portal.service.security.LuteceAuthentication authenticationService)
Load the list of BaseUser |
java.sql.Timestamp |
selectPasswordMaxValideDateFromLogin(java.lang.String strLogin,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Gets the password max valid date of a user from his login. |
boolean |
selectResetPasswordFromLogin(java.lang.String strLogin,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Check if a user has reset his password from his login |
java.util.List<java.lang.String> |
selectUserGroupsFromLogin(java.lang.String strLogin,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Find user's groups by login |
java.util.List<java.lang.String> |
selectUserRolesFromLogin(java.lang.String strLogin,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Select the list of DatabaseUsers for a login |
void |
updateResetPasswordFromLogin(java.lang.String strUserName,
boolean bNewValue,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Update the reset password attribut of a user from his login |
| Method Detail |
|---|
BaseUser selectLuteceUserByLogin(java.lang.String strLogin,
fr.paris.lutece.portal.service.plugin.Plugin plugin,
fr.paris.lutece.portal.service.security.LuteceAuthentication authenticationService)
strLogin - the loginplugin - The Plugin using this data access serviceauthenticationService - the LuteceAuthentication object
boolean selectResetPasswordFromLogin(java.lang.String strLogin,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
strLogin - the loginplugin - The Plugin using this data access serviceauthenticationService - the LuteceAuthentication object
java.sql.Timestamp selectPasswordMaxValideDateFromLogin(java.lang.String strLogin,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
strLogin - the login of the userplugin - The plugin
java.util.Collection<BaseUser> selectLuteceUserList(fr.paris.lutece.portal.service.plugin.Plugin plugin,
fr.paris.lutece.portal.service.security.LuteceAuthentication authenticationService)
BaseUser
plugin - The Plugin using this data access serviceauthenticationService - the authentication service
BaseUser
java.util.List<java.lang.String> selectUserRolesFromLogin(java.lang.String strLogin,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
strLogin - The login of DatabaseUserplugin - The Plugin using this data access service
void deleteRolesForUser(int nIdUser,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
nIdUser - The id of the userplugin - The Plugin using this data access service
void createRoleForUser(int nIdUser,
java.lang.String strRoleKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
nIdUser - The id of the userstrRoleKey - The key of the roleplugin - The Plugin using this data access service
java.util.List<java.lang.String> selectUserGroupsFromLogin(java.lang.String strLogin,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
strLogin - the loginplugin - The Plugin using this data access service
java.util.Collection<java.lang.String> selectLoginListForRoleKey(java.lang.String strRoleKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
strRoleKey - The role key of DatabaseUserplugin - The Plugin using this data access service
void deleteGroupsForUser(int nIdUser,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
nIdUser - The id of the userplugin - The Plugin using this data access service
void createGroupForUser(int nIdUser,
java.lang.String strGroupKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
nIdUser - The id of the userstrGroupKey - The key of the groupplugin - The Plugin using this data access service
java.util.List<DatabaseUser> selectGroupUsersFromGroupKey(java.lang.String strGroupKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
strGroupKey - The group keyplugin - Plugin
void updateResetPasswordFromLogin(java.lang.String strUserName,
boolean bNewValue,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
strUserName - Login of the user to updatebNewValue - New valueplugin - The plugin
int findUserIdFromLogin(java.lang.String strLogin,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
strLogin - Login of the userplugin - The plugin
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||