Interface IControlGroupDAO

  • All Known Implementing Classes:
    ControlGroupDAO

    public interface IControlGroupDAO
    IControlGroupDAO Interface
    • Method Detail

      • insert

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

        void store​(ControlGroup controlGroup,
                   fr.paris.lutece.portal.service.plugin.Plugin plugin)
        Update the record in the table
        Parameters:
        controlGroup - the reference of the ControlGroup
        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 ControlGroup to delete
        plugin - the Plugin
      • load

        Optional<ControlGroup> load​(int nKey,
                                    fr.paris.lutece.portal.service.plugin.Plugin plugin)
        Load the data from the table
        Parameters:
        nKey - The identifier of the controlGroup
        plugin - the Plugin
        Returns:
        The instance of the controlGroup
      • selectControlGroupsList

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

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

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

        List<ControlGroup> selectControlGroupsListByIds​(fr.paris.lutece.portal.service.plugin.Plugin _plugin,
                                                        List<Integer> listIds)
        Load the data of all the avant objects and returns them as a list
        Parameters:
        plugin - the Plugin
        listIds - liste of ids
        Returns:
        The list which contains the data of all the avant objects
      • selectLogicalOperatorsReferenceList

        fr.paris.lutece.util.ReferenceList selectLogicalOperatorsReferenceList​(Locale locale)
        Load all logical operators from enum
        Parameters:
        locale - TODO
        Returns:
        The referenceList which contains the logical operators