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)
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.
|
getResult, setResult, toStringgetClientTokenpublic UpdateDocument(UpdateDocumentInfo documentInfo)
documentInfo - information about the document to updatepublic void beforeInvoke(int token)
OperationBaseOperation.
The token can be retrieved by BaseOperation.getClientToken().beforeInvoke in interface Operation<SaSaveInfo>beforeInvoke in class BaseOperation<SaSaveInfo>token - session tokenpublic SaSaveInfo invoke() throws Exception
OperationException - exception when invoking this operationCopyright © 2016 SAPERION AG. All rights reserved.