public class CreateDocumentOperation extends AbstractOperation<com.lexmark.saperion.document.DocumentStoreInformationType>
Operation stores a new document in the system.| Constructor and Description |
|---|
CreateDocumentOperation(com.lexmark.saperion.document.DocumentDefinitionReferenceType definition,
Map<String,Object> indexData,
com.lexmark.saperion.document.DocumentElementType rootElement) |
| 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.
|
com.lexmark.saperion.document.DocumentStoreInformationType |
invoke()
The method that will be called on the server side.
|
afterInvoke, getResult, toArrayList, toStringgetClientToken, mapExceptionpublic void beforeInvoke(int token,
Connection connection)
throws SaAuthenticationException,
SaSystemException
OperationBaseOperation.
The token can be retrieved by BaseOperation.getClientToken().beforeInvoke in interface Operation<com.lexmark.saperion.document.DocumentStoreInformationType>beforeInvoke in class BaseOperation<com.lexmark.saperion.document.DocumentStoreInformationType>token - session tokenconnection - the connection the operation is invoked onSaAuthenticationExceptionSaSystemExceptionpublic com.lexmark.saperion.document.DocumentStoreInformationType invoke()
throws SaBasicException
OperationSaBasicException - exception when invoking this operationCopyright © 2016 SAPERION AG. All rights reserved.