com.liferay.portal.model
Interface Theme
- All Superinterfaces:
- Comparable<Theme>, Plugin, Serializable
- All Known Implementing Classes:
- ThemeImpl
public interface Theme
- extends Comparable<Theme>, Plugin, Serializable
Method Summary |
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()
|
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 |
getWapTheme()
|
boolean |
getWARFile()
|
boolean |
hasColorSchemes()
|
boolean |
isCompanyAvailable(long companyId)
|
boolean |
isGroupAvailable(long groupId)
|
boolean |
isLoadFromServletContext()
|
boolean |
isWapTheme()
|
boolean |
isWARFile()
|
boolean |
resourceExists(javax.servlet.ServletContext servletContext,
String portletId,
String path)
|
void |
setCssPath(String cssPath)
|
void |
setImagesPath(String imagesPath)
|
void |
setJavaScriptPath(String javaScriptPath)
|
void |
setLoadFromServletContext(boolean loadFromServletContext)
|
void |
setName(String name)
|
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)
|
void |
setWapTheme(boolean wapTheme)
|
addSetting
void addSetting(String key,
String value,
boolean configurable,
String type,
String[] options,
String script)
getColorSchemes
List<ColorScheme> getColorSchemes()
getColorSchemesMap
Map<String,ColorScheme> getColorSchemesMap()
getConfigurableSettings
Map<String,ThemeSetting> getConfigurableSettings()
getContextPath
String getContextPath()
getCssPath
String getCssPath()
getDevice
String getDevice()
getFreeMarkerTemplateLoader
String getFreeMarkerTemplateLoader()
getImagesPath
String getImagesPath()
getJavaScriptPath
String getJavaScriptPath()
getLoadFromServletContext
boolean getLoadFromServletContext()
getName
String getName()
getResourcePath
String getResourcePath(javax.servlet.ServletContext servletContext,
String portletId,
String path)
getRootPath
String getRootPath()
getServletContextName
String getServletContextName()
getSetting
String getSetting(String key)
getSettingOptions
String[] getSettingOptions(String key)
getSettings
Map<String,ThemeSetting> getSettings()
getSettingsProperties
Properties getSettingsProperties()
getSpriteImage
SpriteImage getSpriteImage(String fileName)
getStaticResourcePath
String getStaticResourcePath()
getTemplateExtension
String getTemplateExtension()
getTemplatesPath
String getTemplatesPath()
getThemeCompanyLimit
ThemeCompanyLimit getThemeCompanyLimit()
getThemeGroupLimit
ThemeGroupLimit getThemeGroupLimit()
getThemeId
String getThemeId()
getTimestamp
long getTimestamp()
getVelocityResourceListener
String getVelocityResourceListener()
getVirtualPath
String getVirtualPath()
getWapTheme
boolean getWapTheme()
getWARFile
boolean getWARFile()
hasColorSchemes
boolean hasColorSchemes()
isCompanyAvailable
boolean isCompanyAvailable(long companyId)
isGroupAvailable
boolean isGroupAvailable(long groupId)
isLoadFromServletContext
boolean isLoadFromServletContext()
isWapTheme
boolean isWapTheme()
isWARFile
boolean isWARFile()
resourceExists
boolean resourceExists(javax.servlet.ServletContext servletContext,
String portletId,
String path)
throws Exception
- Throws:
Exception
setCssPath
void setCssPath(String cssPath)
setImagesPath
void setImagesPath(String imagesPath)
setJavaScriptPath
void setJavaScriptPath(String javaScriptPath)
setLoadFromServletContext
void setLoadFromServletContext(boolean loadFromServletContext)
setName
void setName(String name)
setRootPath
void setRootPath(String rootPath)
setServletContextName
void setServletContextName(String servletContextName)
setSetting
void setSetting(String key,
String value)
setSpriteImages
void setSpriteImages(String spriteFileName,
Properties spriteProperties)
setTemplateExtension
void setTemplateExtension(String templateExtension)
setTemplatesPath
void setTemplatesPath(String templatesPath)
setThemeCompanyLimit
void setThemeCompanyLimit(ThemeCompanyLimit themeCompanyLimit)
setThemeGroupLimit
void setThemeGroupLimit(ThemeGroupLimit themeGroupLimit)
setTimestamp
void setTimestamp(long timestamp)
setVirtualPath
void setVirtualPath(String virtualPath)
setWapTheme
void setWapTheme(boolean wapTheme)