Interface AgrAgreementsService

All Known Implementing Classes:
DefaultAgrAgreementsService

@Deprecated(since="2208") public interface AgrAgreementsService
Deprecated.
2208
Service responsible for handling AgrAgreementModel related operations.
Since:
2108
  • Method Details

    • getAgreement

      AgrAgreementModel getAgreement(String id)
      Deprecated.
      Returns a AgrAgreementModel for the given id.
      Parameters:
      id - identifier of AgrAgreementModel
      Returns:
      the AgrAgreementModel found.
      Throws:
      de.hybris.platform.servicelayer.exceptions.ModelNotFoundException - if no agreement is found.
    • 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.
    • createAgreement

      AgrAgreementModel createAgreement()
      Deprecated.
      Creates an instance of AgrAgreementModel.
      Returns:
      the newly created model.
    • removeAgreement

      void removeAgreement(AgrAgreementModel agreement)
      Deprecated.
      Removes the given AgrAgreementModel
      Parameters:
      agreement - the agreement.
    • saveAgreement

      void saveAgreement(AgrAgreementModel agreement)
      Deprecated.
      Saves the given AgrAgreementModel.
      Parameters:
      agreement - the agreement.