Interface TuaAgreementSpecificationDao
- All Superinterfaces:
de.hybris.platform.servicelayer.internal.dao.GenericDao<TuaAgreementSpecificationModel>
- All Known Implementing Classes:
DefaultTuaAgreementSpecificationDao
public interface TuaAgreementSpecificationDao
extends de.hybris.platform.servicelayer.internal.dao.GenericDao<TuaAgreementSpecificationModel>
Data access object for
TuaAgreementSpecificationModels.- Since:
- 2208
-
Method Summary
Modifier and TypeMethodDescriptionfindUnique(Map<String, ? extends Object> params) Searches for a unique model based on given parameters.getAgreementSpecifications(AgrAgreementContext agrAgreementContext, Integer offset, Integer limit) Retrieves a list ofTuaAgreementSpecificationModelfor a given context.getNumberOfAgreementSpecificationsFor(AgrAgreementContext agrAgreementContext) Retrieves the total number of agreement specifications 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
-
getAgreementSpecifications
List<TuaAgreementSpecificationModel> getAgreementSpecifications(AgrAgreementContext agrAgreementContext, Integer offset, Integer limit) Retrieves a list ofTuaAgreementSpecificationModelfor 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
Retrieves the total number of agreement specifications found for a given context.- Parameters:
agrAgreementContext- the context.- Returns:
- the number of agreement specifications found.
-