Interface TuaOrganizationDao
- All Superinterfaces:
de.hybris.platform.servicelayer.internal.dao.GenericDao<TuaOrganizationModel>
- All Known Implementing Classes:
DefaultTuaOrganizationDao
public interface TuaOrganizationDao
extends de.hybris.platform.servicelayer.internal.dao.GenericDao<TuaOrganizationModel>
Data access object for
TuaOrganizationModels.- Since:
- 2208
-
Method Summary
Modifier and TypeMethodDescriptionReturns the organization for the provided id.getNumberOfOrganizationParties(PmOrganizationFilteringContextData pmOrganizationFilteringContext) Retrieves the total number of organization parties found for a given filtering context.getOrganizationParties(PmOrganizationFilteringContextData pmOrganizationFilteringContext, Integer offset, Integer limit) Retrieves a list ofTuaOrganizationModelfor a given filtering context.Methods inherited from interface de.hybris.platform.servicelayer.internal.dao.GenericDao
find, find, find, find, find
-
Method Details
-
findOrganization
Returns the organization for the provided id.- Parameters:
id- The unique identifier of the organization- Returns:
- List of
TuaOrganizationModelfor the provided id
-
getOrganizationParties
List<TuaOrganizationModel> getOrganizationParties(PmOrganizationFilteringContextData pmOrganizationFilteringContext, Integer offset, Integer limit) Retrieves a list ofTuaOrganizationModelfor a given filtering context.- Parameters:
pmOrganizationFilteringContext- the organization party context.offset- the offset.limit- the maximum number of returned parties.- Returns:
- the list of parties found for the given context.
-
getNumberOfOrganizationParties
Integer getNumberOfOrganizationParties(PmOrganizationFilteringContextData pmOrganizationFilteringContext) Retrieves the total number of organization parties found for a given filtering context.- Parameters:
pmOrganizationFilteringContext- the organization party context.- Returns:
- the number of organization parties found.
-