Interface IGroupRoleDAO
-
- All Known Implementing Classes:
GroupRoleDAO
public interface IGroupRoleDAOInterface for the GroupRoleDAO
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidcreateRole(java.lang.String strGroupKey, java.lang.String strRoleKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)Assign a role to groupvoiddeleteRoles(java.lang.String strGroupKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)Delete roles for a userjava.util.List<java.lang.String>selectGroupRoles(java.lang.String strGroupKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)Find group's rolesjava.util.List<java.lang.String>selectGroupRolesByRoleKey(java.lang.String strRoleKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)Find group's roles
-
-
-
Method Detail
-
selectGroupRoles
java.util.List<java.lang.String> selectGroupRoles(java.lang.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
java.util.List<java.lang.String> selectGroupRolesByRoleKey(java.lang.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
void deleteRoles(java.lang.String strGroupKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)Delete roles for a user- Parameters:
strGroupKey- The key of the groupplugin- Plugin
-
createRole
void createRole(java.lang.String strGroupKey, java.lang.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
-
-