Interface BaseStoreService
-
- All Known Implementing Classes:
DefaultBaseStoreService
,DummyBaseStoreService
public interface BaseStoreService
The Interface BaseStoreService for managing base stores.- Spring Bean ID:
- baseStoreService
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.List<BaseStoreModel>
getAllBaseStores()
Gets the all base stores.BaseStoreModel
getBaseStoreForUid(java.lang.String uid)
Gets the base store for uid.BaseStoreModel
getCurrentBaseStore()
Gets currentBaseStore
basing on theBaseSiteModel.getStores()
relation.
-
-
-
Method Detail
-
getAllBaseStores
java.util.List<BaseStoreModel> getAllBaseStores()
Gets the all base stores.- Returns:
- List of found
BaseStoreModel
objects.
-
getBaseStoreForUid
BaseStoreModel getBaseStoreForUid(java.lang.String uid) throws AmbiguousIdentifierException, UnknownIdentifierException
Gets the base store for uid.- Parameters:
uid
- the uid of base store- Returns:
- found
BaseStoreModel
object - Throws:
AmbiguousIdentifierException
- thrown when more than one object has been foundUnknownIdentifierException
- thrown when object has not been found
-
getCurrentBaseStore
BaseStoreModel getCurrentBaseStore()
Gets currentBaseStore
basing on theBaseSiteModel.getStores()
relation.- Returns:
- found
BaseStoreModel
object
-
-