public class LocalThemeConfigAdapter extends AbstractLocalConfiguration<LocalThemeConfig> implements LocalThemeConfig
LocalThemeConfig.OLD_THEME_CONFIGURATION_PROPERTY| Constructor and Description |
|---|
LocalThemeConfigAdapter(DocumentModel doc) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canMerge()
Returns
true if this LocalConfiguration accepted to be
merged with a parent configuration, false otherwise. |
String |
computePagePath()
Returns the page path used in the
LocalTheme negociation scheme |
DocumentRef |
getDocumentRef()
Returns the related
DocumentRef of this local configuration. |
String |
getEngine()
Returns the configured engine.
|
String |
getFlavor()
Returns the flavor (collection) to use for current page
|
String |
getMode()
Returns the configured mode.
|
String |
getPage()
Returns the configured page for the selected theme.
|
String |
getPerspective()
Returns the configured perspective used in the
LocalPerspective
negociation scheme. |
String |
getTheme()
Returns the configured theme.
|
LocalThemeConfig |
merge(LocalThemeConfig other)
Merge this
LocalConfiguration with another one. |
saveequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitsavepublic LocalThemeConfigAdapter(DocumentModel doc)
public DocumentRef getDocumentRef()
LocalConfigurationDocumentRef of this local configuration.getDocumentRef in interface LocalConfiguration<LocalThemeConfig>public boolean canMerge()
LocalConfigurationtrue if this LocalConfiguration accepted to be
merged with a parent configuration, false otherwise.canMerge in interface LocalConfiguration<LocalThemeConfig>canMerge in class AbstractLocalConfiguration<LocalThemeConfig>public LocalThemeConfig merge(LocalThemeConfig other)
LocalConfigurationLocalConfiguration with another one.merge in interface LocalConfiguration<LocalThemeConfig>merge in class AbstractLocalConfiguration<LocalThemeConfig>public String getTheme()
LocalThemeConfiggetTheme in interface LocalThemeConfigpublic String getPage()
LocalThemeConfiggetPage in interface LocalThemeConfigpublic String getPerspective()
LocalThemeConfigLocalPerspective
negociation scheme.getPerspective in interface LocalThemeConfigpublic String getEngine()
LocalThemeConfiggetEngine in interface LocalThemeConfigpublic String getMode()
LocalThemeConfiggetMode in interface LocalThemeConfigpublic String getFlavor()
LocalThemeConfiggetFlavor in interface LocalThemeConfigpublic String computePagePath()
LocalThemeConfigLocalTheme negociation schemecomputePagePath in interface LocalThemeConfigCopyright © 2012 Nuxeo SA. All Rights Reserved.