fr.paris.lutece.plugins.mylutece.modules.database.authentication.business
Interface IGroupRoleDAO

All Known Implementing Classes:
GroupRoleDAO

public interface IGroupRoleDAO

Interface for the GroupRoleDAO


Method Summary
 void createRole(String strGroupKey, String strRoleKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Assign a role to group
 void deleteRoles(String strGroupKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Delete roles for a user
 List<String> selectGroupRoles(String strGroupKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Find group's roles
 List<String> selectGroupRolesByRoleKey(String strRoleKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Find group's roles
 

Method Detail

selectGroupRoles

List<String> selectGroupRoles(String strGroupKey,
                              fr.paris.lutece.portal.service.plugin.Plugin plugin)
Find group's roles

Parameters:
strGroupKey - the group key
plugin - 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 key
plugin - Plugin
Returns:
ArrayList the groups key list corresponding to the role

deleteRoles

void deleteRoles(String strGroupKey,
                 fr.paris.lutece.portal.service.plugin.Plugin plugin)
Delete roles for a user

Parameters:
strGroupKey - The key of the group
plugin - 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 group
strRoleKey - The key of the role
plugin - Plugin


Copyright © 2014 Mairie de Paris. All Rights Reserved.