Package oracle.tip.b2b.utility
Class InstanceMessageUtil
java.lang.Object
oracle.tip.b2b.utility.InstanceMessageUtil
- All Implemented Interfaces:
Serializable
Retrieves InstanceMessages from B2B repository. Here is the sample usage of
this class:
import oracle.tip.adapter.b2b.message.InstanceMessage; import oracle.tip.adapter.b2b.utility.InstanceMessageUtil; public class MyInstanceData { public static void main(String[] args) throws Exception { InstanceMessageUtil util = new InstanceMessageUtil(); InstanceMessage[] messages = util.getInstanceMessages("10/10/2005", "10/28/2005", "GlobalChips"); System.out.println("Number of messages: " + messages.length); } }
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetCorrelatedMsgsForMsgId
(String messageId) To get the correlated messages along with the original message for the given message IdgetInstanceMessagesForAgreementName
(String agreementName) getInstanceMessagesForControlNumber
(String intCN, String grpCN, String trxCN, String tpName, String docType) getInstanceMessagesForConversationId
(String conversationId) getInstanceMessagesForCorrealtionFlowId
(String correlationFlowId) getInstanceMessagesForDateRange
(String startDateStr, String endDateStr, String tpName) getInstanceMessagesForDateRange
(String startDateStr, String endDateStr, String tpName, String direction) getInstanceMessagesForMsgId
(String messageId) getInstanceMessagesForMsgState
(String msgState) getInstanceMessagesForOrderNumber
(String orderNumber) getInstanceMessagesForProtMsgId
(String protMsgId) getInstanceMessagesForTP
(String tpName) getInstanceMessagesForTP
(String tpName, String direction) getInstanceMessagesForTPA
(String tpaName) getInstanceMessagesForTPAndDocType
(String tpName, String docType) getInstanceMessagesForTPAndMsgState
(String tpName, String msgState) getInstanceMessagesForXpathExpression
(String expression1) getInstanceMessagesForXpathExpression
(String expression1, String expression2) getInstanceMessagesForXpathExpression
(String expression1, String expression2, String expression3) getInstanceMessagesForXpathValue
(String expression1) getInstanceMessagesForXpathValue
(String expression1, String expression2) getInstanceMessagesForXpathValue
(String value1, String value2, String value3) static void
-
Constructor Details
-
InstanceMessageUtil
public InstanceMessageUtil() -
InstanceMessageUtil
-
-
Method Details
-
getInstanceMessagesForDateRange
public Vector getInstanceMessagesForDateRange(String startDateStr, String endDateStr, String tpName) throws Exception - Throws:
Exception
-
getInstanceMessagesForDateRange
public Vector getInstanceMessagesForDateRange(String startDateStr, String endDateStr, String tpName, String direction) throws Exception - Throws:
Exception
-
getInstanceMessagesForMsgId
- Throws:
Exception
-
getInstanceMessagesForCorrealtionFlowId
- Throws:
Exception
-
getInstanceMessagesForAgreementName
- Throws:
Exception
-
getInstanceMessagesForXpathExpression
public Vector getInstanceMessagesForXpathExpression(String expression1, String expression2, String expression3) throws Exception - Throws:
Exception
-
getInstanceMessagesForXpathExpression
public Vector getInstanceMessagesForXpathExpression(String expression1, String expression2) throws Exception - Throws:
Exception
-
getInstanceMessagesForXpathExpression
- Throws:
Exception
-
getInstanceMessagesForXpathValue
public Vector getInstanceMessagesForXpathValue(String value1, String value2, String value3) throws Exception - Throws:
Exception
-
getInstanceMessagesForXpathValue
public Vector getInstanceMessagesForXpathValue(String expression1, String expression2) throws Exception - Throws:
Exception
-
getInstanceMessagesForXpathValue
- Throws:
Exception
-
getInstanceMessagesForConversationId
- Throws:
Exception
-
getInstanceMessagesForProtMsgId
- Throws:
Exception
-
getInstanceMessagesForTP
- Throws:
Exception
-
getInstanceMessagesForTP
- Throws:
Exception
-
getInstanceMessagesForTPAndDocType
- Throws:
Exception
-
getInstanceMessagesForMsgState
- Throws:
Exception
-
getInstanceMessagesForTPAndMsgState
- Throws:
Exception
-
getInstanceMessagesForOrderNumber
- Throws:
Exception
-
getInstanceMessagesForControlNumber
public Vector getInstanceMessagesForControlNumber(String intCN, String grpCN, String trxCN, String tpName, String docType) throws Exception - Throws:
Exception
-
getInstanceMessagesForTPA
- Throws:
Exception
-
main
-