Package com.saperion.operations.document
Class CreateDocument
- java.lang.Object
-
- com.lexmark.saperion.remote.common.operations.AbstractOperation<T,SaBasicException,LegacyConnection>
-
- com.saperion.operations.LegacyOperation<SaSaveInfo>
-
- com.saperion.operations.document.CreateDocument
-
- All Implemented Interfaces:
com.lexmark.saperion.remote.common.operations.Operation<SaSaveInfo,SaBasicException,LegacyConnection>,java.io.Serializable
public class CreateDocument extends LegacyOperation<SaSaveInfo>
Creates a Document. Theinvoke()method will return an instance ofSaSaveInfo.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description CreateDocument(DocumentInfo document)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidbeforeInvoke(int token, LegacyConnection connection)SaSaveInfoinvoke()-
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
-
-
-
-
Constructor Detail
-
CreateDocument
public CreateDocument(DocumentInfo document)
- Parameters:
document- information about the document to create
-
-
Method Detail
-
beforeInvoke
public void beforeInvoke(int token, LegacyConnection connection) throws SaBasicException- Overrides:
beforeInvokein classLegacyOperation<SaSaveInfo>- Throws:
SaBasicException
-
invoke
public SaSaveInfo invoke() throws SaBasicException
- Throws:
SaBasicException
-
-