|
uPortal 2.4.1 API Documentation |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.util.Dictionary
java.util.Hashtable
org.jasig.portal.ChannelStaticData
Used to store channel configuration items and parameters.
Constructor Summary | |
ChannelStaticData()
|
Method Summary | |
IAuthorizationPrincipal |
getAuthorizationPrincipal()
Returns an instance of the IAuthorizationPrincipal for the IPerson |
static IAuthorizationPrincipal |
getAuthorizationPrincipal(IPerson person)
Returns an instance of the IAuthorizationPrincipal for the IPerson |
java.lang.String |
getChannelPublishId()
Determine channel publish Id. |
java.lang.String |
getChannelSubscribeId()
Gets the channel subscribe Id |
ICCRegistry |
getICCRegistry()
Obtain inter-channel communication registry object |
javax.naming.Context |
getJNDIContext()
Obtain a channel JNDI context |
java.lang.String |
getParameter(java.lang.String key)
Get information contained in a particular element |
IPerson |
getPerson()
Provide information on the user the channel is serving |
long |
getTimeout()
Maximum time the channel will be allowed to spend in the rendering cycle. |
void |
setChannelPublishId(java.lang.String channelPublishId)
Setter method for channel publish Id |
void |
setChannelSubscribeId(java.lang.String channelSubscribeId)
Sets the channel subscribe Id |
void |
setICCRegistry(ICCRegistry registry)
Set inter-channel communication registry object |
void |
setJNDIContext(javax.naming.Context c)
Set channel JNDI context. |
java.lang.String |
setParameter(java.lang.String key,
java.lang.String value)
Set information contained in a channel element Parameters are strings! |
void |
setParameters(java.util.Map params)
Copy parameter list from a Map |
void |
setPerson(IPerson person)
Setter method for the user being served by the channel |
void |
setTimeout(long value)
Setter method for channel timeout. |
Methods inherited from class java.util.Hashtable |
clear, clone, contains, containsKey, containsValue, elements, entrySet, equals, get, hashCode, isEmpty, keys, keySet, put, putAll, remove, size, toString, values |
Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public ChannelStaticData()
Method Detail |
public IAuthorizationPrincipal getAuthorizationPrincipal()
public static IAuthorizationPrincipal getAuthorizationPrincipal(IPerson person)
person
- a IPerson instance
public java.lang.String getChannelPublishId()
public java.lang.String getChannelSubscribeId()
public javax.naming.Context getJNDIContext()
public java.lang.String getParameter(java.lang.String key)
key
- param name
public IPerson getPerson()
IPerons
object.public long getTimeout()
public void setChannelPublishId(java.lang.String channelPublishId)
channelPublishId
- channel publish Id (defined at a publish-time)public void setChannelSubscribeId(java.lang.String channelSubscribeId)
channelSubscribeId
- the channel subscribe Idpublic void setJNDIContext(javax.naming.Context c)
c
- a Context
valuepublic java.lang.String setParameter(java.lang.String key, java.lang.String value)
key
- param namevalue
- param valuepublic void setParameters(java.util.Map params)
params
- a map of paramspublic void setPerson(IPerson person)
person
- an IPerson value.
public void setTimeout(long value)
value
- public ICCRegistry getICCRegistry()
ICCRegistry
valuepublic void setICCRegistry(ICCRegistry registry)
registry
- an ICCRegistry
value
|
uPortal 2.4.1 API Documentation |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |