Interface AgrAgreementDao

All Superinterfaces:
de.hybris.platform.servicelayer.internal.dao.GenericDao<AgrAgreementModel>
All Known Implementing Classes:
DefaultAgrAgreementDao

@Deprecated(since="2208") public interface AgrAgreementDao extends de.hybris.platform.servicelayer.internal.dao.GenericDao<AgrAgreementModel>
Deprecated.
2208
Data access object for AgrAgreementModels.
Since:
2108
  • Method Details

    • findUnique

      AgrAgreementModel findUnique(Map<String,? extends Object> params)
      Deprecated.
      Searches for a unique model based on given parameters. If none or multiple models are found, a specific exception will be thrown.
      Parameters:
      params - Map containing name-value pairs used for identifying the unique model
      Returns:
      model for given parameter
    • getAgreements

      List<AgrAgreementModel> getAgreements(AgrAgreementContext agrAgreementContext, Integer offset, Integer limit)
      Deprecated.
      Retrieves a list of AgrAgreementModel for a given context.
      Parameters:
      agrAgreementContext - the context.
      offset - the offset.
      limit - the maximum number of returned agreements.
      Returns:
      the list of agreements found for the given context.
    • getNumberOfAgreementsFor

      Integer getNumberOfAgreementsFor(AgrAgreementContext agrAgreementContext)
      Deprecated.
      Retrieves the total number of agreements found for a given context.
      Parameters:
      agrAgreementContext - the context.
      Returns:
      the number of agreements found.