|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.util.Dictionary<K,V>
java.util.Hashtable<String,Object>
org.jasig.portal.ChannelRuntimeData
@Deprecated public class ChannelRuntimeData
A set of runtime data accessible by a channel.
| Field Summary | |
|---|---|
static String |
CAR_BASE
Deprecated. |
static String |
WEB_APP_BASE
Deprecated. |
| Constructor Summary | |
|---|---|
ChannelRuntimeData()
Deprecated. Default empty constructor |
|
| Method Summary | |
|---|---|
Object |
clone()
Deprecated. Create a new instance of ourself Used by the CError channel |
String |
getBaseActionURL()
Deprecated. Returns a baseActionURL - parameters of a request coming in on the baseActionURL will be placed into the ChannelRuntimeData object for channel's use. |
String |
getBaseActionURL(boolean idempotent)
Deprecated. All URLs are now idempotent. Use getBaseActionURL() instead. |
String |
getBaseMediaURL(Class aChannelClass)
Deprecated. Returns a media base appropriate for web-visible resources used by and deployed with the passed in class. |
String |
getBaseMediaURL(Object aChannelObject)
Deprecated. Returns a media base appropriate for web-visible resources used by and deployed with the passed in object. |
String |
getBaseMediaURL(String resourcePath)
Deprecated. Returns a media base appropriate for the resource path passed in. |
String |
getBaseWorkerURL(String worker)
Deprecated. Returns the URL to invoke one of the workers specified in PortalSessionManager. |
String |
getBaseWorkerURL(String worker,
boolean idempotent)
Deprecated. All urls are now idempotent, use getBaseWorkerURL(String) instead. |
BrowserInfo |
getBrowserInfo()
Deprecated. Provides information about a user-agent associated with the current request/response. |
String |
getFnameActionURL(String fname)
Deprecated. Returns an idempotent URL that includes a single query parameter that targets a channel for focus mode by functional name. |
String |
getHttpRequestMethod()
Deprecated. Get HTTP request method (i.e. |
String |
getKeywords()
Deprecated. Returns the keywords |
Locale[] |
getLocales()
Deprecated. Accessor method for ordered set of locales. |
Object |
getObjectParameter(String pName)
Deprecated. Obtain an Object parameter value. |
Object[] |
getObjectParameterValues(String pName)
Deprecated. Obtain all values for a given parameter as Objects. |
String |
getParameter(String pName)
Deprecated. Get a parameter value. |
Enumeration |
getParameterNames()
Deprecated. Get an enumeration of parameter names. |
Map<String,Object> |
getParameters()
Deprecated. Get the parameters as a Map |
String[] |
getParameterValues(String pName)
Deprecated. Obtain all values for a given parameter. |
String |
getRemoteAddress()
Deprecated. |
RequestType |
getRequestType()
Deprecated. |
UPFileSpec |
getUPFile()
Deprecated. Get the UPFileSpec |
boolean |
isRenderingAsRoot()
Deprecated. Tells whether or not the channel is rendering as the root of the layout. |
boolean |
isTargeted()
Deprecated. Tells whether or not the channel is currently targeted. |
void |
setBaseActionURL(String baseActionURL)
Deprecated. Sets the base action URL. |
void |
setBrowserInfo(BrowserInfo bi)
Deprecated. Setter method for browser info object. |
void |
setHttpRequestMethod(String method)
Deprecated. Set the HTTP Request method. |
void |
setKeywords(String keywords)
Deprecated. Sets the keywords |
void |
setLocales(Locale[] locales)
Deprecated. Setter method for array of locales. |
void |
setParameter(String pName,
String value)
Deprecated. Establish a parameter name-value pair. |
void |
setParameters(Map<String,Object> params)
Deprecated. A convenience method for setting a whole set of parameters at once. |
void |
setParametersSingleValued(Map<String,Object> params)
Deprecated. A convenience method for setting a whole set of parameters at once. |
String[] |
setParameterValues(String pName,
String[] values)
Deprecated. Sets multi-valued parameter. |
void |
setRemoteAddress(String string)
Deprecated. |
void |
setRenderingAsRoot(boolean rar)
Deprecated. Sets whether or not the channel is rendering as the root of the layout. |
void |
setRequestType(RequestType requestType)
Deprecated. |
void |
setTargeted(boolean targeted)
Deprecated. Sets whether or not the channel is currently targeted. |
void |
setUPFile(UPFileSpec upfs)
Deprecated. Set a UPFileSpec which will be used to produce baseActionURL and workerActionURL. |
String |
toString()
Deprecated. |
| Methods inherited from class java.util.Hashtable |
|---|
clear, contains, containsKey, containsValue, elements, entrySet, equals, get, hashCode, isEmpty, keys, keySet, put, putAll, rehash, remove, size, values |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final String CAR_BASE
public static final String WEB_APP_BASE
| Constructor Detail |
|---|
public ChannelRuntimeData()
| Method Detail |
|---|
public Object clone()
clone in class Hashtable<String,Object>public void setUPFile(UPFileSpec upfs)
upfs - the UPFileSpecpublic UPFileSpec getUPFile()
public void setHttpRequestMethod(String method)
method - a String valuepublic String getHttpRequestMethod()
String valuepublic void setBaseActionURL(String baseActionURL)
baseActionURL - the base action URLpublic void setRenderingAsRoot(boolean rar)
rar - true if channel is rendering as the root, otherwise falsepublic void setTargeted(boolean targeted)
targeted - true if channel is targeted, otherwise falsepublic void setBrowserInfo(BrowserInfo bi)
bi - a browser info associated with the current requestpublic BrowserInfo getBrowserInfo()
BrowserInfo object ecapsulating various user-agent information.public void setLocales(Locale[] locales)
locales - an ordered list of localespublic Locale[] getLocales()
public void setParameters(Map<String,Object> params)
params - a Map of parameter names to parameter value arrays.public void setParametersSingleValued(Map<String,Object> params)
params - a Map of parameter names to parameter value arrays.
public String[] setParameterValues(String pName,
String[] values)
pName - parameter namevalues - an array of parameter values
public void setParameter(String pName,
String value)
pName - parameter namevalue - parameter valuepublic String getBaseActionURL()
public String getBaseActionURL(boolean idempotent)
getBaseActionURL() instead.
idempotent - a boolean value specifying if a given URL should be idepotent.
public String getFnameActionURL(String fname)
public String getBaseWorkerURL(String worker)
worker - - Worker string must be a UPFileSpec.xxx value.
public String getBaseMediaURL(Object aChannelObject)
throws PortalException
PortalException
public String getBaseMediaURL(Class aChannelClass)
throws PortalException
PortalException
public String getBaseMediaURL(String resourcePath)
throws PortalException
PortalException
public String getBaseWorkerURL(String worker,
boolean idempotent)
throws PortalException
getBaseWorkerURL(String) instead.
worker - - Worker string must be a UPFileSpec.xxx value.idempotent - a boolean value sepcifying if a URL should be idempotent
PortalException - if an error occurspublic boolean isRenderingAsRoot()
true if channel is rendering as the root, otherwise falsepublic boolean isTargeted()
true if channel is targeted, otherwise falsepublic String getParameter(String pName)
pName - parameter name
public Object getObjectParameter(String pName)
Object parameter value. If the parameter has multiple values, only the first value is returned.
pName - parameter name
public String[] getParameterValues(String pName)
pName - parameter name
public Object[] getObjectParameterValues(String pName)
Objects.
pName - parameter name
Object[] valuespublic Enumeration getParameterNames()
Enumeration of parameter names.public Map<String,Object> getParameters()
public void setKeywords(String keywords)
keywords - a String of keywordspublic String getKeywords()
public String getRemoteAddress()
public void setRemoteAddress(String string)
string - public RequestType getRequestType()
public void setRequestType(RequestType requestType)
requestType - the requestType to setpublic String toString()
toString in class Hashtable<String,Object>
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||