atg.portal.framework
Class RequestUtilities

java.lang.Object
  extended by atg.portal.framework.RequestUtilities

public class RequestUtilities
extends java.lang.Object

A set of utilities for extracting portal objects out of a request.


Field Summary
static java.lang.String CLASS_VERSION
           
 
Constructor Summary
RequestUtilities()
           
 
Method Summary
static Community getCommunity(javax.servlet.ServletRequest pRequest)
          Returns the Community associated with the indicated request, if any.
static Gear getGear(javax.servlet.ServletRequest pRequest)
          Returns the Gear associated with the indicated request, if any.
static Page getPage(javax.servlet.ServletRequest pRequest)
          Returns the Page associated with the indicated request, if any.
static Portal getPortal(javax.servlet.ServletRequest pRequest)
          Returns the Portal associated with the indicated request, if any.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CLASS_VERSION

public static java.lang.String CLASS_VERSION
Constructor Detail

RequestUtilities

public RequestUtilities()
Method Detail

getPortal

public static Portal getPortal(javax.servlet.ServletRequest pRequest)
                        throws SecurityException
Returns the Portal associated with the indicated request, if any.

Throws:
SecurityException

getCommunity

public static Community getCommunity(javax.servlet.ServletRequest pRequest)
                              throws SecurityException
Returns the Community associated with the indicated request, if any.

Throws:
SecurityException

getPage

public static Page getPage(javax.servlet.ServletRequest pRequest)
                    throws SecurityException
Returns the Page associated with the indicated request, if any.

Throws:
SecurityException

getGear

public static Gear getGear(javax.servlet.ServletRequest pRequest)
                    throws SecurityException
Returns the Gear associated with the indicated request, if any.

Throws:
SecurityException