com.ibm.di.connector.sapr3.aleidoc
Class TIDManager
java.lang.Object
com.ibm.di.connector.sapr3.aleidoc.TIDManager
public class TIDManager extends java.lang.Object
Object that is created for tempory storage of a single transaction's TID and
IDoc list or function. The state of the transaction is tracked and checked
when onConfirmTID() is invoked.
Constructor Summary
TIDManager (java.lang.String tid,
java.util.List idocEntries)
Default constructor
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
TID_STAT_STR_INITIAL
public static final java.lang.String TID_STAT_STR_INITIAL
See Also: Constant Field Values
TID_STAT_STR_PROCESSING
public static final java.lang.String TID_STAT_STR_PROCESSING
See Also: Constant Field Values
TID_STAT_STR_COMMIT
public static final java.lang.String TID_STAT_STR_COMMIT
See Also: Constant Field Values
TID_STAT_STR_ROLLBACK
public static final java.lang.String TID_STAT_STR_ROLLBACK
See Also: Constant Field Values
TID_STAT_STR_CONFIRM
public static final java.lang.String TID_STAT_STR_CONFIRM
See Also: Constant Field Values
TID_STAT_STR_UNKNOWN
public static final java.lang.String TID_STAT_STR_UNKNOWN
See Also: Constant Field Values
TID_STAT_INITIAL
public static final int TID_STAT_INITIAL
See Also: Constant Field Values
TID_STAT_PROCESSING
public static final int TID_STAT_PROCESSING
See Also: Constant Field Values
TID_STAT_COMMIT
public static final int TID_STAT_COMMIT
See Also: Constant Field Values
TID_STAT_ROLLBACK
public static final int TID_STAT_ROLLBACK
See Also: Constant Field Values
TID_STAT_CONFIRM
public static final int TID_STAT_CONFIRM
See Also: Constant Field Values
TIDManager
public TIDManager (java.lang.String tid,
java.util.List idocEntries)
Default constructor
Parameters: tid
- idocEntries
-
getTidStatus
public int getTidStatus ()
Returns: Returns the tidStatus.
getTidStatusAsString
public java.lang.String getTidStatusAsString ()
Returns: Returns the tidStatus as a string.
setTidStatus
public void setTidStatus (int tidStatus)
Parameters: tidStatus
- The tidStatus to set.
getTid
public java.lang.String getTid ()
Returns: Returns the tid.
getIdocEntries
public java.util.List getIdocEntries ()
Returns: Returns the TDI IDoc or RFM Entry list.
setIdocEntries
public void setIdocEntries (java.util.List idocEntries)
Parameters: idocEntries
- The TDI IDoc or RFM Entry list to set.