|
IBM WebSphere Multichannel Bank Transformation Toolkit Javadoc | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.btt.base.BTTOperation
com.ibm.btt.base.BTTServerOperation
com.ibm.btt.cs.ajax.AbstractPaginationOp
public abstract class AbstractPaginationOp
this class is used to handle the ajax table pagination request. Functional developer should implement this class to do real work. Main fuction: 1. chain the paginition operation context into parent context. e.g processor context 2. map necessary paginiation context info into invoked biz operation context as input 3. chain biz operation context into parent context. e.g processor context 4. invoke the biz operation for retrieve data into biz context 5. map the biz operation output context data into processor context. 6. unchain biz operaiton context
Nested Class Summary | |
---|---|
(package private) class |
AbstractPaginationOp.InternalOperationRepliedListener
|
Field Summary |
---|
Fields inherited from class com.ibm.btt.base.BTTOperation |
---|
aOperationRepliedListener, COMPID, externalizer |
Constructor Summary | |
---|---|
AbstractPaginationOp()
|
Method Summary | |
---|---|
protected abstract void |
afterExecuteBizOp()
This logic wll be implemented on the project level to handle the result from the business operation and put the necessary data into the operation context if necessary. |
protected abstract void |
beforeExecuteBizOp()
The logic will be implemented on the project-level to get some required parameters from the request data and put the parameter into the biz operation context and chain the biz operation context into parent(processor) context this is occurred before the biz operation instanced. |
void |
execute()
1. create the biz operation object and chain its context to parent context. 2. initial some necessary parameters for biz operation execution 3. mapping parent(processor) context data into operation context 4. execute biz operation 5. mapping biz operation context into parent(processor) context for reply 6. unchain biz operaton context |
BTTOperation |
getBizOp()
biz operation, it will help to get the real pagination data |
java.lang.String |
getTableData()
response table data, it should be align with the client widget if extended. |
protected abstract void |
handleBizOpInputMapping()
the alpha developer who create a new Technical operation can extends this method for adding some data mapping from parent/processor context to the biz operation context. |
protected abstract void |
handleBizOpOutputMapping()
the alpha developer who create a new Technical operation can extends this method for adding some data mapping from biz operation context into parent/processor context. |
protected abstract void |
handleException(java.lang.Exception e)
When an exception occurred in the operation executing process, how to handle the exception. maybe update the errMsg field or just throw the exception out |
protected void |
performBizOpInputMapper()
use mapper to map pagination operation context and parent context into biz operation context. so that biz operation can leverage the updated data do action. |
Methods inherited from class com.ibm.btt.base.BTTServerOperation |
---|
createOperation, fireExitEvent, getCSReplyFormat, getCSRequestFormat, getOriginWorkstation, runInSession, setCSReplyFormat, setCSRequestFormat, setOriginWorkstation, updateContext, updateContext, validate, validate |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface com.ibm.btt.base.Operation |
---|
addElement, addOperationRepliedListener, chainTo, close, getApplicationId, getContext, getContextName, getElementAt, getFormat, getFormats, getKeyedCollection, getName, getParent, getService, getType, getValueAt, isChained, prune, removeAt, removeOperationRepliedListener, setApplicationId, setContext, setContextName, setKeyedCollection, setName, setType, setValueAt, unchain, xValidate |
Methods inherited from interface com.ibm.btt.base.Cacheable |
---|
isCacheable, reinitialize |
Constructor Detail |
---|
public AbstractPaginationOp()
Method Detail |
---|
public BTTOperation getBizOp()
public final void execute() throws java.lang.Exception
execute
in interface Operation
execute
in class BTTServerOperation
java.lang.Exception
protected abstract void handleException(java.lang.Exception e) throws java.lang.Exception
e
-
java.lang.Exception
protected abstract void beforeExecuteBizOp() throws DSEException
DSEException
protected abstract void handleBizOpInputMapping() throws DSEException
DSEException
protected abstract void handleBizOpOutputMapping() throws DSEException
DSEException
protected abstract void afterExecuteBizOp() throws DSEException
DSEException
protected void performBizOpInputMapper() throws DSEObjectNotFoundException, DSEInvalidArgumentException, DSEInvalidClassException, DSEInvalidRequestException
DSEObjectNotFoundException
DSEInvalidArgumentException
DSEInvalidRequestException
DSEInvalidClassException
public java.lang.String getTableData()
|
IBM WebSphere Multichannel Bank Transformation Toolkit Javadoc | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |