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