com.ibm.commerce.programadapter.security
Interface ProgramAdapterSessionContext

All Superinterfaces:
SessionContext
All Known Implementing Classes:
DummyProgramAdapterSessionContext

public interface ProgramAdapterSessionContext
extends SessionContext

Extention of the com.ibm.commerce.adapter.SessionContext interface for Program Adapters.


Method Summary
 boolean didErrorOccur()
          Indicates whether an error occured and the Program Adapter should indicate this.
 CommandProperty getCommandProperty()
          Returns the CommandProperties.
 void setCommandProperty(CommandProperty propertyCommand)
          Sets the CommandProperties.
 void setConfiguration(TypedProperty config)
          Sets the configuration.
 void setRequest(java.lang.Object request)
          Sets the Request Object.
 void setResponse(java.lang.Object response)
          Sets the Response Object.
 
Methods inherited from interface com.ibm.commerce.adapter.SessionContext
commit, getExtendedSessionData, getSessionData, getUniqueSessionTag, getValidUserId, rollback, setExtendedSessionData, setSessionData, setUniqueSessionTag
 

Method Detail

didErrorOccur

public boolean didErrorOccur()
Indicates whether an error occured and the Program Adapter should indicate this. This will be called when the response is processed.

getCommandProperty

public CommandProperty getCommandProperty()
Returns the CommandProperties.

setCommandProperty

public void setCommandProperty(CommandProperty propertyCommand)
Sets the CommandProperties.

setConfiguration

public void setConfiguration(TypedProperty config)
Sets the configuration.

setRequest

public void setRequest(java.lang.Object request)
Sets the Request Object.

setResponse

public void setResponse(java.lang.Object response)
Sets the Response Object.