Interface BaseStoreService
-
- All Known Implementing Classes:
DefaultBaseStoreService,DummyBaseStoreService
public interface BaseStoreServiceThe 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.BaseStoreModelgetBaseStoreForUid(java.lang.String uid)Gets the base store for uid.BaseStoreModelgetCurrentBaseStore()Gets currentBaseStorebasing on theBaseSiteModel.getStores()relation.
-
-
-
Method Detail
-
getAllBaseStores
java.util.List<BaseStoreModel> getAllBaseStores()
Gets the all base stores.- Returns:
- List of found
BaseStoreModelobjects.
-
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
BaseStoreModelobject - Throws:
AmbiguousIdentifierException- thrown when more than one object has been foundUnknownIdentifierException- thrown when object has not been found
-
getCurrentBaseStore
BaseStoreModel getCurrentBaseStore()
Gets currentBaseStorebasing on theBaseSiteModel.getStores()relation.- Returns:
- found
BaseStoreModelobject
-
-