Class AttributeCertificationDAO

    • Constructor Detail

      • AttributeCertificationDAO

        public AttributeCertificationDAO()
    • Method Detail

      • insert

        public void insert​(AttributeCertification attributeCertification,
                           int serviceContractId,
                           fr.paris.lutece.portal.service.plugin.Plugin plugin)
        Insert a new record in the table.
        Specified by:
        insert in interface IAttributeCertificationDAO
        Parameters:
        attributeCertification - instance of the AttributeCertification object to insert
        plugin - the Plugin
      • load

        public java.util.Optional<AttributeCertification> load​(int nKey,
                                                               fr.paris.lutece.portal.service.plugin.Plugin plugin)
        Load the data from the table
        Specified by:
        load in interface IAttributeCertificationDAO
        Parameters:
        nKey - The identifier of the attributeCertification
        plugin - the Plugin
        Returns:
        The instance of the attributeCertification
      • 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 IAttributeCertificationDAO
        Parameters:
        nKey - The identifier of the AttributeCertification to delete
        plugin - the Plugin
      • store

        public void store​(AttributeCertification attributeCertification,
                          fr.paris.lutece.portal.service.plugin.Plugin plugin)
        Update the record in the table
        Specified by:
        store in interface IAttributeCertificationDAO
        Parameters:
        attributeCertification - the reference of the AttributeCertification
        plugin - the Plugin
      • selectAttributeCertificationsList

        public java.util.List<AttributeCertification> selectAttributeCertificationsList​(fr.paris.lutece.portal.service.plugin.Plugin plugin)
        Load the data of all the attributeCertification objects and returns them as a list
        Specified by:
        selectAttributeCertificationsList in interface IAttributeCertificationDAO
        Parameters:
        plugin - the Plugin
        Returns:
        The list which contains the data of all the attributeCertification objects
      • selectIdAttributeCertificationsList

        public java.util.List<java.lang.Integer> selectIdAttributeCertificationsList​(fr.paris.lutece.portal.service.plugin.Plugin plugin)
        Load the id of all the attributeCertification objects and returns them as a list
        Specified by:
        selectIdAttributeCertificationsList in interface IAttributeCertificationDAO
        Parameters:
        plugin - the Plugin
        Returns:
        The list which contains the id of all the attributeCertification objects
      • selectAttributeCertificationsReferenceList

        public fr.paris.lutece.util.ReferenceList selectAttributeCertificationsReferenceList​(fr.paris.lutece.portal.service.plugin.Plugin plugin)
        Load the data of all the attributeCertification objects and returns them as a referenceList
        Specified by:
        selectAttributeCertificationsReferenceList in interface IAttributeCertificationDAO
        Parameters:
        plugin - the Plugin
        Returns:
        The referenceList which contains the data of all the attributeCertification objects
      • selectAttributeCertificationsListByIds

        public java.util.List<AttributeCertification> selectAttributeCertificationsListByIds​(fr.paris.lutece.portal.service.plugin.Plugin plugin,
                                                                                             java.util.List<java.lang.Integer> listIds)
        Load the data of all the avant objects and returns them as a list
        Specified by:
        selectAttributeCertificationsListByIds in interface IAttributeCertificationDAO
        Parameters:
        plugin - the Plugin
        listIds - liste of ids
        Returns:
        The list which contains the data of all the avant objects