Package com.tietoenator.trip.jxp.session
Class TdbSessionObject
java.lang.Object
com.tietoenator.trip.jxp.session.TdbSessionObject
- Direct Known Subclasses:
TdbControlCacheManager,TdbGraphNotification,TdbGraphPath,TdbGraphPathEdge,TdbGraphPathVertex,TdbMessageProvider,TdbSearchSet
Base class for all objects that depend on a TdbSession to do anything, i.e.
anything but strict utility classes
-
Method Summary
Modifier and TypeMethodDescriptionvoidcancel()Cancel xml transactionRetrieve the session objectbooleanRetrieve cancelable statevoidsetCancelable(boolean cancelable) Set cancelable state
-
Method Details
-
getSession
Retrieve the session object- Returns:
- The active session
-
isCancelable
public boolean isCancelable()Retrieve cancelable state- Returns:
- true if object is cancelable
-
setCancelable
Set cancelable state- Parameters:
cancelable- true if object is cancelable- Throws:
TdbException
-
cancel
Cancel xml transaction- Throws:
TdbException
-