All Known Implementing Classes:
GroupRoleDAO

public interface IGroupRoleDAO
Interface for the GroupRoleDAO
  • Method Summary

    Modifier and Type
    Method
    Description
    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
    selectGroupRoles(String strGroupKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
    Find group's roles
    selectGroupRolesByRoleKey(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 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