|
||||||||||
| 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<Object,Object>
org.jasig.portal.ChannelStaticData
@Deprecated public class ChannelStaticData
Used to store channel configuration items and parameters.
| Constructor Summary | |
|---|---|
ChannelStaticData()
Deprecated. |
|
ChannelStaticData(Map parameters,
IUserLayoutManager ulm)
Deprecated. If support is being provided to update channel parameters then a Layout Manager instance is required and the initial values of parameters must be set here to forgo override checks. |
|
| Method Summary | |
|---|---|
boolean |
canSetParameter(String key)
Deprecated. Returns true if the indicated parameter can be altered. |
IAuthorizationPrincipal |
getAuthorizationPrincipal()
Deprecated. Returns an instance of the IAuthorizationPrincipal for the IPerson |
static IAuthorizationPrincipal |
getAuthorizationPrincipal(IPerson person)
Deprecated. Returns an instance of the IAuthorizationPrincipal for the IPerson |
String |
getChannelPublishId()
Deprecated. Determine channel publish Id. |
String |
getChannelSubscribeId()
Deprecated. Gets the channel subscribe Id |
ICCRegistry |
getICCRegistry()
Deprecated. Obtain inter-channel communication registry object |
Context |
getJNDIContext()
Deprecated. Obtain a channel JNDI context |
String |
getParameter(String key)
Deprecated. Get information contained in a particular element |
IPerson |
getPerson()
Deprecated. Provide information on the user the channel is serving |
String |
getSerializerName()
Deprecated. Sets the serializer name. |
long |
getTimeout()
Deprecated. Maximum time the channel will be allowed to spend in the rendering cycle. |
WebApplicationContext |
getWebApplicationContext()
Deprecated. |
void |
resetParameter(String key)
Deprecated. Resets the value of this parameter. |
void |
setChannelPublishId(String channelPublishId)
Deprecated. Setter method for channel publish Id |
void |
setChannelSubscribeId(String channelSubscribeId)
Deprecated. Sets the channel subscribe Id |
void |
setICCRegistry(ICCRegistry registry)
Deprecated. Set inter-channel communication registry object |
void |
setJNDIContext(Context c)
Deprecated. Set channel JNDI context. |
String |
setParameter(String key,
String value)
Deprecated. Set information contained in a channel element Parameters are strings! |
void |
setParameters(Map params)
Deprecated. Copy parameter list from a Map |
void |
setPerson(IPerson person)
Deprecated. Setter method for the user being served by the channel |
void |
setSerializerName(String serializerName)
Deprecated. Setter method for the serializer name. |
void |
setTimeout(long value)
Deprecated. Setter method for channel timeout. |
void |
setWebApplicationContext(WebApplicationContext webApplicationContext)
Deprecated. |
void |
store()
Deprecated. Writes all string valued parameters to the database as part of the user's layout. |
String |
toString()
Deprecated. |
| Methods inherited from class java.util.Hashtable |
|---|
clear, clone, 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 |
| Constructor Detail |
|---|
public ChannelStaticData()
public ChannelStaticData(Map parameters,
IUserLayoutManager ulm)
parameters - ulm - | Method Detail |
|---|
public WebApplicationContext getWebApplicationContext()
public void setWebApplicationContext(WebApplicationContext webApplicationContext)
webApplicationContext - the webApplicationContext to setpublic IAuthorizationPrincipal getAuthorizationPrincipal()
public static IAuthorizationPrincipal getAuthorizationPrincipal(IPerson person)
person - a IPerson instance
public String getChannelPublishId()
public String getChannelSubscribeId()
public Context getJNDIContext()
public String getParameter(String key)
key - param name
public IPerson getPerson()
IPerons object.public long getTimeout()
public void setChannelPublishId(String channelPublishId)
channelPublishId - channel publish Id (defined at a publish-time)public void setChannelSubscribeId(String channelSubscribeId)
channelSubscribeId - the channel subscribe Idpublic void setJNDIContext(Context c)
c - a Context value
public String setParameter(String key,
String value)
key - param namevalue - param value
IllegalChannelParameterOverrideException - if key is not configured to be overrideable.
public boolean canSetParameter(String key)
throws PortalException
key -
PortalExceptionpublic void resetParameter(String key)
key - param name
public void store()
throws PortalException
PortalExceptionpublic void setParameters(Map params)
params - a map of params
IllegalChannelParameterOverrideException - if key is not configured to be overrideable.public 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 valuepublic String toString()
toString in class Hashtable<Object,Object>public String getSerializerName()
public void setSerializerName(String serializerName)
serializerName -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||