info.magnolia.module.templatingkit.sites
Class Site

java.lang.Object
  extended by info.magnolia.module.templatingkit.sites.Site

public class Site
extends Object

Site Configuration Bean. Default Site configuration merge with the specific user defined site.

These two sections are also displayed under the Template kit menu / Site Definition / default

Version:
$Id$

Constructor Summary
Site()
           
 
Method Summary
 void addDomain(Domain domain)
           
 void addJsFile(Resource jsFile)
           
 void addMapping(String mappingName, info.magnolia.cms.beans.config.URI2RepositoryMapping mapping)
           
 void addParameter(String name, Object parameter)
           
 void addVariation(String variationName, Site site)
           
 Collection<Domain> getDomains()
           
 info.magnolia.cms.i18n.I18nContentSupport getI18n()
           
 List<Resource> getJsFiles()
           
 Map<String,info.magnolia.cms.beans.config.URI2RepositoryMapping> getMappings()
           
 String getName()
           
 Map<String,Object> getParameters()
           
 TemplateSettings getTemplates()
           
 ThemeReference getTheme()
           
 Map<String,Site> getVariations()
           
 boolean isEnabled()
           
 void setDomains(Collection<Domain> domains)
           
 void setEnabled(boolean enabled)
           
 void setI18n(info.magnolia.cms.i18n.I18nContentSupport i18n)
           
 void setJsFiles(List<Resource> jsFiles)
           
 void setMappings(Map<String,info.magnolia.cms.beans.config.URI2RepositoryMapping> mappings)
           
 void setName(String name)
           
 void setParameters(Map<String,Object> parameters)
           
 void setTemplates(TemplateSettings templates)
           
 void setTheme(ThemeReference ref)
           
 void setVariations(Map<String,Site> variations)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Site

public Site()
Method Detail

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.