public class DummyProgramAdapterSessionContext extends com.ibm.commerce.adapter.AbstractSessionLessAdapterSessionContext implements ProgramAdapterSessionContext
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
COPYRIGHT
IBM Copyright notice field.
|
| Constructor and Description |
|---|
DummyProgramAdapterSessionContext()
Creates the dummy implementation of the program adapter session context.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
didErrorOccur()
Indicates whether an error occured and the Program Adapter should indicate
this.
|
CommandProperty |
getCommandProperty()
Returns the command property.
|
com.ibm.commerce.server.WCSCookie |
getCookie()
Will always return null.
|
java.lang.Long |
getValidUserId()
Returns a valid user identifier.
|
void |
setCommandProperty(CommandProperty propertyCommand)
Sets the CommandProperty
|
void |
setConfiguration(TypedProperty config)
Sets the configuration for the session context.
|
void |
setRequest(java.lang.Object request)
Sets the Request Object.
|
void |
setResponse(java.lang.Object response)
Sets the Response Object
|
commit, getExtendedSessionData, getSessionData, getUniqueSessionTag, resolveActivityToken, rollback, setExtendedSessionData, setSessionData, setUniqueSessionTag, updateActivityToken, updateBaseContextpublic static final java.lang.String COPYRIGHT
public DummyProgramAdapterSessionContext()
public CommandProperty getCommandProperty()
getCommandProperty in interface ProgramAdapterSessionContextpublic com.ibm.commerce.server.WCSCookie getCookie()
public java.lang.Long getValidUserId()
throws ECSystemException
getValidUserId in interface com.ibm.commerce.adapter.SessionContextgetValidUserId in class com.ibm.commerce.adapter.AbstractSessionLessAdapterSessionContextcom.ibm.commerce.server.ECConstants.EC_GENERIC_USER_REFNUM.ECSystemException - will never happen.public void setCommandProperty(CommandProperty propertyCommand)
setCommandProperty in interface ProgramAdapterSessionContextcommandProperty - the command property.public void setConfiguration(TypedProperty config)
setConfiguration in interface ProgramAdapterSessionContextconfig - the session context configuration.public void setRequest(java.lang.Object request)
setRequest in interface ProgramAdapterSessionContextrequest - the request object.public void setResponse(java.lang.Object response)
setResponse in interface ProgramAdapterSessionContextresponse - the response object.public boolean didErrorOccur()
didErrorOccur in interface ProgramAdapterSessionContext