Class TemplateGroupDAO

    • Method Summary

      All Methods Instance Methods Concrete 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​(fr.paris.lutece.plugins.forms.business.Group group, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Insert a new record in the table.
      fr.paris.lutece.plugins.forms.business.Group load​(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Load the data from the table
      List<fr.paris.lutece.plugins.forms.business.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
      void store​(fr.paris.lutece.plugins.forms.business.Group group, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Update the record in the table
    • Constructor Detail

      • TemplateGroupDAO

        public TemplateGroupDAO()
    • Method Detail

      • insert

        public void insert​(fr.paris.lutece.plugins.forms.business.Group group,
                           fr.paris.lutece.portal.service.plugin.Plugin plugin)
        Insert a new record in the table.
        Specified by:
        insert in interface ITemplateGroupDAO
        Parameters:
        group - instance of the Group object to insert
        plugin - the Plugin
      • load

        public fr.paris.lutece.plugins.forms.business.Group load​(int nKey,
                                                                 fr.paris.lutece.portal.service.plugin.Plugin plugin)
        Load the data from the table
        Specified by:
        load in interface ITemplateGroupDAO
        Parameters:
        nKey - The identifier of the group
        plugin - the Plugin
        Returns:
        The instance of the group
      • delete

        public void delete​(int nKey,
                           fr.paris.lutece.portal.service.plugin.Plugin plugin)
        Delete a record from the table
        Specified by:
        delete in interface ITemplateGroupDAO
        Parameters:
        nKey - The identifier of the Group to delete
        plugin - the Plugin
      • store

        public void store​(fr.paris.lutece.plugins.forms.business.Group group,
                          fr.paris.lutece.portal.service.plugin.Plugin plugin)
        Update the record in the table
        Specified by:
        store in interface ITemplateGroupDAO
        Parameters:
        group - the reference of the Group
        plugin - the Plugin
      • selectGroupsListByListIdStep

        public List<fr.paris.lutece.plugins.forms.business.Group> selectGroupsListByListIdStep​(List<Integer> idSteplist,
                                                                                               fr.paris.lutece.portal.service.plugin.Plugin plugin)
        Description copied from interface: ITemplateGroupDAO
        Load the data of all the group objects and returns them as a list
        Specified by:
        selectGroupsListByListIdStep in interface ITemplateGroupDAO
        plugin - the Plugin
        Returns:
        The list which contains the data of all the group objects