public class Site extends AbstractSiteDocumentObject
| Modifier and Type | Field and Description |
|---|---|
protected String |
url |
FLASH_WELCOME_MEDIA, IMAGE_WELCOME_MEDIA, NO_WELCOME_MEDIAdoc| Constructor and Description |
|---|
Site() |
| Modifier and Type | Method and Description |
|---|---|
protected String |
getDefaultSchemaFieldThemePageValue()
Returns the default value of the theme page for the current web object.
|
protected String |
getDefaultSchemaFieldThemeValue()
Returns the default value of the theme for the current web object.
|
protected String |
getDocumentDeletedErrorTemplateName()
Returns the name of the template that will be used in case the
DocumentModel is in "deleted" state
|
protected Map<String,Object> |
getErrorArguments()
Returns the map with the arguments that will be used to generate the
error template page.
|
protected String |
getErrorTemplateName()
Returns the name of the template that will be used in case the
DocumentModel for the current web object is null.
|
protected String |
getSchemaFieldThemeName()
Returns the schema name plus field name which together keep the theme for
the current web object.
|
protected String |
getSchemaFieldThemePageName()
Returns the schema name plus field name which together keep the theme
page for the current web object.
|
protected String |
getSearchThemePage()
Returns the search theme page.
|
protected DocumentModel |
getSiteDocumentModelByUrl(String url) |
void |
initialize(Object... args) |
Resource |
traverse(String page)
Must use the same method name as super.traverse() otherwise we introduce
ambiguous sub-resources locators which will fail in jersey.
|
_getSearchParameters, createWebPage, doDelete, doGet, getArguments, getHomePagePath, getLogo, getParentWebSite, getSearchParameters, getWebPageDocumentType, getWebSiteDocumentType, getWelcomeMedia, getWelcomeMediaHeight, getWelcomeMediaIsImage, getWelcomeMediaWidth, handleAnonymousRedirectToLogout, initAuthenticationService, remove, setDoGetParameters, setForceRedirectToLogout, setSearchParametersdoHead, doPost, doPut, getAdapter, getCoreSession, getDelete, getDocument, getPut, getTitle, newDocument, newDocument, newDocument, searchdisptachAdapter, isAdaptercheckGuard, dispose, getActiveAdapter, getContext, getFacets, getLinks, getModule, getName, getNext, getNextSegment, getPath, getPrevious, getTemplate, getTrailingPath, getType, getURL, getView, hasFacet, initialize, isInstanceOf, isRoot, newAdapter, newObject, redirect, setNext, setPrevious, setRoot, toStringprotected String url
public void initialize(Object... args)
initialize in class DocumentObjectpublic Resource traverse(String page)
traverse in class AbstractSiteDocumentObjectprotected DocumentModel getSiteDocumentModelByUrl(String url)
protected String getSchemaFieldThemeName()
AbstractSiteDocumentObjectgetSchemaFieldThemeName in class AbstractSiteDocumentObjectprotected String getDefaultSchemaFieldThemeValue()
AbstractSiteDocumentObjectgetDefaultSchemaFieldThemeValue in class AbstractSiteDocumentObjectprotected String getSchemaFieldThemePageName()
AbstractSiteDocumentObjectgetSchemaFieldThemePageName in class AbstractSiteDocumentObjectprotected String getDefaultSchemaFieldThemePageValue()
AbstractSiteDocumentObjectgetDefaultSchemaFieldThemePageValue in class AbstractSiteDocumentObjectprotected Map<String,Object> getErrorArguments()
AbstractSiteDocumentObjectgetErrorArguments in class AbstractSiteDocumentObjectprotected String getErrorTemplateName()
AbstractSiteDocumentObjectgetErrorTemplateName in class AbstractSiteDocumentObjectprotected String getDocumentDeletedErrorTemplateName()
AbstractSiteDocumentObjectgetDocumentDeletedErrorTemplateName in class AbstractSiteDocumentObjectprotected String getSearchThemePage()
AbstractSiteDocumentObjectgetSearchThemePage in class AbstractSiteDocumentObjectCopyright © 2019 Nuxeo SA. All rights reserved.