Package com.saperion.operations
Class VoidOperation
- java.lang.Object
-
- com.lexmark.saperion.remote.common.operations.AbstractOperation<T,SaBasicException,LegacyConnection>
-
- com.saperion.operations.LegacyOperation<com.lexmark.saperion.remote.common.operations.Void>
-
- com.saperion.operations.VoidOperation
-
- All Implemented Interfaces:
com.lexmark.saperion.remote.common.operations.Operation<com.lexmark.saperion.remote.common.operations.Void,SaBasicException,LegacyConnection>
,java.io.Serializable
- Direct Known Subclasses:
ChangePassword
,DeleteAllMediaOperation
,DeleteDocument
,DeleteLookupEntry
,DeleteNamedMediaOperation
,ExecuteStoredProcedure
,FireCustomEvent
,RemoveSessionData
,SetCurrentUserPresent
,SetCurrentUserSubstituteAccess
,SetDocumentRead
,SetDocumentUnread
,SetUserExtensionCacheEnabled
,StoreSystemFileOperation
,UpdateCurrentUserInformation
,UpdateFolder
,UpdateLookupEntry
public abstract class VoidOperation extends LegacyOperation<com.lexmark.saperion.remote.common.operations.Void>
Convenience class for Commands without return value.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description VoidOperation()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description void
afterInvoke(java.lang.Object result, LegacyConnection connection)
com.lexmark.saperion.remote.common.operations.Void
getResult()
com.lexmark.saperion.remote.common.operations.Void
invoke()
protected abstract void
voidInvoke()
Invokes this void operation.-
Methods inherited from class com.saperion.operations.LegacyOperation
beforeInvoke, beforeInvoke, getClientToken, mapEcmException, mapException
-
Methods inherited from class com.lexmark.saperion.remote.common.operations.AbstractOperation
toArrayList, toCaseInsensitiveMap, toHashMap, toString
-
-
-
-
Method Detail
-
voidInvoke
protected abstract void voidInvoke() throws java.lang.Exception
Invokes this void operation.- Throws:
java.lang.Exception
- exception when invoking this operation
-
invoke
public com.lexmark.saperion.remote.common.operations.Void invoke() throws SaBasicException
- Throws:
SaBasicException
-
afterInvoke
public void afterInvoke(java.lang.Object result, LegacyConnection connection)
- Specified by:
afterInvoke
in interfacecom.lexmark.saperion.remote.common.operations.Operation<com.lexmark.saperion.remote.common.operations.Void,SaBasicException,LegacyConnection>
- Overrides:
afterInvoke
in classcom.lexmark.saperion.remote.common.operations.AbstractOperation<com.lexmark.saperion.remote.common.operations.Void,SaBasicException,LegacyConnection>
-
getResult
public com.lexmark.saperion.remote.common.operations.Void getResult()
- Specified by:
getResult
in interfacecom.lexmark.saperion.remote.common.operations.Operation<com.lexmark.saperion.remote.common.operations.Void,SaBasicException,LegacyConnection>
- Overrides:
getResult
in classcom.lexmark.saperion.remote.common.operations.AbstractOperation<com.lexmark.saperion.remote.common.operations.Void,SaBasicException,LegacyConnection>
-
-