|
IBM WebSphere Multichannel Bank Transformation Toolkit Javadoc | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface DataAdapter
The interface used to abstract the invocation of the server side logic. The implementation class should implement the invocation logic. There are two kinds of the invocation, one is passing the serializable JavaBean. Another is passing the Map object.
Method Summary | |
---|---|
boolean |
establishSession()
Create the session with the server side |
java.io.Serializable |
invoke(java.lang.String operationName,
java.util.Map param,
java.lang.String responseDataId)
Invoke server side operation and return the processing result. |
java.io.Serializable |
invoke(java.lang.String operationName,
java.io.Serializable param)
Invoke server side operation and return the processing result If the passed java bean and returned result are the same, use this API to invoke server side operation. |
Method Detail |
---|
java.io.Serializable invoke(java.lang.String operationName, java.io.Serializable param) throws java.io.IOException, ErrorResponseException, MobileException
operationName
- param
- the Serializable JavaBean passed to server side
java.io.IOException
- error occurs during connecting to the server
ErrorResponseException
- if the response code isn't OK
MobileException
- if exception occursjava.io.Serializable invoke(java.lang.String operationName, java.util.Map param, java.lang.String responseDataId) throws java.io.IOException, ErrorResponseException, MobileException
operationName
- the operation nameparam
- The Map contains the JavaBean or Simple Java Object passed to the server side.
The key is the data id defined in the server side operation context definitionresponseDataId
- the response data id defined in the server side operation context
java.io.IOException
- error occurs during connecting to the server
ErrorResponseException
- if the response code isn't OK
MobileException
- if exception occursboolean establishSession() throws java.io.IOException, ErrorResponseException, MobileException
java.io.IOException
- error occurs during connecting to the server
ErrorResponseException
- if the response code isn't OK
MobileException
- if exception occurs
|
IBM WebSphere Multichannel Bank Transformation Toolkit Javadoc | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |