Interface IAttributeRequirementDAO

  • All Known Implementing Classes:
    AttributeRequirementDAO

    public interface IAttributeRequirementDAO
    IAttributeRequirementDAO Interface
    • Method Detail

      • insert

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

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

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

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

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

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

        List<AttributeRequirement> selectAttributeRequirementsListByIds​(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
      • selectAttributeRequirementsListByServiceContract

        List<AttributeRequirement> selectAttributeRequirementsListByServiceContract​(fr.paris.lutece.portal.service.plugin.Plugin plugin,
                                                                                    ServiceContract servicecontract)
      • deleteFromServiceContract

        void deleteFromServiceContract​(int id,
                                       fr.paris.lutece.portal.service.plugin.Plugin plugin)