Interface IGroupDAO

  • All Known Implementing Classes:
    GroupDAO

    public interface IGroupDAO
    IGroupDAO Interface
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void delete​(int nKey, 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​(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Load the data from the table
      List<Group> selectGroupsList​(fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Load the data of all the group objects and returns them as a list
      List<Group> selectGroupsListByListIdStep​(List<Integer> idSteplist, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Load the data of all the group objects and returns them as a list
      fr.paris.lutece.util.ReferenceList selectGroupsReferenceList​(fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Load the data of all the group objects and returns them as a referenceList
      List<Integer> selectIdGroupsList​(fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Load the id of all the group objects and returns them as a list
      void store​(Group group, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Update the record in the table
    • Method Detail

      • insert

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

        void store​(Group group,
                   fr.paris.lutece.portal.service.plugin.Plugin plugin)
        Update the record in the table
        Parameters:
        group - the reference of the Group
        plugin - the Plugin
      • delete

        void delete​(int nKey,
                    fr.paris.lutece.portal.service.plugin.Plugin plugin)
        Delete a record from the table
        Parameters:
        nKey - The identifier of the Group to delete
        plugin - the Plugin
      • load

        Group load​(int nKey,
                   fr.paris.lutece.portal.service.plugin.Plugin plugin)
        Load the data from the table
        Parameters:
        nKey - The identifier of the group
        plugin - the Plugin
        Returns:
        The instance of the group
      • selectGroupsList

        List<Group> selectGroupsList​(fr.paris.lutece.portal.service.plugin.Plugin plugin)
        Load the data of all the group objects and returns them as a list
        Parameters:
        plugin - the Plugin
        Returns:
        The list which contains the data of all the group objects
      • selectIdGroupsList

        List<Integer> selectIdGroupsList​(fr.paris.lutece.portal.service.plugin.Plugin plugin)
        Load the id of all the group objects and returns them as a list
        Parameters:
        plugin - the Plugin
        Returns:
        The list which contains the id of all the group objects
      • selectGroupsReferenceList

        fr.paris.lutece.util.ReferenceList selectGroupsReferenceList​(fr.paris.lutece.portal.service.plugin.Plugin plugin)
        Load the data of all the group objects and returns them as a referenceList
        Parameters:
        plugin - the Plugin
        Returns:
        The referenceList which contains the data of all the group objects
      • selectGroupsListByListIdStep

        List<Group> selectGroupsListByListIdStep​(List<Integer> idSteplist,
                                                 fr.paris.lutece.portal.service.plugin.Plugin plugin)
        Load the data of all the group objects and returns them as a list
        Parameters:
        plugin - the Plugin
        Returns:
        The list which contains the data of all the group objects