info.magnolia.module.templatingkit
Class ExtendedAggregationState

java.lang.Object
  extended by info.magnolia.cms.core.AggregationState
      extended by info.magnolia.module.templatingkit.ExtendedAggregationState

public class ExtendedAggregationState
extends info.magnolia.cms.core.AggregationState

Aggregates additional information to render content. Filled-in progressively by various filters.

Version:
$Id$
Author:
had

Constructor Summary
ExtendedAggregationState()
           
 
Method Summary
 String getDomainAddr()
           
 String getDomainName()
           
static ExtendedAggregationState getInstance()
           
 String getRemoteAddr()
           
 String getRemoteHost()
           
 Site getSite()
          Gets site configuration assigned to the current request.
 void setDomainAddr(String domainAddr)
           
 void setDomainName(String domainName)
           
 void setRemoteAddr(String remoteAddr)
           
 void setRemoteHost(String remoteHost)
           
 void setSite(Site site)
          Sets site configuration for the current request.
 
Methods inherited from class info.magnolia.cms.core.AggregationState
getChannel, getCharacterEncoding, getCurrentContent, getCurrentURI, getExtension, getFile, getHandle, getLocale, getMainContent, getOriginalBrowserURI, getOriginalBrowserURL, getOriginalURI, getOriginalURL, getQueryString, getRepository, getSelector, getSelectors, getTemplateName, isPreviewMode, resetURIs, setChannel, setCharacterEncoding, setCurrentContent, setCurrentURI, setExtension, setFile, setHandle, setLocale, setMainContent, setOriginalBrowserURI, setOriginalBrowserURL, setOriginalURI, setOriginalURL, setPreviewMode, setQueryString, setRepository, setSelector, setTemplateName, stripContextPathIfExists
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExtendedAggregationState

public ExtendedAggregationState()
Method Detail

getInstance

public static ExtendedAggregationState getInstance()

setDomainName

public void setDomainName(String domainName)
Parameters:
domainName - The name of the domain used in the request.

setRemoteHost

public void setRemoteHost(String remoteHost)
Parameters:
remoteHost - The domain name of the requesting host.

setDomainAddr

public void setDomainAddr(String domainAddr)
Parameters:
domainAddr - The IP address of the resolved request.

setRemoteAddr

public void setRemoteAddr(String remoteAddr)
Parameters:
remoteAddr - The IP address of the requesting host.

getSite

public Site getSite()
Gets site configuration assigned to the current request.

Returns:
Site configuration.

setSite

public void setSite(Site site)
Sets site configuration for the current request.

Parameters:
site - Site configuration.

getDomainName

public String getDomainName()

getRemoteHost

public String getRemoteHost()

getRemoteAddr

public String getRemoteAddr()

getDomainAddr

public String getDomainAddr()


Copyright © 2008-2012 Magnolia International Ltd.. All Rights Reserved.