Interface GenericDao<M extends ItemModel>
- All Known Subinterfaces:
AlipayPaymentTransactionDao,B2BBudgetDao,B2BCostCenterDao,B2BPermissionDao,B2BUnitDao,CampaignDao,CatalogDao,CommerceOrderDao,CommerceQuoteDao,ConsentDao,ConsentTemplateDao,ConversationDao,CouponNotificationDao,PaymentModeDao,ProductInterestDao,RuleBasedPromotionActionDao,SnClassAttributeAssignmentModelDao,SnClassificationAttributeAssignmentModelDao,SnFieldDao,SnIndexConfigurationDao,SnIndexTypeDao,SnSynonymDictionaryDao,SolrFacetSearchConfigDao,SolrIndexDao,SolrIndexedPropertyDao,SolrIndexedTypeDao,SolrIndexOperationDao,SolrServerConfigDao,WarehouseDao,WeChatPayPaymentTransactionDao,ZoneDeliveryModeValueDao
- All Known Implementing Classes:
AbstractAsGenericDao,AbstractCxDao,CatalogMockDao,ChineseAddressDao,ChineseProfileServicesDao,CxCmsActionTypeDao,DefaultAcceleratorConsignmentDao,DefaultAddressDao,DefaultAlipayOrderDao,DefaultAlipayPaymentTransactionDao,DefaultAlipayPaymentTransactionEntryDao,DefaultAsCategoryDao,DefaultAsConfigurationDao,DefaultAsSearchConfigurationDao,DefaultAsSearchProfileActivationSetDao,DefaultAsSearchProfileDao,DefaultB2BAcceleratorCartToOrderCronJobModelDao,DefaultB2BBookingLineEntryDao,DefaultB2BBudgetDao,DefaultB2BCommentDao,DefaultB2BCostCenterDao,DefaultB2BDocumentDao,DefaultB2BDocumentPaymentInfoDao,DefaultB2BDocumentTypeDao,DefaultB2BFutureStockDao,DefaultB2BOrderDao,DefaultB2BPermissionDao,DefaultB2BUnitDao,DefaultB2BWorkflowActionDao,DefaultB2BWorkflowDao,DefaultBackInStockProductInterestDao,DefaultCampaignDao,DefaultCartToOrderCronJobModelDao,DefaultCatalogDao,DefaultChineseUserDao,DefaultCityDao,DefaultClassificationSystemDao,DefaultClassificationSystemVersionDao,DefaultClientDetailsDao,DefaultCockpitConfigurationDao,DefaultCockpitObjectAbstractCollectionDao,DefaultCodeGenerationConfigurationDao,DefaultCommerceOrderDao,DefaultCommerceQuoteDao,DefaultConsentDao,DefaultConsentTemplateDao,DefaultConsignmentDao,DefaultConversationDao,DefaultCountryDao,DefaultCouponNotificationDao,DefaultCouponRedemptionDao,DefaultCronJobDao,DefaultCronJobHistoryDao,DefaultCurrencyDao,DefaultCustomerCouponDao,DefaultCustomerDao,DefaultCustomerVendorReviewDao,DefaultCxActionDao,DefaultCxActionResultDao,DefaultCxCustomizationDao,DefaultCxCustomizationGroupDao,DefaultCxPersonalizationBusinessProcessDao,DefaultCxSegmentDao,DefaultCxSegmentTriggerDao,DefaultCxTriggerDao,DefaultCxUserToSegmentDao,DefaultCxVariationDao,DefaultDistrictDao,DefaultEmailAddressDao,DefaultExternalScopesDao,DefaultFlashBuyDao,DefaultFutureStockDao,DefaultGenericDao,DefaultJobDao,DefaultJobLogDao,DefaultJobLogDaoTest.TestDefaultJobLogDao,DefaultLanguageDao,DefaultMerchIndexingConfigDao,DefaultMerchProductDirectoryConfigDao,DefaultMerchSnConfigDao,DefaultMerchSynchronizationConfigDao,DefaultMerchSynchronizationDao,DefaultNotifyCustomerDao,DefaultOrderFormDao,DefaultPaymentModeDao,DefaultProductDao,DefaultProductInterestDao,DefaultProductReferencesDao,DefaultPunchOutCredentialDao,DefaultRegionDao,DefaultRendererTemplateDao,DefaultRuleBasedPromotionActionDao,DefaultSavedQueryDao,DefaultSearchRestrictionDao,DefaultSelectiveCartDao,DefaultSiteMessageDao,DefaultSnClassAttributeAssignmentModelDao,DefaultSnClassificationAttributeAssignmentModelDao,DefaultSnFieldDao,DefaultSnIndexConfigurationDao,DefaultSnIndexTypeDao,DefaultSnSynonymDictionaryDao,DefaultSolrFacetSearchConfigDao,DefaultSolrIndexDao,DefaultSolrIndexedPropertyDao,DefaultSolrIndexedTypeDao,DefaultSolrIndexOperationDao,DefaultSolrServerConfigDao,DefaultTitleDao,DefaultUnitDao,DefaultUserDao,DefaultUserGroupDao,DefaultVariantTypeDao,DefaultVendorDao,DefaultWarehouseDao,DefaultWeChatPayOrderDao,DefaultWeChatPayPaymentTransactionDao,DefaultWeChatPayPaymentTransactionEntryDao,DefaultWorkflowActionDao,DefaultWorkflowDao,DefaultWorkflowTemplateDao,DefaultZoneDeliveryModeValueDao,SavedQueryUserRightsDaoImpl
public interface GenericDao<M extends ItemModel>
Generic DAO interface.
-
Method Summary
Modifier and TypeMethodDescriptionfind()Searches for all instances of model given as a generic type.find(SortParameters sortParameters) Searches for all instances of model given as a generic type using givenSortParametersto sort results.Searches for all instances of model given as a generic type matching given parameters.find(Map<String, ? extends Object> params, SortParameters sortParameters) Searches for all instances of model given as a generic type matching given parameters using givenSortParametersto sort results.find(Map<String, ? extends Object> params, SortParameters sortParameters, int count) Searches for maximum ofcountinstances of model given as a generic type matching given parameters using givenSortParametersto sort results.
-
Method Details
-
find
Searches for all instances of model given as a generic type.- Returns:
- List of all instances of model given as a generic type.
-
find
Searches for all instances of model given as a generic type matching given parameters.- Parameters:
params- parameters to add to search query asMapwith parameter name as a key and parameter value as a value.
-
find
Searches for all instances of model given as a generic type using givenSortParametersto sort results.- Parameters:
sortParameters-SortParametersobject used to sort results.- Returns:
- List of all instances of model given as a generic type sorted using
SortParameters.
-
find
Searches for all instances of model given as a generic type matching given parameters using givenSortParametersto sort results.- Parameters:
params- parameters to add to search query asMapwith parameter name as a key and parameter value as a value.sortParameters-SortParametersobject used to sort results.
-
find
Searches for maximum ofcountinstances of model given as a generic type matching given parameters using givenSortParametersto sort results.- Parameters:
params- parameters to add to search query asMapwith parameter name as a key and parameter value as a value.sortParameters-SortParametersobject used to sort results.
-