Package com.tietoenator.trip.jxp.session
Class TdbSessionObject
- java.lang.Object
-
- com.tietoenator.trip.jxp.session.TdbSessionObject
-
- Direct Known Subclasses:
TdbGraphNotification
,TdbGraphPath
,TdbGraphPathEdge
,TdbGraphPathVertex
,TdbMessageProvider
,TdbSearchSet
public class TdbSessionObject extends java.lang.Object
Base class for all objects that depend on a TdbSession to do anything, i.e. anything but strict utility classes
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
cancel()
Cancel xml transactionTdbSession
getSession()
Retrieve the session objectboolean
isCancelable()
Retrieve cancelable statevoid
setCancelable(boolean cancelable)
Set cancelable state
-
-
-
Method Detail
-
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
-
-