Interface TuaPartyRoleDao
- All Superinterfaces:
de.hybris.platform.servicelayer.internal.dao.GenericDao<TuaPartyRoleModel>
- All Known Implementing Classes:
DefaultTuaPartyRoleDao
public interface TuaPartyRoleDao
extends de.hybris.platform.servicelayer.internal.dao.GenericDao<TuaPartyRoleModel>
Data access object for
TuaPartyRoleModels.- Since:
- 2208
-
Method Summary
Modifier and TypeMethodDescriptionfindPartyRole(Map<String, ? extends Object> params) Searches for a unique model based on given parameters.getNumberOfPartyRoles(PrPartyRoleFilteringContextData filteringContext) Retrieves the total number of party roles found, filtered by given filtering context.getPartyRoles(PrPartyRoleFilteringContextData filteringContext, Integer offset, Integer limit) Retrieves a list ofTuaPartyRoleModelfiltered by a given filtering contextMethods inherited from interface de.hybris.platform.servicelayer.internal.dao.GenericDao
find, find, find, find, find
-
Method Details
-
findPartyRole
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
-
getPartyRoles
List<TuaPartyRoleModel> getPartyRoles(PrPartyRoleFilteringContextData filteringContext, Integer offset, Integer limit) Retrieves a list ofTuaPartyRoleModelfiltered by a given filtering context- Parameters:
filteringContext- the filtering contextoffset- the offsetlimit- maximum number of returned party roles- Returns:
- the list of party roles found for given offset, limit and filteringContext
-
getNumberOfPartyRoles
Retrieves the total number of party roles found, filtered by given filtering context.- Parameters:
filteringContext- the filtering context.- Returns:
- the number of party roles found.
-