Plumtree Portal UI  
 

AGuestConditionType.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(
   XPLimitedRequest xpRequest,
   IPTSession guestReadOnlySession,
   XPHashtable htUserEnvironment
);

Parameters

xpRequest
- http request's wrapper. This is actually another wrapper that conceals the real XPRequest object. The reason is that at the Guest/Login Phase, the XPRequest's body cannot be parsed. Therefore, any attempt to get the XPRequest's parameter names or values will result in an exception being thrown.
guestReadOnlySession
htUserEnvironment
- the user's environment of current values for condition types

See Also

AGuestConditionType Class | com.plumtree.portaluiinfrastructure.condition Namespace