Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CHANNEL_ID_CI
The value in
ActivityData objects that identifies a request as coming from the CI channel. |
static java.lang.String |
CHANNEL_ID_LOBTOOLS
The value in
ActivityData objects that identifies a request as coming from the CMC tools channel. |
static java.lang.String |
CHANNEL_ID_WEB
The value in
ActivityData objects that identifies a request as coming from the Web channel. |
static java.lang.String |
CONTEXT_NAME
The name of the context that will identify it in the CTXDATA table.
|
static java.lang.String |
COPYRIGHT
IBM copyright notice field.
|
static java.lang.Integer |
DEFAULT_STOREID
The WebSphere Commerce default store ID.
|
static java.lang.Long |
GENERIC_USER_ID
The WebSphere Commerce generic user ID.
|
static java.lang.String |
KEY_AUTH_USER_ID
Reserved for IBM internal use.
|
static java.lang.String |
KEY_CHANNEL_ID
The name of the channelId URL parameter in
ActivityData objects. |
static java.lang.String |
KEY_FOR_USER
The name of the forUser URL parameter in
ActivityData objects. |
static java.lang.String |
KEY_FOR_USER_ID
The name of the forUserId URL parameter in
ActivityData objects. |
static java.lang.String |
KEY_STORE_ID
The name of the storeId URL parameter in
ActivityData objects. |
static java.lang.String |
KEY_USER_ID
The name of the userId URL parameter in
ActivityData objects. |
Modifier and Type | Method and Description |
---|---|
java.lang.Long |
getCallerId()
This method gets the caller of the session associated with this context.
|
java.lang.String |
getChannelId()
This method gets the channel that this context's activity is associated with.
|
java.lang.Long |
getRunAsId()
This method gets the run-as user for the request associated with this context.
|
java.lang.Integer |
getStoreId()
This method gets the store that this context's activity is associated with.
|
void |
setCallerId(java.lang.Long nCallerId)
This method sets the caller of the session associated with this context.
|
void |
setChannelId(java.lang.String strChannelId)
This method sets the channel that this context's activity is associated with.
|
void |
setRunAsId(java.lang.Long nMemberId)
This method sets the run-as user for the request associated with this context.
|
void |
setStoreId(java.lang.Integer nStoreId)
This method sets the store that this context's activity is associated with.
|
copyContext, getActivityToken, getContextName, validate
static final java.lang.String COPYRIGHT
static final java.lang.String CONTEXT_NAME
static final java.lang.String KEY_STORE_ID
ActivityData
objects.static final java.lang.String KEY_USER_ID
ActivityData
objects.static final java.lang.String KEY_AUTH_USER_ID
static final java.lang.String KEY_FOR_USER_ID
ActivityData
objects.static final java.lang.String KEY_FOR_USER
ActivityData
objects.static final java.lang.String KEY_CHANNEL_ID
ActivityData
objects.static final java.lang.String CHANNEL_ID_WEB
ActivityData
objects that identifies a request as coming from the Web channel.static final java.lang.String CHANNEL_ID_CI
ActivityData
objects that identifies a request as coming from the CI channel.static final java.lang.String CHANNEL_ID_LOBTOOLS
ActivityData
objects that identifies a request as coming from the CMC tools channel.static final java.lang.Integer DEFAULT_STOREID
static final java.lang.Long GENERIC_USER_ID
java.lang.Long getCallerId()
java.lang.Long getRunAsId()
java.lang.Integer getStoreId()
java.lang.String getChannelId()
void setCallerId(java.lang.Long nCallerId)
nCallerId
- the caller IDvoid setRunAsId(java.lang.Long nMemberId)
nMemberId
- the run-as IDvoid setStoreId(java.lang.Integer nStoreId)
nStoreId
- the store IDvoid setChannelId(java.lang.String strChannelId)
strChannelId
- the channel ID