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(java.util.Collection<BaseSiteModel> allSites)
Selects one of the passed sites and returns it.
|
BaseSiteModel getDefaultSite(java.util.Collection<BaseSiteModel> allSites) throws java.lang.IllegalArgumentException
allSites - A collection of sites from which the default one should be selected. Must not be empty.java.lang.IllegalArgumentException - if argument allSites is null or empty.Copyright © 2018 SAP SE. All Rights Reserved.