public interface PVCAdapter
extends com.ibm.commerce.adapter.HttpAdapter
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
COPYRIGHT
IBM Copyright notice field.
|
Modifier and Type | Method and Description |
---|---|
boolean |
checkDeviceFormat(javax.servlet.http.HttpServletRequest req,
TypedProperty prop)
Return the terminal identifier for this device.
|
com.ibm.commerce.adapter.HttpAdapterDesc |
getAdapterDesc()
Return the terminal ID for this device.
|
java.lang.Integer |
getBufferTimeout()
Return buffer timeout value applied for PvC devices controled by the adapter.
|
java.lang.String |
getDeviceModel()
Extracts the PvC device model information from the HTTP request object.
|
java.lang.Integer |
getLogonTimeout()
Return logon timeout value for PvC devices controled by the adapter.
|
PVCAdapterDesc |
getPVCAdapterDesc()
Return the terminal ID for this device.
|
PVCDeviceModelAccessBean |
getPVCDeviceModelAccessBean()
Return the access bean which contains model information of the device.
|
PVCDeviceSpecAccessBean |
getPVCDeviceSpecAccessBean()
Return the access bean which contains spec information of the device.
|
PVCSessionAccessBean |
getPVCSessionAccessBean()
Return the access bean which contains session information of the device.
|
java.lang.Long |
getPvcSessionId()
Return the session identifier of the PvC device.
|
java.lang.String |
getRegistrationMode()
Return the registration mode of the adapter in XML configuration file.
|
java.lang.String |
getTerminalId()
Return the terminal identifier.
|
boolean |
isExcludeCommand(java.lang.String value)
Checks if the command is not executable for the adapter.
|
boolean |
isRelogonCommand(java.lang.String value)
Checks if the command is protected command for the adapter.
|
void |
setAdapterDesc(com.ibm.commerce.adapter.HttpAdapterDesc val)
Sets the descriptor of the HTTP adapter.
|
void |
setDeviceModel(java.lang.String val)
Sets the model name of the device.
|
void |
setPVCAdapterDesc(PVCAdapterDesc val)
Sets the description of the PvC adapter.
|
void |
setPvcSessionId(java.lang.Long newPvcSessionId)
Sets the session identifier used for session control used by the adapter.
|
void |
setStoreId(java.lang.Integer storeId)
Sets the store identifier to the adapter.
|
void |
setTerminalId(java.lang.String val)
Sets the terminal identifier for this device.
|
boolean |
userHasTimedout()
Checks if logon has timed out.
|
getContextPath, getRequest, getRequestName, getRequestObject, getRequestProperties, getRequestURI, getResponse, getResponseObject, getUniqueIdentifier, httpsRedirection, isDoubleClickHandlerEnabled, preInvokeAjaxCommand, preInvokeCommand, preprocessRequest, processRequest, processRequest, setRequest, setRequestProperties, setResponse
getDefaultDeviceFormatId, getDeviceFormatId, getDeviceFormatName, getDeviceFormatType, getDeviceFormatTypeId, getDocumentPathName, getSessionContext, postInvokeCommand, preInvokeCommand, processErrorResponse, processResponse, setDefaultDeviceFormatId, setDeviceFormatId, setDeviceFormatName, setDeviceFormatType, setDeviceFormatTypeId
static final java.lang.String COPYRIGHT
boolean checkDeviceFormat(javax.servlet.http.HttpServletRequest req, TypedProperty prop)
request
- the HTTP request.requestProperties
- the request properties.com.ibm.commerce.adapter.HttpAdapterDesc getAdapterDesc()
getAdapterDesc
in interface com.ibm.commerce.adapter.HttpAdapter
java.lang.Integer getBufferTimeout()
java.lang.String getDeviceModel()
java.lang.Integer getLogonTimeout()
PVCAdapterDesc getPVCAdapterDesc()
PVCDeviceModelAccessBean getPVCDeviceModelAccessBean()
PVCDeviceSpecAccessBean getPVCDeviceSpecAccessBean()
PVCSessionAccessBean getPVCSessionAccessBean()
java.lang.Long getPvcSessionId()
java.lang.String getRegistrationMode()
java.lang.String getTerminalId()
boolean isExcludeCommand(java.lang.String value)
boolean isRelogonCommand(java.lang.String value) throws ECException
ECException
- whether there is a problem validating the logon.void setAdapterDesc(com.ibm.commerce.adapter.HttpAdapterDesc val)
setAdapterDesc
in interface com.ibm.commerce.adapter.HttpAdapter
val
- the descriptor of the HttpAdapter.void setDeviceModel(java.lang.String val)
val
- the model name.void setPVCAdapterDesc(PVCAdapterDesc val)
val
- the description of the PVCAdapter.void setPvcSessionId(java.lang.Long newPvcSessionId)
newPvcSessionId
- the session identifier used.void setStoreId(java.lang.Integer storeId)
storeId
- the store identifier.void setTerminalId(java.lang.String val)
val
- the terminal identifier.boolean userHasTimedout()