Package com.saperion.operations
Class LegacyOperation<T extends 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> 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 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:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidbeforeInvoke(int token, LegacyConnection connection) voidbeforeInvoke(LegacyConnection connection) intstatic SaSystemExceptionmapEcmException(com.lexmark.saperion.exceptions.EcmException e) protected SaBasicExceptionMethods inherited from class com.lexmark.saperion.remote.common.operations.AbstractOperation
afterInvoke, getResult, toArrayList, toCaseInsensitiveMap, toHashMap, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.lexmark.saperion.remote.common.operations.Operation
audit, dispatchEvent, invoke, isAuditable, isEventDispatcher
-
Constructor Details
-
LegacyOperation
public LegacyOperation()
-
-
Method Details
-
beforeInvoke
- Specified by:
beforeInvokein interfacecom.lexmark.saperion.remote.common.operations.Operation<T extends Serializable,SaBasicException, LegacyConnection> - Overrides:
beforeInvokein classcom.lexmark.saperion.remote.common.operations.AbstractOperation<T extends Serializable,SaBasicException, LegacyConnection> - Throws:
SaBasicException
-
beforeInvoke
- Throws:
SaBasicException
-
mapEcmException
-
mapException
-
getClientToken
public int getClientToken()- Returns:
- the token that was set by the invoke method on the client-side.
-