|
OracleAS Personalization Java API Reference 10g Release 2 (10.1.2) B14053-01 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | 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 | |
static IdentificationData |
createSessionful(java.lang.String sessionId) Creates a new ID object for a sessionful session. |
static IdentificationData |
createSessionful(java.lang.String sessionId, Enum.UserType userType) Creates a new ID object for a sessionful session. |
static IdentificationData |
createSessionless(java.lang.String userID) Creates a new sessionless session. |
static IdentificationData |
createSessionless(java.lang.String userID, Enum.UserType userType) |
java.lang.String |
getAppSessionID() Returns the seesion ID given by the host app. |
java.lang.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 java.lang.String getUserID()
public java.lang.String getAppSessionID()
public Enum.UserType getUserType()
Enum.UserType
.public static IdentificationData createSessionful(java.lang.String sessionId) throws NullParameterException
sessionId
- session ID assigned by the host appNullParameterException
public static IdentificationData createSessionful(java.lang.String sessionId, Enum.UserType userType) throws NullParameterException
sessionId
- assigned by the host appuserType
- Customer or Visitor; see Enum.UserType
NullParameterException
public static IdentificationData createSessionless(java.lang.String userID) throws NullParameterException
userID
-NullParameterException
public static IdentificationData createSessionless(java.lang.String userID, Enum.UserType userType) throws NullParameterException
NullParameterException
public boolean validateIDPair()
IdentificationData
object contains a valid pair of IDs.
|
OracleAS Personalization Java API Reference 10g Release 2 (10.1.2) B14053-01 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |