Interface IGroupDAO

  • All Known Implementing Classes:
    GroupDAO

    public interface IGroupDAO
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void delete​(java.lang.String strGroupKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Delete a record from the table
      void insert​(Group group, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Insert a new record in the table.
      Group load​(java.lang.String strGroupKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      load the data of Group from the table
      java.util.Collection<Group> selectAll​(fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Load the list of groups
      java.util.List<Group> selectByFilter​(GroupFilter gFilter, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Return the filtered groups list
      fr.paris.lutece.util.ReferenceList selectGroupsList​(fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Returns a list of all the right group
      void store​(Group group, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Update the record in the table
    • Method Detail

      • delete

        void delete​(java.lang.String strGroupKey,
                    fr.paris.lutece.portal.service.plugin.Plugin plugin)
        Delete a record from the table
        Parameters:
        strGroupKey - The indentifier of the object Group
        plugin - Plugin
      • insert

        void insert​(Group group,
                    fr.paris.lutece.portal.service.plugin.Plugin plugin)
        Insert a new record in the table.
        Parameters:
        group - The Instance of the object Group
        plugin - Plugin
      • load

        Group load​(java.lang.String strGroupKey,
                   fr.paris.lutece.portal.service.plugin.Plugin plugin)
        load the data of Group from the table
        Parameters:
        strGroupKey - The indentifier of the object Group
        plugin - Plugin
        Returns:
        The Instance of the object Group
      • selectGroupsList

        fr.paris.lutece.util.ReferenceList selectGroupsList​(fr.paris.lutece.portal.service.plugin.Plugin plugin)
        Returns a list of all the right group
        Parameters:
        plugin - Plugin
        Returns:
        A ReferenceList of group objects
      • selectAll

        java.util.Collection<Group> selectAll​(fr.paris.lutece.portal.service.plugin.Plugin plugin)
        Load the list of groups
        Parameters:
        plugin - Plugin
        Returns:
        The Collection of the Groups
      • store

        void store​(Group group,
                   fr.paris.lutece.portal.service.plugin.Plugin plugin)
        Update the record in the table
        Parameters:
        group - The instance of the Group to update
        plugin - Plugin
      • selectByFilter

        java.util.List<Group> selectByFilter​(GroupFilter gFilter,
                                             fr.paris.lutece.portal.service.plugin.Plugin plugin)
        Return the filtered groups list
        Parameters:
        gFilter - filter
        plugin - Plugin
        Returns:
        List of Group