Package com.saperion.operations
Class LegacyOperation<T extends java.io.Serializable>
- java.lang.Object
-
- com.lexmark.saperion.remote.common.operations.AbstractOperation<T,SaBasicException,LegacyConnection>
-
- com.saperion.operations.LegacyOperation<T>
-
- Type Parameters:
T-
- All Implemented Interfaces:
com.lexmark.saperion.remote.common.operations.Operation<T,SaBasicException,LegacyConnection>,java.io.Serializable
- Direct Known Subclasses:
ApplyBatch,CloneDocument,CountTasks,CreateDocument,CreateDocumentOperation,CreateFolder,CreateLookupEntry,CreateLookupEntryOperation,GetAccessOnLookupEntry,GetAllBoxCounts,GetBoxCount,GetBoxCountCompleted,GetBoxCountCreated,GetBoxCountDue,GetBoxCountReminders,GetCurrentUserInfo,GetDocumentInfo,GetIxosDDCNames,GetLatestRevisionId,GetLookupEntryAccessControlListsOperation,GetLookupEntryOperation,GetProcessDefinitions,GetServerSideClientConfiguration,GetStreamingConfiguration,InTransaction,LegacyOperationAdapter,ListStorageOperation,LoadDocumentById,LoadDocumentRevisionById,LoadWorkflowDefinition,ReadContentStreamPart,ReadSelectableUsersForTransition,UpdateDocument,VoidOperation
public abstract class LegacyOperation<T extends java.io.Serializable> extends com.lexmark.saperion.remote.common.operations.AbstractOperation<T,SaBasicException,LegacyConnection>
This is the base class for all legacy operations. i.e. Operations that throw SaBasicException.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description LegacyOperation()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidbeforeInvoke(int token, LegacyConnection connection)voidbeforeInvoke(LegacyConnection connection)intgetClientToken()static SaSystemExceptionmapEcmException(com.lexmark.saperion.exceptions.EcmException e)protected SaBasicExceptionmapException(java.lang.Exception e)-
Methods inherited from class com.lexmark.saperion.remote.common.operations.AbstractOperation
afterInvoke, getResult, toArrayList, toCaseInsensitiveMap, toHashMap, toString
-
-
-
-
Method Detail
-
beforeInvoke
public void beforeInvoke(LegacyConnection connection) throws SaBasicException
- Specified by:
beforeInvokein interfacecom.lexmark.saperion.remote.common.operations.Operation<T extends java.io.Serializable,SaBasicException,LegacyConnection>- Overrides:
beforeInvokein classcom.lexmark.saperion.remote.common.operations.AbstractOperation<T extends java.io.Serializable,SaBasicException,LegacyConnection>- Throws:
SaBasicException
-
beforeInvoke
public void beforeInvoke(int token, LegacyConnection connection) throws SaBasicException- Throws:
SaBasicException
-
mapEcmException
public static SaSystemException mapEcmException(com.lexmark.saperion.exceptions.EcmException e)
-
mapException
protected SaBasicException mapException(java.lang.Exception e)
-
getClientToken
public int getClientToken()
- Returns:
- the token that was set by the invoke method on the client-side.
-
-