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(java.lang.String strGroupKey, java.lang.String strRoleKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Assign a role to group
 void deleteRoles(java.lang.String strGroupKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Delete roles for a user
 java.util.List<java.lang.String> selectGroupRoles(java.lang.String strGroupKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Find group's roles
 java.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 key
plugin - 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 key
plugin - 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 group
plugin - 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 group
strRoleKey - The key of the role
plugin - Plugin


Copyright © 2011 Mairie de Paris. All Rights Reserved.