Interface IGroupRoleDAO
- All Known Implementing Classes:
GroupRoleDAO
public interface IGroupRoleDAO
Interface for the GroupRoleDAO
-
Method Summary
Modifier and TypeMethodDescriptionvoidcreateRole(String strGroupKey, String strRoleKey, fr.paris.lutece.portal.service.plugin.Plugin plugin) Assign a role to groupvoiddeleteRoles(String strGroupKey, fr.paris.lutece.portal.service.plugin.Plugin plugin) Delete roles for a userselectGroupRoles(String strGroupKey, fr.paris.lutece.portal.service.plugin.Plugin plugin) Find group's rolesselectGroupRolesByRoleKey(String strRoleKey, fr.paris.lutece.portal.service.plugin.Plugin plugin) Find group's roles
-
Method Details
-
selectGroupRoles
List<String> selectGroupRoles(String strGroupKey, fr.paris.lutece.portal.service.plugin.Plugin plugin) Find group's roles- Parameters:
strGroupKey- the group keyplugin- Plugin- Returns:
- ArrayList the role key list corresponding to the group
-
selectGroupRolesByRoleKey
List<String> selectGroupRolesByRoleKey(String strRoleKey, fr.paris.lutece.portal.service.plugin.Plugin plugin) Find group's roles- Parameters:
strRoleKey- The Role keyplugin- Plugin- Returns:
- ArrayList the groups key list corresponding to the role
-
deleteRoles
Delete roles for a user- Parameters:
strGroupKey- The key of the groupplugin- Plugin
-
createRole
void createRole(String strGroupKey, String strRoleKey, fr.paris.lutece.portal.service.plugin.Plugin plugin) Assign a role to group- Parameters:
strGroupKey- The key of the groupstrRoleKey- The key of the roleplugin- Plugin
-