Class AttributeCertificationDAO

java.lang.Object
fr.paris.lutece.plugins.identitystore.business.contract.AttributeCertificationDAO
All Implemented Interfaces:
IAttributeCertificationDAO

public final class AttributeCertificationDAO extends Object implements IAttributeCertificationDAO
This class provides Data Access methods for AttributeCertification objects
  • Constructor Details

    • AttributeCertificationDAO

      public AttributeCertificationDAO()
  • Method Details

    • 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 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
    • deleteFromServiceContract

      public void deleteFromServiceContract(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Specified by:
      deleteFromServiceContract in interface IAttributeCertificationDAO
    • 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 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 List<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 List<AttributeCertification> selectAttributeCertificationsListByIds(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:
      selectAttributeCertificationsListByIds in interface IAttributeCertificationDAO
      Parameters:
      plugin - the Plugin
      listIds - liste of ids
      Returns:
      The list which contains the data of all the avant objects
    • selectAttributeCertificationListByServiceContract

      public List<AttributeCertification> selectAttributeCertificationListByServiceContract(fr.paris.lutece.portal.service.plugin.Plugin plugin, ServiceContract servicecontract)
      Specified by:
      selectAttributeCertificationListByServiceContract in interface IAttributeCertificationDAO