public class ActivityToken
extends java.lang.Object
implements java.io.Serializable
Modifier and Type | Field and Description |
---|---|
static java.lang.String | COPYRIGHT
IBM copyright notice field.
|
static java.lang.String | STR_CLASS_NAME
The name of the class
|
Constructor and Description |
---|
ActivityToken()
The do-nothing zero-argument constructor.
|
ActivityToken(com.ibm.commerce.component.contextservice.ActivityGUID guid, java.lang.String strSignature)
Constructs an activity token from a given GUID and signature.
|
ActivityToken(java.lang.String str)
Constructs an activity token from a given string representation of an activity token.
|
Modifier and Type | Method and Description |
---|---|
boolean | checkTransient()
Checks whether this token is a transient cloned token.
|
com.ibm.commerce.component.contextservice.ActivityGUID | getActivityGUID()
Gets this token's activity GUID.
|
int | getCloneCounter()
Reserved for IBM internal use.
|
java.lang.String | getSignature()
Gets this token's signature.
|
boolean | isTemporary()
Checks whether this token is temporary.
|
boolean | isTemporaryLock()
Checks whether subsequent requests can change this token's temporary status.
|
void | setActivityGUID(com.ibm.commerce.component.contextservice.ActivityGUID guid)
Sets this token's activity GUID.
|
void | setCloneCounter(int count)
Reserved for IBM internal use.
|
void | setSignature(java.lang.String strSignature)
Sets this token's signaure.
|
void | setTemporary(boolean bool)
Sets whether this token is temporary.
|
void | setTemporaryLock(boolean bool)
Sets whether subsequent requests can change this token's temporary status.
|
java.lang.String | toString()
Returns the string representation of this activity token, which is its activity GUID and signature separated by a colon (":").
|
public static final java.lang.String COPYRIGHT
public static final java.lang.String STR_CLASS_NAME
public ActivityToken()
public ActivityToken(com.ibm.commerce.component.contextservice.ActivityGUID guid, java.lang.String strSignature)
public ActivityToken(java.lang.String str)
public com.ibm.commerce.component.contextservice.ActivityGUID getActivityGUID()
public java.lang.String getSignature()
public void setActivityGUID(com.ibm.commerce.component.contextservice.ActivityGUID guid)
public void setSignature(java.lang.String strSignature)
public java.lang.String toString()
public void setTemporary(boolean bool)
public boolean isTemporary()
public void setTemporaryLock(boolean bool)
public boolean isTemporaryLock()
public void setCloneCounter(int count)
Sets the clone counter to the specified value.
public int getCloneCounter()
Returns the number of clones that exist for this activity.
public boolean checkTransient()