Interface AgrAgreementSpecificationService
- All Known Implementing Classes:
DefaultAgrAgreementSpecificationService
Deprecated.
2208
Service responsible for handling
AgrAgreementSpecificationModel related operations.- Since:
- 2108
-
Method Summary
Modifier and TypeMethodDescriptionDeprecated.Creates an instance ofAgrAgreementSpecificationModel.Deprecated.Returns aAgrAgreementSpecificationModelfor the given id.getAgreementSpecifications(AgrAgreementContext agrAgreementContext, Integer offset, Integer limit) Deprecated.Retrieves a list ofAgrAgreementSpecificationModelfor a given context.getNumberOfAgreementSpecificationsFor(AgrAgreementContext agrAgreementContext) Deprecated.Retrieves the total number of agreement specifications found for a given context.voidremoveAgreementSpecification(AgrAgreementSpecificationModel agreementSpecification) Deprecated.Removes the givenAgrAgreementSpecificationModelvoidsaveAgreementSpecification(AgrAgreementSpecificationModel agreementSpecification) Deprecated.Saves the givenAgrAgreementSpecificationModel.
-
Method Details
-
getAgreementSpecification
Deprecated.Returns aAgrAgreementSpecificationModelfor the given id.- Parameters:
id- identifier ofAgrAgreementSpecificationModel- Returns:
- the
AgrAgreementSpecificationModelfound. - Throws:
de.hybris.platform.servicelayer.exceptions.ModelNotFoundException- if no agreement specification is found.
-
getAgreementSpecifications
List<AgrAgreementSpecificationModel> getAgreementSpecifications(AgrAgreementContext agrAgreementContext, Integer offset, Integer limit) Deprecated.Retrieves a list ofAgrAgreementSpecificationModelfor a given context.- Parameters:
agrAgreementContext- the context.offset- the offset.limit- the maximum number of returned agreementSpecifications.- Returns:
- the list of agreement specifications found for the given context.
-
getNumberOfAgreementSpecificationsFor
Deprecated.Retrieves the total number of agreement specifications found for a given context.- Parameters:
agrAgreementContext- the context.- Returns:
- the number of agreement specifications found.
-
createAgreementSpecification
AgrAgreementSpecificationModel createAgreementSpecification()Deprecated.Creates an instance ofAgrAgreementSpecificationModel.- Returns:
- the newly created model.
-
removeAgreementSpecification
Deprecated.Removes the givenAgrAgreementSpecificationModel- Parameters:
agreementSpecification- the agreement specification.
-
saveAgreementSpecification
Deprecated.Saves the givenAgrAgreementSpecificationModel.- Parameters:
agreementSpecification- the agreement specification.
-