info.magnolia.module.templatingkit.sites
Class Site
java.lang.Object
info.magnolia.module.templatingkit.sites.Site
public class Site
- extends Object
Site Configuration Bean.
Default Site configuration merge with the specific user defined site.
- TemplateSettings: define the global area settings (under prototype) and template available for the default site setting
- Theme: define the Base Theme class implementation
These two sections are also displayed under the Template kit menu / Site Definition / default
- Version:
- $Id$
Constructor Summary |
Site()
|
Site
public Site()
getTheme
public ThemeReference getTheme()
setTheme
public void setTheme(ThemeReference ref)
getJsFiles
public List<Resource> getJsFiles()
setJsFiles
public void setJsFiles(List<Resource> jsFiles)
addJsFile
public void addJsFile(Resource jsFile)
getTemplates
public TemplateSettings getTemplates()
setTemplates
public void setTemplates(TemplateSettings templates)
getI18n
public info.magnolia.cms.i18n.I18nContentSupport getI18n()
setI18n
public void setI18n(info.magnolia.cms.i18n.I18nContentSupport i18n)
getName
public String getName()
setName
public void setName(String name)
isEnabled
public boolean isEnabled()
setEnabled
public void setEnabled(boolean enabled)
getParameters
public Map<String,Object> getParameters()
setParameters
public void setParameters(Map<String,Object> parameters)
addParameter
public void addParameter(String name,
Object parameter)
getDomains
public Collection<Domain> getDomains()
setDomains
public void setDomains(Collection<Domain> domains)
addDomain
public void addDomain(Domain domain)
getMappings
public Map<String,info.magnolia.cms.beans.config.URI2RepositoryMapping> getMappings()
setMappings
public void setMappings(Map<String,info.magnolia.cms.beans.config.URI2RepositoryMapping> mappings)
addMapping
public void addMapping(String mappingName,
info.magnolia.cms.beans.config.URI2RepositoryMapping mapping)
getVariations
public Map<String,Site> getVariations()
setVariations
public void setVariations(Map<String,Site> variations)
addVariation
public void addVariation(String variationName,
Site site)
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 2008-2013 Magnolia International Ltd.. All Rights Reserved.