Class TdbSessionObject

java.lang.Object
com.tietoenator.trip.jxp.session.TdbSessionObject
Direct Known Subclasses:
TdbControlCacheManager, TdbGraphNotification, TdbGraphPath, TdbGraphPathEdge, TdbGraphPathVertex, TdbMessageProvider, TdbSearchSet

public class TdbSessionObject extends Object
Base class for all objects that depend on a TdbSession to do anything, i.e. anything but strict utility classes
  • Method Details

    • getSession

      public TdbSession getSession()
      Retrieve the session object
      Returns:
      The active session
    • isCancelable

      public boolean isCancelable()
      Retrieve cancelable state
      Returns:
      true if object is cancelable
    • setCancelable

      public void setCancelable(boolean cancelable) throws TdbException
      Set cancelable state
      Parameters:
      cancelable - true if object is cancelable
      Throws:
      TdbException
    • cancel

      public void cancel() throws TdbException
      Cancel xml transaction
      Throws:
      TdbException