com.bea.p13n.entitlements.common
Class EntitlementHelper
java.lang.Object
com.bea.p13n.entitlements.common.EntitlementHelper
- public class EntitlementHelper
- extends Object
Provides helper methods for constructing entitlements.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CTXT_HNDLR
public static String CTXT_HNDLR
ENT_REQUEST
public static String ENT_REQUEST
EntitlementHelper
public EntitlementHelper()
createEntitlementRequest
public static com.bea.p13n.entitlements.common.EntitlementRequest createEntitlementRequest(HttpServletRequest anHttpRequest)
throws com.bea.p13n.entitlements.common.EntitlementsException
- 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
- Returns:
- a new
AdviceRequest
instance.
- Throws:
com.bea.p13n.entitlements.common.EntitlementsException
- if an error occurrs during creation of
an AdviceRequest
.- See Also:
AdviceRequest
createP13nContextHandler
public static P13nContextHandler createP13nContextHandler(HttpServletRequest httpRequest)
throws com.bea.p13n.entitlements.common.EntitlementsException
- Returns a
P13nContextHandler
for the current user.
- Returns:
- a P13nContextHandler for the current user.
- Throws:
com.bea.p13n.entitlements.common.EntitlementsException
Copyright © 2005 BEA Systems, Inc. All Rights Reserved