Package com.saperion.operations.document
Class CreateDocumentOperation
- java.lang.Object
-
- com.lexmark.saperion.remote.common.operations.AbstractOperation<T,SaBasicException,LegacyConnection>
-
- com.saperion.operations.LegacyOperation<com.lexmark.saperion.document.DocumentStoreInformationType>
-
- com.saperion.operations.document.CreateDocumentOperation
-
- All Implemented Interfaces:
com.lexmark.saperion.remote.common.operations.Operation<com.lexmark.saperion.document.DocumentStoreInformationType,SaBasicException,LegacyConnection>
,java.io.Serializable
public class CreateDocumentOperation extends LegacyOperation<com.lexmark.saperion.document.DocumentStoreInformationType>
ThisOperation
stores a new document in the system.- Author:
- jschwarz
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description CreateDocumentOperation(com.lexmark.saperion.archive.ArchiveReferenceType definition, java.util.Map<java.lang.String,java.lang.Object> indexData, com.lexmark.saperion.document.DocumentElementType rootElement)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
beforeInvoke(int token, LegacyConnection connection)
com.lexmark.saperion.document.DocumentStoreInformationType
invoke()
-
Methods inherited from class com.saperion.operations.LegacyOperation
beforeInvoke, getClientToken, mapEcmException, mapException
-
Methods inherited from class com.lexmark.saperion.remote.common.operations.AbstractOperation
afterInvoke, getResult, toArrayList, toCaseInsensitiveMap, toHashMap, toString
-
-
-
-
Method Detail
-
beforeInvoke
public void beforeInvoke(int token, LegacyConnection connection) throws SaBasicException
- Overrides:
beforeInvoke
in classLegacyOperation<com.lexmark.saperion.document.DocumentStoreInformationType>
- Throws:
SaBasicException
-
invoke
public com.lexmark.saperion.document.DocumentStoreInformationType invoke() throws SaBasicException
- Throws:
SaBasicException
-
-