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.
-
-
Field Summary
Fields Modifier and Type Field Description static int
TID_STAT_COMMIT
static int
TID_STAT_CONFIRM
static int
TID_STAT_INITIAL
static int
TID_STAT_PROCESSING
static int
TID_STAT_ROLLBACK
static java.lang.String
TID_STAT_STR_COMMIT
static java.lang.String
TID_STAT_STR_CONFIRM
static java.lang.String
TID_STAT_STR_INITIAL
static java.lang.String
TID_STAT_STR_PROCESSING
static java.lang.String
TID_STAT_STR_ROLLBACK
static java.lang.String
TID_STAT_STR_UNKNOWN
-
Constructor Summary
Constructors Constructor Description TIDManager(java.lang.String tid, java.util.List idocEntries)
Default constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List
getIdocEntries()
java.lang.String
getTid()
int
getTidStatus()
java.lang.String
getTidStatusAsString()
void
setIdocEntries(java.util.List idocEntries)
void
setTidStatus(int tidStatus)
-
-
-
Field Detail
-
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
-
-
Method Detail
-
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.
-
-