public class StoreHelper
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String | COPYRIGHT
IBM Copyright field
|
Constructor and Description |
---|
StoreHelper() |
Modifier and Type | Method and Description |
---|---|
static java.lang.Long | findCatalogId(long buyerId, long supplierId, java.lang.Integer protocolId)
Finds the catalog in a store that belongs to a supplier, a buyer, and a protocol through accessing the B2BMAPPING table.
|
static java.lang.Long | findMemberGroupId(long buyerId, long supplierId, java.lang.Integer protocolId)
Finds the memberGroup given the supplier ID, the buyer ID, and the protocol ID.
|
static java.lang.Integer | findStoreId(java.lang.Long supplierId, java.lang.Long catalogId, java.lang.Long contractId)
Find the store that the given catalog belongs to.
|
static java.lang.String | getResponseErrorView(java.lang.String protocolId, java.lang.String buyerId, java.lang.String message)
This method gets the response error view based on a protocol, buyer, and message.
|
static java.lang.String | getResponseViewName(java.lang.String protocolId, java.lang.String buyerId, java.lang.String message)
This method gets the response view name based on a protocol, buyer, and message.
|
public static final java.lang.String COPYRIGHT
public static java.lang.Long findCatalogId(long buyerId, long supplierId, java.lang.Integer protocolId)
public static java.lang.Long findMemberGroupId(long buyerId, long supplierId, java.lang.Integer protocolId)
public static java.lang.Integer findStoreId(java.lang.Long supplierId, java.lang.Long catalogId, java.lang.Long contractId)
public static java.lang.String getResponseErrorView(java.lang.String protocolId, java.lang.String buyerId, java.lang.String message)
public static java.lang.String getResponseViewName(java.lang.String protocolId, java.lang.String buyerId, java.lang.String message)