Package com.saperion.operations
Class RemoveSessionData
- 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
-
- com.saperion.operations.RemoveSessionData
-
- All Implemented Interfaces:
com.lexmark.saperion.remote.common.operations.Operation<com.lexmark.saperion.remote.common.operations.Void,SaBasicException,LegacyConnection>
,java.io.Serializable
public class RemoveSessionData extends VoidOperation
ThisOperation
removes the data the current session associates with the given keys. Data registered as closable will be closed.- Author:
- jschwarz
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description RemoveSessionData(java.util.List<com.lexmark.saperion.remote.common.session.SessionDataKey> keys)
This creates a newoperation
that removes the data the current session associates with the given keys.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
voidInvoke()
Invokes this void operation.-
Methods inherited from class com.saperion.operations.VoidOperation
afterInvoke, getResult, invoke
-
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
-
-
-
-
Constructor Detail
-
RemoveSessionData
public RemoveSessionData(java.util.List<com.lexmark.saperion.remote.common.session.SessionDataKey> keys)
This creates a newoperation
that removes the data the current session associates with the given keys. Data registered as closable will be closed.- Parameters:
keys
- the keys of the data to remove from the current session. Must not be null
-
-
Method Detail
-
voidInvoke
protected void voidInvoke() throws java.lang.Exception
Description copied from class:VoidOperation
Invokes this void operation.- Specified by:
voidInvoke
in classVoidOperation
- Throws:
java.lang.Exception
- exception when invoking this operation
-
-