Interface CMTheme
- All Superinterfaces:
com.coremedia.objectserver.dataviews.AssumesIdentity
,CMLocalized
,CMObject
,com.coremedia.objectserver.beans.ContentBean
CMTheme beans provide access to combined CMCSS
,
CMJavaScript
documents usable to be attached to a channel.
Represents document type CMTheme
.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String
Name of the document property 'css'.static final String
Name of the document property 'description'.static final String
Name of the document property 'detailText'.static final String
Name of the document property 'icon'.static final String
Name of the document property 'javaScriptLibs'.static final String
Name of the document property 'javaScripts'.static final String
Name of the ContentType
'CMCSS'.static final String
Name of the document property 'resourceBundles'.static final String
Name of the document property 'templateSets'.static final String
Name of the document property 'viewRepositoryName'.Fields inherited from interface com.coremedia.blueprint.common.contentbeans.CMLocalized
LOCALE, MASTER, MASTER_VERSION
Fields inherited from interface com.coremedia.objectserver.beans.ContentBean
METADATA_PROPERTIES_PREFIX
-
Method Summary
Modifier and TypeMethodDescriptionDeprecated.since 1907.1; Implement optional features as extensions.Deprecated.since 1907.1; Implement optional features as extensions.getCss()
Returns the value of the document propertyCSS
.Returns the value of the document propertyDESCRIPTION
.com.coremedia.xml.Markup
Returns the value of the document propertyDETAIL_TEXT
.com.coremedia.cap.common.Blob
getIcon()
Returns the value of theCMSymbol
document propertyCMSymbol.ICON
.Returns the value of the document propertyJAVA_SCRIPT_LIBS
.Returns the value of the document propertyJAVA_SCRIPTS
.Returns the value of the document propertyRESOURCE_BUNDLES
.Methods inherited from interface com.coremedia.objectserver.dataviews.AssumesIdentity
assumeIdentity
Methods inherited from interface com.coremedia.blueprint.common.contentbeans.CMLocalized
getCountry, getLang, getLocale, getLocalizations, getMaster, getMasterVersion, getVariantsByLocale
Methods inherited from interface com.coremedia.blueprint.common.contentbeans.CMObject
getAspectsProvider, getContentId, getUuid
Methods inherited from interface com.coremedia.objectserver.beans.ContentBean
getContent, getContentBeanFactory
-
Field Details
-
NAME
Name of the ContentType
'CMCSS'.- See Also:
-
DESCRIPTION
Name of the document property 'description'.- See Also:
-
ICON
Name of the document property 'icon'.- See Also:
-
JAVA_SCRIPT_LIBS
Name of the document property 'javaScriptLibs'.- See Also:
-
JAVA_SCRIPTS
Name of the document property 'javaScripts'.- See Also:
-
CSS
Name of the document property 'css'.- See Also:
-
VIEW_REPOSITORY_NAME
Name of the document property 'viewRepositoryName'.- See Also:
-
DETAIL_TEXT
Name of the document property 'detailText'.- See Also:
-
RESOURCE_BUNDLES
Name of the document property 'resourceBundles'.- See Also:
-
TEMPLATE_SETS
Name of the document property 'templateSets'.- See Also:
-
-
Method Details
-
getAspectByName
@Deprecated Map<String,? extends com.coremedia.cae.aspect.Aspect<? extends CMTheme>> getAspectByName()Deprecated.since 1907.1; Implement optional features as extensions.Description copied from interface:CMObject
Returns a Map from aspectIDs to Aspects. AspectIDs consists of an aspectname with a prefix which identifies the plugin provider.
- Usage:
Access an aspect named osmPlugin.
- Freemarker:
-
<#assign osmSocialPlugin=self.aspectByName['osmPlugin'] />
- JSP:
-
<c:set var="osmSocialPlugin" value="${self.aspectByName['osmPlugin']}"/>
- Specified by:
getAspectByName
in interfaceCMLocalized
- Specified by:
getAspectByName
in interfaceCMObject
- Returns:
- a Map from aspectIDs to Aspects
-
getAspects
Deprecated.since 1907.1; Implement optional features as extensions.Description copied from interface:CMObject
Returns a list of all
Aspect
from all available PlugIns that are registered to this contentbean.- Usage:
Add all aspects with view
asHead
.- Freemarker:
-
<#list self.aspects as aspect> <@cm.include self=aspect view="asHeader"/> </#list>
- JSP:
-
<c:forEach items="${self.aspects}" var="aspect"> <cm:include self="${aspect}" view="asHeader"/> </c:forEach>
- Specified by:
getAspects
in interfaceCMLocalized
- Specified by:
getAspects
in interfaceCMObject
- Returns:
- a list of Aspects
-
getDescription
String getDescription()Returns the value of the document propertyDESCRIPTION
.- Returns:
- the value of the document property
DESCRIPTION
-
getIcon
com.coremedia.cap.common.Blob getIcon()Returns the value of theCMSymbol
document propertyCMSymbol.ICON
.- Returns:
- the value of the
CMSymbol
document propertyCMSymbol.ICON
or null
-
getDetailText
com.coremedia.xml.Markup getDetailText()Returns the value of the document propertyDETAIL_TEXT
.- Returns:
- the value of the document property
DETAIL_TEXT
-
getJavaScriptLibraries
Returns the value of the document propertyJAVA_SCRIPT_LIBS
.- Returns:
- a list of
CMJavaScript
objects
-
getJavaScripts
Returns the value of the document propertyJAVA_SCRIPTS
.- Returns:
- a list of
CMJavaScript
objects
-
getCss
Returns the value of the document propertyCSS
.- Returns:
- a list of
CMCSS
objects
-
getResourceBundles
Returns the value of the document propertyRESOURCE_BUNDLES
.- Returns:
- a list of
CMResourceBundle
objects
-
getViewRepositoryName
String getViewRepositoryName()
-