Package com.infragistics.reveal.sdk.base
Class RVUserContext
- java.lang.Object
-
- com.infragistics.reveal.sdk.base.RVUserContext
-
- All Implemented Interfaces:
IRVUserContext
public class RVUserContext extends Object implements IRVUserContext
-
-
Constructor Summary
Constructors Constructor Description RVUserContext(String userId)
RVUserContext(String userId, Map<String,Object> properties)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,Object>
getProperties()
Object
getProperty(String name)
Returns the value for the given property or null if no property with that name is found.String
getUserId()
Returns the userId for this context
-
-
-
Method Detail
-
getUserId
public String getUserId()
Returns the userId for this context- Specified by:
getUserId
in interfaceIRVUserContext
- Returns:
- a string that identifies the user.
-
getProperty
public Object getProperty(String name)
Returns the value for the given property or null if no property with that name is found.- Parameters:
name
- name of the property to return the value for.- Returns:
-
getProperties
public Map<String,Object> getProperties()
- Specified by:
getProperties
in interfaceIRVUserContext
-
-