Class 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
    This Operation 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 new operation that removes the data the current session associates with the given keys.
    • Constructor Detail

      • RemoveSessionData

        public RemoveSessionData​(java.util.List<com.lexmark.saperion.remote.common.session.SessionDataKey> keys)
        This creates a new operation 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 class VoidOperation
        Throws:
        java.lang.Exception - exception when invoking this operation