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 |
---|---|
ArrayList<Serializable> |
invoke()
The method that will be called on the server side.
|
void |
setResult(Object result)
setResult will be called on the client side to assign the result.
|
getResult, toString
beforeInvoke, getClientToken
public 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 Exception
Operation
Exception
- exception when invoking this operationpublic void setResult(Object result)
Operation
setResult
in interface Operation<ArrayList<Serializable>>
setResult
in class AbstractOperation<ArrayList<Serializable>>
result
- The result of invoke obtained by the rmi-callCopyright © 2016 SAPERION AG. All rights reserved.