public class ApplyBatch extends AbstractOperation<ArrayList<Serializable>>
invoke() method will be an instance of
ArrayList<Serializable>.| Constructor and Description |
|---|
ApplyBatch(List<Operation<? extends Serializable>> batch)
Creates an instance of ApplyBatch that will invoke the given operations in the given order.
|
ApplyBatch(Operation<? extends Serializable>... batch)
Creates an instance of ApplyBatch that will invoke the given operations in the given order.
|
| Modifier and Type | Method and Description |
|---|---|
void |
afterInvoke(Object result,
Connection connection)
This method will be called on the client side e.g.
|
ArrayList<Serializable> |
invoke()
The method that will be called on the server side.
|
getResult, toArrayList, toStringbeforeInvoke, getClientToken, mapExceptionpublic ApplyBatch(List<Operation<? extends Serializable>> batch)
batch - The operations in the order to invokepublic ApplyBatch(Operation<? extends Serializable>... batch)
batch - The operations in the order to invokepublic ArrayList<Serializable> invoke() throws SaBasicException
OperationSaBasicException - exception when invoking this operationpublic void afterInvoke(Object result, Connection connection)
OperationafterInvoke in interface Operation<ArrayList<Serializable>>afterInvoke in class AbstractOperation<ArrayList<Serializable>>result - The result of invoke obtained by the rmi-callCopyright © 2016 SAPERION AG. All rights reserved.