Class DefaultBaseStoreService
java.lang.Object
de.hybris.platform.store.services.impl.DefaultBaseStoreService
- All Implemented Interfaces:
BaseStoreService
Default implementation of
BaseStoreService service.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the all base stores.getBaseStoreForUid(String uid) Gets the base store for uid.Gets currentBaseStorebasing on theBaseSiteModel.getStores()relation.voidsetBaseStoreDao(BaseStoreDao baseStoreDao) voidsetBaseStoreSelectorStrategies(List<BaseStoreSelectorStrategy> baseStoreSelectorStrategies)
-
Constructor Details
-
DefaultBaseStoreService
public DefaultBaseStoreService()
-
-
Method Details
-
getAllBaseStores
Gets the all base stores.- Specified by:
getAllBaseStoresin interfaceBaseStoreService- Returns:
- List of found
BaseStoreModelobjects.
-
getBaseStoreForUid
public BaseStoreModel getBaseStoreForUid(String uid) throws AmbiguousIdentifierException, UnknownIdentifierException Gets the base store for uid.- Specified by:
getBaseStoreForUidin interfaceBaseStoreService- Parameters:
uid- the uid of base store- Returns:
- found
BaseStoreModelobject - Throws:
AmbiguousIdentifierException- thrown when more than one object has been foundUnknownIdentifierException- thrown when object has not been found
-
getCurrentBaseStore
Description copied from interface:BaseStoreServiceGets currentBaseStorebasing on theBaseSiteModel.getStores()relation.- Specified by:
getCurrentBaseStorein interfaceBaseStoreService- Returns:
- found
BaseStoreModelobject
-
setBaseStoreDao
-
setBaseStoreSelectorStrategies
public void setBaseStoreSelectorStrategies(List<BaseStoreSelectorStrategy> baseStoreSelectorStrategies)
-