|
Nuxeo ECM Projects 5.4.3-SNAPSHOT | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.nuxeo.ecm.core.api.localconfiguration.AbstractLocalConfiguration<LocalThemeConfig> 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 |
String |
getCollection()
Returns the collection (flavor) to use for current page |
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 org.nuxeo.ecm.core.api.localconfiguration.AbstractLocalConfiguration |
---|
save |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.nuxeo.ecm.core.api.localconfiguration.LocalConfiguration |
---|
save |
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>
canMerge
in class AbstractLocalConfiguration<LocalThemeConfig>
public LocalThemeConfig merge(LocalThemeConfig other)
LocalConfiguration
LocalConfiguration
with another one.
merge
in interface LocalConfiguration<LocalThemeConfig>
merge
in class AbstractLocalConfiguration<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 getCollection()
LocalThemeConfig
getCollection
in interface LocalThemeConfig
public String computePagePath()
LocalThemeConfig
LocalTheme
negociation scheme
computePagePath
in interface LocalThemeConfig
|
Nuxeo ECM Projects 5.4.3-SNAPSHOT | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |