Class DefaultBaseStoreService
- java.lang.Object
-
- de.hybris.platform.store.services.impl.DefaultBaseStoreService
-
- All Implemented Interfaces:
BaseStoreService
public class DefaultBaseStoreService extends java.lang.Object implements BaseStoreService
Default implementation ofBaseStoreServiceservice.
-
-
Constructor Summary
Constructors Constructor Description DefaultBaseStoreService()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<BaseStoreModel>getAllBaseStores()Gets the all base stores.BaseStoreModelgetBaseStoreForUid(java.lang.String uid)Gets the base store for uid.BaseStoreModelgetCurrentBaseStore()Gets currentBaseStorebasing on theBaseSiteModel.getStores()relation.voidsetBaseStoreDao(BaseStoreDao baseStoreDao)voidsetBaseStoreSelectorStrategies(java.util.List<BaseStoreSelectorStrategy> baseStoreSelectorStrategies)
-
-
-
Method Detail
-
getAllBaseStores
public java.util.List<BaseStoreModel> getAllBaseStores()
Gets the all base stores.- Specified by:
getAllBaseStoresin interfaceBaseStoreService- Returns:
- List of found
BaseStoreModelobjects.
-
getBaseStoreForUid
public BaseStoreModel getBaseStoreForUid(java.lang.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
public BaseStoreModel getCurrentBaseStore()
Description copied from interface:BaseStoreServiceGets currentBaseStorebasing on theBaseSiteModel.getStores()relation.- Specified by:
getCurrentBaseStorein interfaceBaseStoreService- Returns:
- found
BaseStoreModelobject
-
setBaseStoreDao
public void setBaseStoreDao(BaseStoreDao baseStoreDao)
-
setBaseStoreSelectorStrategies
public void setBaseStoreSelectorStrategies(java.util.List<BaseStoreSelectorStrategy> baseStoreSelectorStrategies)
-
-