@ProviderType public interface Theme extends Comparable<Theme>, Plugin, Serializable
TYPE_EXT, TYPE_HOOK, TYPE_LAYOUT_TEMPLATE, TYPE_PORTLET, TYPE_THEME, TYPE_WEB
Modifier and Type | Method and Description |
---|---|
void |
addSetting(String key,
String value,
boolean configurable,
String type,
String[] options,
String script) |
List<ColorScheme> |
getColorSchemes() |
Map<String,ColorScheme> |
getColorSchemesMap() |
Map<String,ThemeSetting> |
getConfigurableSettings() |
String |
getContextPath() |
String |
getCssPath() |
String |
getDevice() |
String |
getFreeMarkerTemplateLoader() |
String |
getImagesPath() |
String |
getJavaScriptPath() |
boolean |
getLoadFromServletContext() |
String |
getName() |
List<PortletDecorator> |
getPortletDecorators() |
Map<String,PortletDecorator> |
getPortletDecoratorsMap() |
String |
getResourcePath(javax.servlet.ServletContext servletContext,
String portletId,
String path) |
String |
getRootPath() |
String |
getServletContextName() |
String |
getSetting(String key) |
String[] |
getSettingOptions(String key) |
Map<String,ThemeSetting> |
getSettings() |
Properties |
getSettingsProperties() |
SpriteImage |
getSpriteImage(String fileName) |
String |
getStaticResourcePath() |
String |
getTemplateExtension() |
String |
getTemplatesPath() |
ThemeCompanyLimit |
getThemeCompanyLimit() |
ThemeGroupLimit |
getThemeGroupLimit() |
String |
getThemeId() |
long |
getTimestamp() |
String |
getVelocityResourceListener() |
String |
getVirtualPath() |
boolean |
getWARFile() |
boolean |
hasColorSchemes() |
boolean |
isCompanyAvailable(long companyId) |
boolean |
isControlPanelTheme() |
boolean |
isGroupAvailable(long groupId) |
boolean |
isLoadFromServletContext() |
boolean |
isPageTheme() |
boolean |
isWARFile() |
boolean |
resourceExists(javax.servlet.ServletContext servletContext,
String portletId,
String path) |
void |
setControlPanelTheme(boolean controlPanelTheme) |
void |
setCssPath(String cssPath) |
void |
setImagesPath(String imagesPath) |
void |
setJavaScriptPath(String javaScriptPath) |
void |
setLoadFromServletContext(boolean loadFromServletContext) |
void |
setName(String name) |
void |
setPageTheme(boolean pageTheme) |
void |
setRootPath(String rootPath) |
void |
setServletContextName(String servletContextName) |
void |
setSetting(String key,
String value) |
void |
setSpriteImages(String spriteFileName,
Properties spriteProperties) |
void |
setTemplateExtension(String templateExtension) |
void |
setTemplatesPath(String templatesPath) |
void |
setThemeCompanyLimit(ThemeCompanyLimit themeCompanyLimit) |
void |
setThemeGroupLimit(ThemeGroupLimit themeGroupLimit) |
void |
setTimestamp(long timestamp) |
void |
setVirtualPath(String virtualPath) |
getDefaultPluginSetting, getDefaultPluginSetting, getPluginId, getPluginPackage, getPluginType, setDefaultPluginSetting, setPluginPackage
void addSetting(String key, String value, boolean configurable, String type, String[] options, String script)
List<ColorScheme> getColorSchemes()
Map<String,ColorScheme> getColorSchemesMap()
Map<String,ThemeSetting> getConfigurableSettings()
String getContextPath()
String getCssPath()
String getDevice()
String getFreeMarkerTemplateLoader()
String getImagesPath()
String getJavaScriptPath()
boolean getLoadFromServletContext()
String getName()
List<PortletDecorator> getPortletDecorators()
Map<String,PortletDecorator> getPortletDecoratorsMap()
String getResourcePath(javax.servlet.ServletContext servletContext, String portletId, String path)
String getRootPath()
String getServletContextName()
String getSetting(String key)
String[] getSettingOptions(String key)
Map<String,ThemeSetting> getSettings()
Properties getSettingsProperties()
SpriteImage getSpriteImage(String fileName)
String getStaticResourcePath()
String getTemplateExtension()
String getTemplatesPath()
ThemeCompanyLimit getThemeCompanyLimit()
ThemeGroupLimit getThemeGroupLimit()
String getThemeId()
long getTimestamp()
String getVelocityResourceListener()
String getVirtualPath()
boolean getWARFile()
boolean hasColorSchemes()
boolean isCompanyAvailable(long companyId)
boolean isControlPanelTheme()
boolean isGroupAvailable(long groupId)
boolean isLoadFromServletContext()
boolean isPageTheme()
boolean isWARFile()
boolean resourceExists(javax.servlet.ServletContext servletContext, String portletId, String path) throws Exception
Exception
void setControlPanelTheme(boolean controlPanelTheme)
void setCssPath(String cssPath)
void setImagesPath(String imagesPath)
void setJavaScriptPath(String javaScriptPath)
void setLoadFromServletContext(boolean loadFromServletContext)
void setName(String name)
void setPageTheme(boolean pageTheme)
void setRootPath(String rootPath)
void setServletContextName(String servletContextName)
void setSetting(String key, String value)
void setSpriteImages(String spriteFileName, Properties spriteProperties)
void setTemplateExtension(String templateExtension)
void setTemplatesPath(String templatesPath)
void setThemeCompanyLimit(ThemeCompanyLimit themeCompanyLimit)
void setThemeGroupLimit(ThemeGroupLimit themeGroupLimit)
void setTimestamp(long timestamp)
void setVirtualPath(String virtualPath)