Interface BaseStoreService
- All Known Implementing Classes:
DefaultBaseStoreService
public interface BaseStoreService
The Interface BaseStoreService for managing base stores.
- Spring Bean ID:
- baseStoreService
-
Method Summary
Modifier and TypeMethodDescriptionGets the all base stores.getBaseStoreForUid(String uid) Gets the base store for uid.Gets currentBaseStorebasing on theBaseSiteModel.getStores()relation.
-
Method Details
-
getAllBaseStores
List<BaseStoreModel> getAllBaseStores()Gets the all base stores.- Returns:
- List of found
BaseStoreModelobjects.
-
getBaseStoreForUid
BaseStoreModel getBaseStoreForUid(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
-