EntitlementHelper Class

com.bea.p13n.entitlements.common
EntitlementHelper Class

public class EntitlementHelper

    extends Object

Provides helper methods for constructing entitlements.


Hierarchy
Object
  EntitlementHelper

Field Summary

public static String
CTXT_HNDLR
String
public static String
ENT_REQUEST
String
 

Constructor Summary

EntitlementHelper()

 

Method Summary

public static EntitlementRequest
createEntitlementRequest(HttpServletRequest anHttpRequest)
Populates a new Object [] with the following:
  • The current HTTP Request
  • The current HTTP Session
  • The current User
  • A new TimeInstant
  • A new Time
  • A new Date
public static P13nContextHandler
createP13nContextHandler(HttpServletRequest httpRequest)
Returns a P13nContextHandler for the current user.
 
Methods from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
   

Field Detail

CTXT_HNDLR

public static String CTXT_HNDLR


ENT_REQUEST

public static String ENT_REQUEST

 

Constructor Detail

EntitlementHelper

public EntitlementHelper()
 

Method Detail

createEntitlementRequest(HttpServletRequest) Method

public static EntitlementRequest createEntitlementRequest(HttpServletRequest anHttpRequest)
Populates a new Object [] with the following:

Parameters

anHttpRequest
The PageContext.

Returns

a new AdviceRequest instance.

Related Topics

AdviceRequest


createP13nContextHandler(HttpServletRequest) Method

public static P13nContextHandler createP13nContextHandler(HttpServletRequest httpRequest)
Returns a P13nContextHandler for the current user.

Returns

a P13nContextHandler for the current user.