org.liquidsite.core.web
Class RequestEnvironment

java.lang.Object
  extended byorg.liquidsite.core.web.RequestEnvironment

public class RequestEnvironment
extends java.lang.Object

The request processing environment. This class is used to store objects used during the request processing.


Constructor Summary
RequestEnvironment()
          Creates a new request environment.
 
Method Summary
 ContentDocument getDocument()
          Returns the content document.
 Domain getDomain()
          Returns the domain object.
 ContentForum getForum()
          Returns the content forum.
 ContentPage getPage()
          Returns the content page.
 ContentSection getSection()
          Returns the content section.
 ContentSite getSite()
          Returns the content site.
 ContentTopic getTopic()
          Returns the content topic.
 ContentTranslator getTranslator()
          Returns the content translator.
 void setDocument(ContentDocument doc)
          Sets the content document.
 void setDomain(Domain domain)
          Sets the domain object.
 void setForum(ContentForum forum)
          Sets the content forum.
 void setPage(ContentPage page)
          Sets the content page.
 void setSection(ContentSection section)
          Sets the content section.
 void setSite(ContentSite site)
          Sets the content site.
 void setTopic(ContentTopic topic)
          Sets the content topic.
 void setTranslator(ContentTranslator translator)
          Sets the content translator.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RequestEnvironment

public RequestEnvironment()
Creates a new request environment.

Method Detail

getDomain

public Domain getDomain()
Returns the domain object.

Returns:
the domain object

setDomain

public void setDomain(Domain domain)
Sets the domain object.

Parameters:
domain - the domain object

getSite

public ContentSite getSite()
Returns the content site.

Returns:
the content site

setSite

public void setSite(ContentSite site)
Sets the content site.

Parameters:
site - the content site

getTranslator

public ContentTranslator getTranslator()
Returns the content translator.

Returns:
the content translator

setTranslator

public void setTranslator(ContentTranslator translator)
Sets the content translator.

Parameters:
translator - the content translator

getPage

public ContentPage getPage()
Returns the content page.

Returns:
the content page

setPage

public void setPage(ContentPage page)
Sets the content page.

Parameters:
page - the content page

getSection

public ContentSection getSection()
Returns the content section.

Returns:
the content section

setSection

public void setSection(ContentSection section)
Sets the content section.

Parameters:
section - the content section

getDocument

public ContentDocument getDocument()
Returns the content document.

Returns:
the content document

setDocument

public void setDocument(ContentDocument doc)
Sets the content document.

Parameters:
doc - the content document

getForum

public ContentForum getForum()
Returns the content forum.

Returns:
the content forum

setForum

public void setForum(ContentForum forum)
Sets the content forum.

Parameters:
forum - the content forum

getTopic

public ContentTopic getTopic()
Returns the content topic.

Returns:
the content topic

setTopic

public void setTopic(ContentTopic topic)
Sets the content topic.

Parameters:
topic - the content topic