Plumtree Portal UI  
 

ARegularConditionType.GetCurrentValue Method 

GetCurrentValue determines the condition type's current value, and adds it to the htUserEnvironment. This is important since the Compare method is relying for the correct current value to be in the htUserEnvironment. If the current value is missing or incorrect, then the execution of the rules might return erroneous values. NOTE: Any exception thrown from this method will be caught and discarded.

public abstract void GetCurrentValue(
   AActivitySpace asCurrentSpace,
   IXPRequest xpRequest,
   IPTSession userSession,
   XPHashtable htUserEnvironment
);

Parameters

asCurrentSpace
- the user's current activity space after all the controls have processed the parameters in the query string and initialized all models
xpRequest
- http request's wrapper
userSession
- the current user's ptSession
htUserEnvironment
- the user's environment of current values for condition types

See Also

ARegularConditionType Class | com.plumtree.portaluiinfrastructure.condition Namespace