Used to store channel configuration items and parameters.
author: Ken Weiner, Peter Kharchenko version: $Revision: 36781 $ author: Peter Kharchenko pkharchenko@interactivebusiness.com"
ChannelStaticData(Map parameters, IUserLayoutManager ulm) 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.
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. If a LayoutManager is had for
ChannelStaticData then setParameter() and setParameters() restrict
changing parameters that are not overrideable and hence can not be used to
inject the initial parameter values.
Parameters: parameters - Parameters: ulm -
Returns true if the indicated parameter can be altered. Ad-hoc added
parameters will always be allowed to change. Parameters locked during
publishing or via the plugged-in layout manager will return false. If no
layout manager is available then this method always returns true.
Parameters: key - boolean
Returns an instance of the IAuthorizationPrincipal for the IPerson
Parameters: person - a IPerson instance instance of the IAuthorizationPrincipal for the IPerson
Maximum time the channel will be allowed to spend in the rendering cycle.
timeout (in milliseconds) after which the channel thread will be killed.Ideally, channels should monitor for this timeout and abort internal executionif the rendering cycle takes too long.
Resets the value of this parameter. If this is an overrideable parameter
then a user's override will be removed and the original value restored.
If this is a non-overrideable parameter this call will have no effect. If
this is an ad-hoc parameter then the parameter will be removed. Ad-hoc
parameters are ones added by a channel instance beyond the set of
parameters specified during channel publishing.
Parameters: key - param name
setChannelPublishId
public void setChannelPublishId(String channelPublishId)(Code)
Setter method for channel publish Id
Parameters: channelPublishId - channel publish Id (defined at a publish-time)
setChannelSubscribeId
public void setChannelSubscribeId(String channelSubscribeId)(Code)
Sets the channel subscribe Id
Parameters: channelSubscribeId - the channel subscribe Id
Set information contained in a channel element Parameters are
strings!
Parameters: key - param name Parameters: value - param value throws: IllegalChannelParameterOverrideException - if key is not configured to be overrideable.
Copy parameter list from a Map
Parameters: params - a map of params throws: IllegalChannelParameterOverrideException - if key is not configured to be overrideable.