public class UpdateDocument extends AbstractOperation<SaSaveInfo>
SaRMIServerCommand.saveDocument(int, String, String, List)
does.
The invoke()
method will return an instance of SaSaveInfo
.Constructor and Description |
---|
UpdateDocument(UpdateDocumentInfo documentInfo) |
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.
|
SaSaveInfo |
invoke()
The method that will be called on the server side.
|
afterInvoke, getResult, toArrayList, toString
getClientToken, mapException
public UpdateDocument(UpdateDocumentInfo documentInfo)
documentInfo
- information about the document to updatepublic void beforeInvoke(int token, Connection connection) throws SaAuthenticationException, SaSystemException
Operation
BaseOperation
.
The token can be retrieved by BaseOperation.getClientToken()
.beforeInvoke
in interface Operation<SaSaveInfo>
beforeInvoke
in class BaseOperation<SaSaveInfo>
token
- session tokenconnection
- the connection the operation is invoked onSaAuthenticationException
SaSystemException
public SaSaveInfo invoke() throws SaBasicException
Operation
SaBasicException
- exception when invoking this operationCopyright © 2016 SAPERION AG. All rights reserved.