com.bea.wsrp.model.markup
Interface IUserContext

All Superinterfaces
INillable
All Known Subinterfaces:
IBaseRequestContext, IBlockingInteractionBaseRequestContext, IBlockingInteractionRequestContext, IGetMarkupBaseRequestContext, IGetMarkupRequestContext, IGetRenderDependenciesRequestContext, IGetResourceRequestContext, IHandleEventsRequestContext, IInitCookieRequestContext, IReleaseSessionsRequestContext

public interface IUserContext
extends INillable

Represents data of the "userContext" element, which is described in the WSRP specification.

This interface is intended to be implemented only by Oracle Weblogic Portal. Oracle Systems reserves the right to add abstract methods to this interface without notice. Implementations of this interface by other parties must not be expected to compile without change in future versions of Oracle Weblogic Portal.

Method Summary
 List<String> getUserCategories()
          An option list of user categories.
 String getUserContextKey()
          A token to identify a user.
 IUserProfile getUserProfile()
          An optional profile data of the current user.
 boolean isUserProfileValid()
          Is the user context valid with respect to the user profile it contains or does it need to be re-supplied by the consumer?
 void setUserContextKey(String userContextKey)
           
 
Methods inherited from interface com.bea.wsrp.model.INillable
isNil
 

Method Detail

getUserContextKey

String getUserContextKey()
A token to identify a user.

Returns
a token that identifies an user.

setUserContextKey

void setUserContextKey(String userContextKey)

getUserProfile

IUserProfile getUserProfile()
An optional profile data of the current user.

Returns
the current user's profile data.

getUserCategories

List<String> getUserCategories()
An option list of user categories.


isUserProfileValid

boolean isUserProfileValid()
Is the user context valid with respect to the user profile it contains or does it need to be re-supplied by the consumer?



Copyright © 2011, Oracle. All rights reserved.