public class GUIDHelper extends Object
| Constructor and Description |
|---|
GUIDHelper() |
| Modifier and Type | Method and Description |
|---|---|
static String |
createCSIConversationId(String partnerName)
returns the unique conversation id in the CSI format
|
static String |
createCSIConversationId(String partnerName,
String guid)
returns the unique conversation id in the CSI format
|
static String |
createGUID()
returns a Unique Universal identifier
|
static String |
createUniqueTransactionId()
returns the unique transaction id in the CSI format
|
static String |
createValidCSIConversationId(String partnerName,
String conversationId)
Checks if the conversation ID is of the proper CSI conversation id
format.
|
static String |
insertConversationId(byte[] message,
String conversationId) |
static boolean |
isValidCSIConversationId(String partnerName,
String conversationId)
Checks if the conversation ID is of the proper CSI conversation id
format.
|
public static String createCSIConversationId(String partnerName)
partnerName - - the partnername to prependpublic static String createUniqueTransactionId()
public static String createCSIConversationId(String partnerName, String guid)
partnerName - - the partnername to prependguid - - the guidpublic static String createGUID()
public static boolean isValidCSIConversationId(String partnerName, String conversationId)
partnerName - - The partner name whose conversation ID will be verifiedconversationId - - The id that will be checkedpublic static String createValidCSIConversationId(String partnerName, String conversationId)
partnerName - - The partner name that will be usedconversationId - - The id that will be checkedCopyright © 2017 Pivotal Software, Inc.. All rights reserved.