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 Summary
Modifier and TypeMethodDescriptionfindUnique(Map<String, ? extends Object> params) Deprecated.Searches for a unique model based on given parameters.getAgreements(AgrAgreementContext agrAgreementContext, Integer offset, Integer limit) Deprecated.Retrieves a list ofAgrAgreementModelfor a given context.getNumberOfAgreementsFor(AgrAgreementContext agrAgreementContext) Deprecated.Retrieves the total number of agreements found for a given context.Methods inherited from interface de.hybris.platform.servicelayer.internal.dao.GenericDao
find, find, find, find, find
-
Method Details
-
findUnique
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-Mapcontaining 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 ofAgrAgreementModelfor 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
Deprecated.Retrieves the total number of agreements found for a given context.- Parameters:
agrAgreementContext- the context.- Returns:
- the number of agreements found.
-