T
- public abstract class BaseOperation<T extends Serializable> extends Object implements Operation<T>
Operation
implementations.Constructor and Description |
---|
BaseOperation() |
Modifier and Type | Method and Description |
---|---|
void |
beforeInvoke(int token,
Connection connection)
This method will be called on the client-side to prepare an operation for invocation on the
server-side.
|
int |
getClientToken() |
protected SaBasicException |
mapException(Exception e) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
afterInvoke, getResult, invoke
public void beforeInvoke(int token, Connection connection) throws SaAuthenticationException, SaSystemException
Operation
BaseOperation
.
The token can be retrieved by getClientToken()
.beforeInvoke
in interface Operation<T extends Serializable>
token
- session tokenconnection
- the connection the operation is invoked onSaAuthenticationException
SaSystemException
public int getClientToken()
protected SaBasicException mapException(Exception e)
Copyright © 2016 SAPERION AG. All rights reserved.