public interface InStoreSiteSelectorStrategy
BaseSiteModel for the IN-STORE context. Used by DefaultInStoreService to
determine the default site| Modifier and Type | Method and Description |
|---|---|
BaseSiteModel |
getDefaultSite(Collection<BaseSiteModel> allSites)
Selects one of the passed sites and returns it.
|
BaseSiteModel getDefaultSite(Collection<BaseSiteModel> allSites) throws IllegalArgumentException
allSites - A collection of sites from which the default one should be selected. Must not be empty.IllegalArgumentException - if argument allSites is null or empty.Copyright © 2017 SAP SE. All Rights Reserved.