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)
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, toString
getClientToken
public CreateDocument(DocumentInfo document)
document
- information about the document to createpublic void beforeInvoke(int token)
Operation
BaseOperation
.
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
Operation
Exception
- exception when invoking this operationCopyright © 2016 SAPERION AG. All rights reserved.