public interface IMyluteceDirectoryDAO
| Modifier and Type | Method and Description |
|---|---|
void |
assignDirectory(int nIdDirectory,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Assign a directory as a user directory
|
void |
assignWorkflowModifyAction(int nIdDirectory,
int nIdWfAction,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
assign the workflow action associate to the directory selected(used when a modification is made on the user )
|
void |
createGroupForUser(int nIdRecord,
String strGroupKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Assign a group to user
|
void |
createRoleForUser(int nIdRecord,
String strRoleKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Assign a role to user
|
void |
deleteGroupsForUser(int nIdRecord,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Delete groups for a user
|
void |
deleteRolesForUser(int nIdRecord,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
boolean selectResetPasswordFromLogin( String strLogin, Plugin plugin );
/**
Delete roles for a user
|
int |
findUserIdFromLogin(String strLogin,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Get the id of a user from his login
|
boolean |
isMapped(int nIdDirectory,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Check if the specified directory is mapped for managing users
|
Collection<String> |
selectLoginListForRoleKey(String strRoleKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the list of DirectoryUsers for a Lutece role
|
Collection<Integer> |
selectMappedDirectories(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Select the list of directory identifier which are mapped as user directory
|
Timestamp |
selectPasswordMaxValideDateFromLogin(String strLogin,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Gets the password max valid date of a user from his login.
|
boolean |
selectResetPasswordFromLogin(String strLogin,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Check if a user has reset his password from his login
|
List<String> |
selectUserGroupsFromLogin(String strLogin,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Find user's groups by login
|
List<String> |
selectUserRolesFromLogin(String strLogin,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Find user's roles by login
|
Integer |
selectWorkflowModifyAction(int nIdDirectory,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
select the workflow action associate to the directory selected(used when a modification is made on the user )
|
void |
unAssignDirectories(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Unassign all directories
|
void |
unAssignDirectory(int nIdDirectory,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Unassign a directory
|
void |
unAssignWorkflowModifyAction(int nIdDirectory,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
un asign the workflow action associate to the directory selected(used when a modification is made on the user )
|
void |
updateResetPasswordFromLogin(String strUserName,
boolean bNewValue,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Update the reset password attribut of a user from his login
|
List<String> selectUserRolesFromLogin(String strLogin, fr.paris.lutece.portal.service.plugin.Plugin plugin)
strLogin - the loginplugin - The Plugin using this data access serviceboolean selectResetPasswordFromLogin(String strLogin, fr.paris.lutece.portal.service.plugin.Plugin plugin)
strLogin - the loginplugin - The Plugin using this data access serviceauthenticationService - the LuteceAuthentication objectTimestamp selectPasswordMaxValideDateFromLogin(String strLogin, fr.paris.lutece.portal.service.plugin.Plugin plugin)
strLogin - the login of the userplugin - The pluginvoid deleteRolesForUser(int nIdRecord,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
nIdRecord - The id of the userplugin - The Plugin using this data access serviceboolean isMapped(int nIdDirectory,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
nIdDirectory - The directory identifierplugin - The Plugin using this data access serviceCollection<Integer> selectMappedDirectories(fr.paris.lutece.portal.service.plugin.Plugin plugin)
plugin - The Plugin using this data access serviceCollection of id directoryvoid assignDirectory(int nIdDirectory,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
nIdDirectory - The directory identifierplugin - The Plugin using this data access servicevoid unAssignDirectory(int nIdDirectory,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
nIdDirectory - The directory identifierplugin - The Plugin using this data access servicevoid unAssignDirectories(fr.paris.lutece.portal.service.plugin.Plugin plugin)
plugin - The Plugin using this data access servicevoid createRoleForUser(int nIdRecord,
String strRoleKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
nIdRecord - The id of the userstrRoleKey - The key of the roleplugin - The Plugin using this data access serviceList<String> selectUserGroupsFromLogin(String strLogin, fr.paris.lutece.portal.service.plugin.Plugin plugin)
strLogin - The loginplugin - The Plugin using this data access serviceCollection<String> selectLoginListForRoleKey(String strRoleKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
strRoleKey - The role key of DirectoryUserplugin - The Plugin using this data access servicevoid deleteGroupsForUser(int nIdRecord,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
nIdRecord - The id of the userplugin - The Plugin using this data access servicevoid createGroupForUser(int nIdRecord,
String strGroupKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
nIdRecord - The id of the userstrGroupKey - The key of the groupplugin - The Plugin using this data access servicevoid updateResetPasswordFromLogin(String strUserName, boolean bNewValue, fr.paris.lutece.portal.service.plugin.Plugin plugin)
strUserName - Login of the user to updatebNewValue - New valueplugin - The pluginint findUserIdFromLogin(String strLogin, fr.paris.lutece.portal.service.plugin.Plugin plugin)
strLogin - Login of the userplugin - The pluginInteger selectWorkflowModifyAction(int nIdDirectory, fr.paris.lutece.portal.service.plugin.Plugin plugin)
nIdDirectory - the id directoryplugin - the pluginvoid assignWorkflowModifyAction(int nIdDirectory,
int nIdWfAction,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
nIdDirectory - the id directorynIdWfAction - the worklow actionthe - workflow action associate to the directory selected(used when a modification is made on the user )void unAssignWorkflowModifyAction(int nIdDirectory,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
nIdDirectory - the id directorythe - workflow action associate to the directory selected(used when a modification is made on the user )Copyright © 2015 Mairie de Paris. All rights reserved.