Interface TuaAgreementDao
- All Superinterfaces:
de.hybris.platform.servicelayer.internal.dao.GenericDao<TuaAgreementModel>
- All Known Implementing Classes:
DefaultTuaAgreementDao
public interface TuaAgreementDao
extends de.hybris.platform.servicelayer.internal.dao.GenericDao<TuaAgreementModel>
Data access object for
TuaAgreementModels.- Since:
- 2208
-
Method Summary
Modifier and TypeMethodDescriptionfindUnique(Map<String, ? extends Object> params) Searches for a unique model based on given parameters.getAgreements(AgrAgreementContext agrAgreementContext, Integer offset, Integer limit) Retrieves a list ofTuaAgreementModelfor a given context.getNumberOfAgreementsFor(AgrAgreementContext agrAgreementContext) 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
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<TuaAgreementModel> getAgreements(AgrAgreementContext agrAgreementContext, Integer offset, Integer limit) Retrieves a list ofTuaAgreementModelfor 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
Retrieves the total number of agreements found for a given context.- Parameters:
agrAgreementContext- the context.- Returns:
- the number of agreements found.
-