Class DefaultTuaAgreementDao
java.lang.Object
de.hybris.platform.servicelayer.internal.dao.DefaultGenericDao<TuaAgreementModel>
de.hybris.platform.agreementservices.daos.impl.DefaultTuaAgreementDao
- All Implemented Interfaces:
TuaAgreementDao,de.hybris.platform.servicelayer.internal.dao.GenericDao<TuaAgreementModel>
public class DefaultTuaAgreementDao
extends de.hybris.platform.servicelayer.internal.dao.DefaultGenericDao<TuaAgreementModel>
implements TuaAgreementDao
Default implementation of
TuaAgreementDao.- Since:
- 2208
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfindUnique(Map<String, ?> 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 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
-
DefaultTuaAgreementDao
public DefaultTuaAgreementDao()
-
-
Method Details
-
findUnique
Description copied from interface:TuaAgreementDaoSearches for a unique model based on given parameters. If none or multiple models are found, a specific exception will be thrown.- Specified by:
findUniquein interfaceTuaAgreementDao- Parameters:
params-Mapcontaining name-value pairs used for identifying the unique model- Returns:
- model for given parameter
-
getAgreements
public List<TuaAgreementModel> getAgreements(AgrAgreementContext agrAgreementContext, Integer offset, Integer limit) Description copied from interface:TuaAgreementDaoRetrieves a list ofTuaAgreementModelfor a given context.- Specified by:
getAgreementsin interfaceTuaAgreementDao- 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
Description copied from interface:TuaAgreementDaoRetrieves the total number of agreements found for a given context.- Specified by:
getNumberOfAgreementsForin interfaceTuaAgreementDao- Parameters:
agrAgreementContext- the context.- Returns:
- the number of agreements found.
-