com.ibm.policy.manager.portal
Class PortletRequestRuleContext

java.lang.Object
  extended by com.ibm.policy.manager.portal.PortletRequestRuleContext

public class PortletRequestRuleContext
extends java.lang.Object

Public implementation of RuleContext representing a request. Accepted request types are PortletRequest. Only one request is maintained and retrieved per instance

Since:
6.0

Constructor Summary
PortletRequest)">PortletRequestRuleContext(PortletRequest request)
          Add a rule context based on a PortletRequest.
 
Method Summary
 java.util.Collection getContext()
           
 java.lang.String getId()
          Retrieve a unique identifier for the session if one is available.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail
PortletRequest)">

PortletRequestRuleContext

public PortletRequestRuleContext(PortletRequest request)
Add a rule context based on a PortletRequest.

Parameters:
request - PortletRequest to be used
Method Detail

getContext

public java.util.Collection getContext()
Returns:
Collection of rule objects to be used in the execution of a rule. Objects of the collection are of type PortletRequest.

getId

public java.lang.String getId()
Retrieve a unique identifier for the session if one is available. Return null if not available.