public class CreateDocument extends AbstractOperation<SaSaveInfo>
invoke() method will return an instance of
SaSaveInfo.| Constructor and Description |
|---|
CreateDocument(DocumentInfo document) |
| 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, toStringgetClientToken, mapExceptionpublic CreateDocument(DocumentInfo document)
document - information about the document to createpublic void beforeInvoke(int token,
Connection connection)
throws SaAuthenticationException,
SaSystemException
OperationBaseOperation.
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 onSaAuthenticationExceptionSaSystemExceptionpublic SaSaveInfo invoke() throws SaBasicException
OperationSaBasicException - exception when invoking this operationCopyright © 2016 SAPERION AG. All rights reserved.