|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectno.sesat.search.site.config.SiteConfiguration
public final class SiteConfiguration
SiteConfiguration properties.
| Nested Class Summary | |
|---|---|
static interface |
SiteConfiguration.Context
|
| Field Summary | |
|---|---|
static String |
ALLOW_LIST
The property key for the allow list of ipaddresses. |
static String |
DEFAULTTAB_KEY
The Property key for the default tab/vertical for the site. |
static String |
DISALLOW_LIST
The property key for the disallow list of ipaddresses. |
static String |
IS_SITESEARCH_KEY
Property key to find out if this Site is a sitesearch* |
static String |
NAME_KEY
The key name used to identify an instance of SiteConfiguration. |
static String |
PUBLISH_PHYSICAL_HOST
The property key for the host serving the publishing content, use as host-header in importing requests. |
static String |
PUBLISH_SYSTEM_URL
The property key where publishing content ("/pub/") is imported from. |
static String |
SITE_LOCALE_DEFAULT
The property key to the site's default locale to use. |
| Method Summary | |
|---|---|
Properties |
getProperties()
Get all the properties. |
String |
getProperty(String key)
Get a property |
static SiteConfiguration |
instanceOf(Site site)
Utility wrapper to the instanceOf(Context). |
static SiteConfiguration |
instanceOf(SiteConfiguration.Context cxt)
Find the correct instance handling this Site. |
boolean |
isSiteLocaleSupported(Locale locale)
Does the site belonging to this SiteConfiguration support the provided locale. |
boolean |
remove(Site site)
Remove the factory the maps to the given site. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String NAME_KEY
public static final String SITE_LOCALE_DEFAULT
public static final String PUBLISH_SYSTEM_URL
public static final String PUBLISH_PHYSICAL_HOST
public static final String IS_SITESEARCH_KEY
public static final String DEFAULTTAB_KEY
public static final String ALLOW_LIST
public static final String DISALLOW_LIST
| Method Detail |
|---|
public Properties getProperties()
public String getProperty(String key)
key - the property key
public static SiteConfiguration instanceOf(SiteConfiguration.Context cxt)
cxt - the context which defines which SiteConfiguration is applicable
public static SiteConfiguration instanceOf(Site site)
site - the site that the SiteConfiguration is applicable to
public boolean remove(Site site)
SiteKeyedFactory
remove in interface SiteKeyedFactorysite - remove factory corresponding to this site.
public boolean isSiteLocaleSupported(Locale locale)
locale - the locale to check
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||