Class DefaultTuaAgreementSpecificationDao
java.lang.Object
de.hybris.platform.servicelayer.internal.dao.DefaultGenericDao<TuaAgreementSpecificationModel>
de.hybris.platform.agreementservices.daos.impl.DefaultTuaAgreementSpecificationDao
- All Implemented Interfaces:
TuaAgreementSpecificationDao,de.hybris.platform.servicelayer.internal.dao.GenericDao<TuaAgreementSpecificationModel>
public class DefaultTuaAgreementSpecificationDao
extends de.hybris.platform.servicelayer.internal.dao.DefaultGenericDao<TuaAgreementSpecificationModel>
implements TuaAgreementSpecificationDao
Default implementation of
TuaAgreementSpecificationDao.- Since:
- 2208
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfindUnique(Map<String, ?> 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 class de.hybris.platform.servicelayer.internal.dao.DefaultGenericDao
find, find, find, find, find, getFlexibleSearchService, setFlexibleSearchServiceMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface de.hybris.platform.servicelayer.internal.dao.GenericDao
find, find, find, find, find
-
Constructor Details
-
DefaultTuaAgreementSpecificationDao
public DefaultTuaAgreementSpecificationDao()
-
-
Method Details
-
findUnique
Description copied from interface:TuaAgreementSpecificationDaoSearches for a unique model based on given parameters. If none or multiple models are found, a specific exception will be thrown.- Specified by:
findUniquein interfaceTuaAgreementSpecificationDao- Parameters:
params-Mapcontaining name-value pairs used for identifying the unique model- Returns:
- model for given parameter
-
getAgreementSpecifications
public List<TuaAgreementSpecificationModel> getAgreementSpecifications(AgrAgreementContext agrAgreementContext, Integer offset, Integer limit) Description copied from interface:TuaAgreementSpecificationDaoRetrieves a list ofTuaAgreementSpecificationModelfor a given context.- Specified by:
getAgreementSpecificationsin interfaceTuaAgreementSpecificationDao- 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
Description copied from interface:TuaAgreementSpecificationDaoRetrieves the total number of agreement specifications found for a given context.- Specified by:
getNumberOfAgreementSpecificationsForin interfaceTuaAgreementSpecificationDao- Parameters:
agrAgreementContext- the context.- Returns:
- the number of agreement specifications found.
-