Class TIDManager
- java.lang.Object
-
- com.ibm.di.connector.sapr3.aleidocv3.TIDManager
-
public class TIDManager extends java.lang.ObjectObject 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 intTID_STAT_COMMITstatic intTID_STAT_CONFIRMstatic intTID_STAT_INITIALstatic intTID_STAT_PROCESSINGstatic intTID_STAT_ROLLBACKstatic java.lang.StringTID_STAT_STR_COMMITstatic java.lang.StringTID_STAT_STR_CONFIRMstatic java.lang.StringTID_STAT_STR_INITIALstatic java.lang.StringTID_STAT_STR_PROCESSINGstatic java.lang.StringTID_STAT_STR_ROLLBACKstatic java.lang.StringTID_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.ListgetIdocEntries()java.lang.StringgetTid()intgetTidStatus()java.lang.StringgetTidStatusAsString()voidsetIdocEntries(java.util.List idocEntries)voidsetTidStatus(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.
-
-