|
Oracle Personalization REAPI_RT v9.0.2 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--oracle.dmt.op.re.reapi.rt.IdentificationData
This class encapsulates the user identification information.
Method Summary |
Type | Method |
---|---|
static IdentificationData |
createSessionful(String sessionId)
Creates a new ID object for a sessionful session. |
static IdentificationData |
createSessionful(String sessionId,
Enum.UserType userType)
Creates a new ID object for a sessionful session. |
static IdentificationData |
createSessionless(String userID)
Creates a new sessionless session. |
static IdentificationData |
createSessionless(String userID,
Enum.UserType userType)
|
String |
getAppSessionID()
Returns the seesion ID given by the host app. |
String |
getUserID()
Returns user ID. |
Enum.UserType |
getUserType()
Returns the user type, Visitor or Customer, as defined in Enum.UserType . |
boolean |
validateIDPair()
Checks if this IdentificationData object contains a valid
pair of IDs. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode,
notify, notifyAll, toString,
wait, wait, wait |
Method Detail |
public String getUserID()
public String getAppSessionID()
public Enum.UserType getUserType()
Enum.UserType
.public static IdentificationData createSessionful(String sessionId) throws NullParameterException
sessionId
- session ID assigned by the host apppublic static IdentificationData createSessionful(String sessionId, Enum.UserType userType) throws NullParameterException
sessionId
- assigned by the host appuserType
- Customer or Visitor; see Enum.UserType
public static IdentificationData createSessionless(String userID) throws NullParameterException
userID
- public static IdentificationData createSessionless(String userID, Enum.UserType userType) throws NullParameterException
public boolean validateIDPair()
IdentificationData
object contains a valid
pair of IDs.
|
Oracle Personalization REAPI_RT v9.0.2 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |