public class SiteManager extends Object
Constructor and Description |
---|
SiteManager() |
Modifier and Type | Method and Description |
---|---|
List<SiteDefinition> |
getAllSites()
Returns all site definitions for the applications.
|
SiteDefinition |
getDefaultSite()
Returns the application's default site.
|
String |
getDefaultSiteRootPath()
Configure the root node for site definitions.
|
SiteDefinition |
getSite(String id)
Returns the site definition using the site id.
|
com.endeca.store.StoreFactory |
getStoreFactory() |
void |
setDefaultSiteRootPath(String defaultSiteRootPath) |
void |
setStoreFactory(com.endeca.store.StoreFactory storeFactory) |
public com.endeca.store.StoreFactory getStoreFactory()
public void setStoreFactory(com.endeca.store.StoreFactory storeFactory)
public String getDefaultSiteRootPath()
AbstractContentSource.getDefaultSiteRootPath()
public void setDefaultSiteRootPath(String defaultSiteRootPath)
public SiteDefinition getDefaultSite()
public SiteDefinition getSite(String id)
id
- the path of the site definition under the site root path. Eg, "/discoverSony".public List<SiteDefinition> getAllSites()
Copyright © 2017, Oracle and/or its affiliates. All rights reserved.