Class AttributeRequirementDAO

java.lang.Object
fr.paris.lutece.plugins.identitystore.business.contract.AttributeRequirementDAO
All Implemented Interfaces:
IAttributeRequirementDAO

public final class AttributeRequirementDAO extends Object implements IAttributeRequirementDAO
This class provides Data Access methods for AttributeRequirement objects
  • Constructor Details

    • AttributeRequirementDAO

      public AttributeRequirementDAO()
  • Method Details

    • insert

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

      public Optional<AttributeRequirement> load(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Load the data from the table
      Specified by:
      load in interface IAttributeRequirementDAO
      Parameters:
      nKey - The identifier of the attributeRequirement
      plugin - the Plugin
      Returns:
      The instance of the attributeRequirement
    • 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 IAttributeRequirementDAO
      Parameters:
      nKey - The identifier of the AttributeRequirement to delete
      plugin - the Plugin
    • deleteFromServiceContract

      public void deleteFromServiceContract(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Specified by:
      deleteFromServiceContract in interface IAttributeRequirementDAO
    • store

      public void store(AttributeRequirement attributeRequirement, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Update the record in the table
      Specified by:
      store in interface IAttributeRequirementDAO
      Parameters:
      attributeRequirement - the reference of the AttributeRequirement
      plugin - the Plugin
    • selectAttributeRequirementsList

      public 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
      Specified by:
      selectAttributeRequirementsList in interface IAttributeRequirementDAO
      Parameters:
      plugin - the Plugin
      Returns:
      The list which contains the data of all the attributeRequirement objects
    • selectIdAttributeRequirementsList

      public 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
      Specified by:
      selectIdAttributeRequirementsList in interface IAttributeRequirementDAO
      Parameters:
      plugin - the Plugin
      Returns:
      The list which contains the id of all the attributeRequirement objects
    • selectAttributeRequirementsReferenceList

      public 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
      Specified by:
      selectAttributeRequirementsReferenceList in interface IAttributeRequirementDAO
      Parameters:
      plugin - the Plugin
      Returns:
      The referenceList which contains the data of all the attributeRequirement objects
    • selectAttributeRequirementsListByIds

      public 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
      Specified by:
      selectAttributeRequirementsListByIds in interface IAttributeRequirementDAO
      Parameters:
      plugin - the Plugin
      listIds - liste of ids
      Returns:
      The list which contains the data of all the avant objects
    • selectAttributeRequirementsListByServiceContract

      public List<AttributeRequirement> selectAttributeRequirementsListByServiceContract(fr.paris.lutece.portal.service.plugin.Plugin plugin, ServiceContract servicecontract)
      Specified by:
      selectAttributeRequirementsListByServiceContract in interface IAttributeRequirementDAO