|
Nuxeo Enterprise Platform 5.4 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.nuxeo.theme.localconfiguration.LocalThemeConfigAdapter
public class LocalThemeConfigAdapter
Default implementation of LocalThemeConfig
.
Constructor Summary | |
---|---|
LocalThemeConfigAdapter(DocumentModel doc)
|
Method Summary | |
---|---|
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 |
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. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public LocalThemeConfigAdapter(DocumentModel doc)
Method Detail |
---|
public DocumentRef getDocumentRef()
LocalConfiguration
DocumentRef
of this local configuration.
getDocumentRef
in interface LocalConfiguration<LocalThemeConfig>
public boolean canMerge()
LocalConfiguration
true
if this LocalConfiguration
accepted to be
merged with a parent configuration, false
otherwise.
canMerge
in interface LocalConfiguration<LocalThemeConfig>
public LocalThemeConfig merge(LocalThemeConfig other)
LocalConfiguration
LocalConfiguration
with another one.
merge
in interface LocalConfiguration<LocalThemeConfig>
public String getTheme()
LocalThemeConfig
getTheme
in interface LocalThemeConfig
public String getPage()
LocalThemeConfig
getPage
in interface LocalThemeConfig
public String getPerspective()
LocalThemeConfig
LocalPerspective
negociation scheme.
getPerspective
in interface LocalThemeConfig
public String getEngine()
LocalThemeConfig
getEngine
in interface LocalThemeConfig
public String getMode()
LocalThemeConfig
getMode
in interface LocalThemeConfig
public String computePagePath()
LocalThemeConfig
LocalTheme
negociation scheme
computePagePath
in interface LocalThemeConfig
|
Nuxeo Enterprise Platform 5.4 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |