public class MarketplacePriceListRegistry
extends java.lang.Object
implements com.ibm.commerce.registry.Registry
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
COPYRIGHT
The IBM copyright string.
|
static java.lang.String |
REGISTRY_NAME
The name of this registry.
|
Constructor and Description |
---|
MarketplacePriceListRegistry()
Constructor for MarketplacePriceListRegistry.
|
Modifier and Type | Method and Description |
---|---|
static MarketplacePriceListRegistry |
getInstance()
Returns the MarketplacePriceListRegistry instance.
|
java.lang.Long |
getSupplierContractId(java.lang.Long anSupplierPriceListId)
Returns the supplier Contract ID corresponding to the specified supplier PriceList.
|
java.lang.Long[] |
getSupplierPriceListIds(java.lang.Integer anMarketplaceStoreId)
Returns the supplier PriceList IDs of the specified marketplace Store.
|
java.lang.Integer |
getSupplierStoreId(java.lang.Long anSupplierContractId)
Returns the supplier Store ID of the specified supplier Contract ID.
|
void |
initialize()
Initialize this registry instance.
|
void |
refresh()
Refreshes this registry instance.
|
public static final java.lang.String COPYRIGHT
public static final java.lang.String REGISTRY_NAME
public MarketplacePriceListRegistry()
public static MarketplacePriceListRegistry getInstance()
public java.lang.Long getSupplierContractId(java.lang.Long anSupplierPriceListId)
anSupplierPriceListId
- the supplier PriceList ID.public java.lang.Long[] getSupplierPriceListIds(java.lang.Integer anMarketplaceStoreId) throws com.ibm.commerce.exception.ECException
anMarketplaceStoreId
- the marketplace Store ID.com.ibm.commerce.exception.ECException
public java.lang.Integer getSupplierStoreId(java.lang.Long anSupplierContractId)
anSupplierContractId
- the supplier Contract ID.public void initialize() throws java.lang.Exception
initialize
in interface com.ibm.commerce.registry.Registry
java.lang.Exception
Registry.initialize()
public void refresh() throws java.lang.Exception
refresh
in interface com.ibm.commerce.registry.Registry
java.lang.Exception
Registry.refresh()