Interface GenericDao<M extends ItemModel>
-
- All Known Subinterfaces:
AlipayPaymentTransactionDao,B2BBudgetDao,B2BCostCenterDao,B2BPermissionDao,B2BUnitDao,CampaignDao,CatalogDao,CommerceOrderDao,CommerceQuoteDao,ConsentDao,ConsentTemplateDao,ConversationDao,CouponNotificationDao,ImportCockpitMappingDao,PaymentModeDao,ProductInterestDao,RuleBasedPromotionActionDao,SolrFacetSearchConfigDao,SolrIndexDao,SolrIndexedPropertyDao,SolrIndexedTypeDao,SolrIndexOperationDao,SolrServerConfigDao,WarehouseDao,WeChatPayPaymentTransactionDao,ZoneDeliveryModeValueDao
- All Known Implementing Classes:
AbstractAsGenericDao,AbstractCxDao,B2BInvoiceDaoImpl,CatalogMockDao,ChineseAddressDao,ChineseProfileServicesDao,CxCmsActionTypeDao,DefaultAcceleratorConsignmentDao,DefaultAddressDao,DefaultAlipayOrderDao,DefaultAlipayPaymentTransactionDao,DefaultAlipayPaymentTransactionEntryDao,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,DefaultGenericDao,DefaultImportCockpitCronJobDao,DefaultImportCockpitMappingDao,DefaultJobDao,DefaultJobLogDao,DefaultJobLogDaoTest.TestDefaultJobLogDao,DefaultLanguageDao,DefaultMerchIndexingConfigDao,DefaultMerchSynchronizationConfigDao,DefaultNotifyCustomerDao,DefaultOrderFormDao,DefaultPaymentModeDao,DefaultProductDao,DefaultProductInterestDao,DefaultProductReferencesDao,DefaultPunchOutCredentialDao,DefaultRegionDao,DefaultRendererTemplateDao,DefaultRuleBasedPromotionActionDao,DefaultSapSubscriptionProductDao,DefaultSavedQueryDao,DefaultSearchRestrictionDao,DefaultSelectiveCartDao,DefaultSiteMessageDao,DefaultSolrFacetSearchConfigDao,DefaultSolrIndexDao,DefaultSolrIndexedPropertyDao,DefaultSolrIndexedTypeDao,DefaultSolrIndexOperationDao,DefaultSolrServerConfigDao,DefaultTitleDao,DefaultUnitDao,DefaultUserDao,DefaultUserGroupDao,DefaultVariantTypeDao,DefaultVendorDao,DefaultWarehouseDao,DefaultWeChatPayOrderDao,DefaultWeChatPayPaymentTransactionDao,DefaultWeChatPayPaymentTransactionEntryDao,DefaultWorkflowActionDao,DefaultWorkflowDao,DefaultWorkflowTemplateDao,DefaultZoneDeliveryModeValueDao,SAPDefaultUnitDao,SavedQueryUserRightsDaoImpl
public interface GenericDao<M extends ItemModel>Generic DAO interface.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.List<M>find()Searches for all instances of model given as a generic type.java.util.List<M>find(SortParameters sortParameters)Searches for all instances of model given as a generic type using givenSortParametersto sort results.java.util.List<M>find(java.util.Map<java.lang.String,? extends java.lang.Object> params)Searches for all instances of model given as a generic type matching given parameters.java.util.List<M>find(java.util.Map<java.lang.String,? extends java.lang.Object> params, SortParameters sortParameters)Searches for all instances of model given as a generic type matching given parameters using givenSortParametersto sort results.java.util.List<M>find(java.util.Map<java.lang.String,? extends java.lang.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 Detail
-
find
java.util.List<M> 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
java.util.List<M> find(java.util.Map<java.lang.String,? extends java.lang.Object> params)
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
java.util.List<M> find(SortParameters sortParameters)
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
java.util.List<M> find(java.util.Map<java.lang.String,? extends java.lang.Object> params, SortParameters sortParameters)
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
java.util.List<M> find(java.util.Map<java.lang.String,? extends java.lang.Object> params, SortParameters sortParameters, int count)
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.
-
-