Class AbstractItemDao
- java.lang.Object
-
- de.hybris.platform.servicelayer.internal.dao.AbstractItemDao
-
- All Implemented Interfaces:
Dao
- Direct Known Subclasses:
AbstractBundleRuleDao,AbstractCMSItemDao,AbstractOrderEntryDao,BaseSiteDaoImpl,ChineseTaxInvoiceDao,DefaultAgentDao,DefaultAsnDao,DefaultAtpFormulaDao,DefaultAvailableToPromiseDao,DefaultBaseStoreDao,DefaultBillingTimeDao,DefaultBundleTemplateDao,DefaultCartEntryDao,DefaultCatalogVersionToRuleEngineContextMappingDao,DefaultCategoryDao,DefaultCisFraudReportDao,DefaultClassificationDao,DefaultCMSContenSlotDao,DefaultCMSContentCatalogDao,DefaultCMSItemDao,DefaultCMSMediaFormatDao,DefaultCMSNavigationDao,DefaultCMSPageDao,DefaultCMSPageTemplateDao,DefaultCMSPreviewTicketDao,DefaultCMSRestrictionDao,DefaultCMSSiteDao,DefaultCMSVersionDao,DefaultCMSWorkflowTemplateDao,DefaultCommerceCartDao,DefaultCommercePromotionDao,DefaultCommercePromotionRestrictionDao,DefaultCommerceWarehouseDao,DefaultConstraintDao,DefaultCountryZoneDeliveryModeDao,DefaultCouponDao,DefaultCredentialDao,DefaultCreditCardPaymentSubscriptionDao,DefaultCustomerAccountDao,DefaultCustomerReviewDao,DefaultDeliveryModeDao,DefaultDestinationDao,DefaultDestinationTargetDao,DefaultDiscountDao,DefaultDocumentPageDao,DefaultDroolsKIEBaseDao,DefaultDroolsKIEModuleMediaDao,DefaultEmailPageDao,DefaultEngineRuleDao,DefaultEntitlementDao,DefaultEventConfigurationDao,DefaultGenericConfigurationDao,DefaultI18NDao,DefaultInventoryEventDao,DefaultItemDao,DefaultMarketplaceProductDao,DefaultOAuthTokenDao,DefaultOrderCancelDao,DefaultOrderDao,DefaultOrderReturnDao,DefaultPaymentSubscriptionResultDao,DefaultPickupDeliveryModeDao,DefaultPointOfServiceDao,DefaultProductDao,DefaultProductTaxCodeDao,DefaultPromotionDao,DefaultPromotionsDao,DefaultPromotionSourceRuleDao,DefaultRefundDao,DefaultReplacementOrderDao,DefaultReturnRequestDao,DefaultRuleActionDefinitionDao,DefaultRuleBasedCouponActionDao,DefaultRuleConditionDefinitionDao,DefaultRuleDao,DefaultRuleEngineContextDao,DefaultRuleGroupDao,DefaultRulesModuleDao,DefaultSAPHTTPDestinationDao,DefaultSAPRFCDestinationDao,DefaultSimpleSuggestionDao,DefaultStockLevelDao,DefaultStorePickupDao,DefaultTaxDao,DefaultTicketDao,DefaultUnitDao,DefaultWarehouseStockLevelDao,DefaultWarehousingConsignmentEntryQuantityDao,DefaultWarehousingOrderEntryQuantityDao,DefaultWishlist2Dao,DefaultWorkflowDAO,DefaultYFormDao,DefaultZoneDeliveryModeDao
public class AbstractItemDao extends java.lang.Object implements Dao
Abstract base class for all DAOs that store models in items. HasModelServiceandFlexibleSearchServiceset as protected instance variables.- Since:
- 4.0
-
-
Field Summary
Fields Modifier and Type Field Description protected FlexibleSearchServiceflexibleSearchServiceDeprecated.since agesprotected ModelServicemodelServiceDeprecated.since ages
-
Constructor Summary
Constructors Constructor Description AbstractItemDao()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected <T extends java.util.Collection>
TgetAllSources(java.util.Collection<? extends java.lang.Object> models, T result)protected FlexibleSearchServicegetFlexibleSearchService()protected ModelServicegetModelService()protected <T> TgetSource(java.lang.Object model)protected <T> Tload(java.lang.Object source)protected <T extends java.util.Collection>
TloadAll(java.util.Collection<? extends java.lang.Object> source, T result)protected <T> SearchResult<T>search(FlexibleSearchQuery searchQuery)protected <T> SearchResult<T>search(java.lang.String query, java.util.Map queryParams)protected <T> TsearchUnique(FlexibleSearchQuery searchQuery)voidsetFlexibleSearchService(FlexibleSearchService flexibleSearch)voidsetModelService(ModelService modelService)
-
-
-
Field Detail
-
flexibleSearchService
@Deprecated protected FlexibleSearchService flexibleSearchService
Deprecated.since ages
-
modelService
@Deprecated protected ModelService modelService
Deprecated.since ages
-
-
Method Detail
-
load
protected <T> T load(java.lang.Object source)
-
loadAll
protected <T extends java.util.Collection> T loadAll(java.util.Collection<? extends java.lang.Object> source, T result)
-
getSource
protected <T> T getSource(java.lang.Object model)
-
getAllSources
protected <T extends java.util.Collection> T getAllSources(java.util.Collection<? extends java.lang.Object> models, T result)
-
search
protected <T> SearchResult<T> search(java.lang.String query, java.util.Map queryParams)
-
search
protected <T> SearchResult<T> search(FlexibleSearchQuery searchQuery)
-
searchUnique
protected <T> T searchUnique(FlexibleSearchQuery searchQuery)
-
setFlexibleSearchService
public void setFlexibleSearchService(FlexibleSearchService flexibleSearch)
-
getFlexibleSearchService
protected FlexibleSearchService getFlexibleSearchService()
-
setModelService
public void setModelService(ModelService modelService)
-
getModelService
protected ModelService getModelService()
-
-