com.ibm.commerce.price.commands
Class MarketplacePriceListRegistry

java.lang.Object
  |
  +--com.ibm.commerce.price.commands.MarketplacePriceListRegistry
All Implemented Interfaces:
Registry

public class MarketplacePriceListRegistry
extends java.lang.Object
implements Registry

Registry for fixed pricing in marketplace Store.


Field Summary
static java.lang.String COPYRIGHT
          The IBM copyright string.
static java.lang.String REGISTRY_NAME
          The name of this registry.
 
Constructor Summary
MarketplacePriceListRegistry()
          Constructor for MarketplacePriceListRegistry.
 
Method Summary
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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail
public static final java.lang.String COPYRIGHT
The IBM copyright string.
See Also:
Constant Field Values

REGISTRY_NAME

public static final java.lang.String REGISTRY_NAME
The name of this registry.
See Also:
Constant Field Values
Constructor Detail

MarketplacePriceListRegistry

public MarketplacePriceListRegistry()
Constructor for MarketplacePriceListRegistry.
Method Detail

getInstance

public static MarketplacePriceListRegistry getInstance()
Returns the MarketplacePriceListRegistry instance.
Returns:
the MarketplacePriceListRegistry instance

initialize

public void initialize()
                throws java.lang.Exception
Initialize this registry instance.
Specified by:
initialize in interface Registry
Throws:
java.lang.Exception
See Also:
Registry.initialize()

refresh

public void refresh()
             throws java.lang.Exception
Refreshes this registry instance.
Specified by:
refresh in interface Registry
Throws:
java.lang.Exception
See Also:
Registry.refresh()

getSupplierPriceListIds

public java.lang.Long[] getSupplierPriceListIds(java.lang.Integer anMarketplaceStoreId)
                                         throws ECException
Returns the supplier PriceList IDs of the specified marketplace Store.
Parameters:
anMarketplaceStoreId - the marketplace Store ID.
Returns:
the supplier PriceList IDs.
Throws:
ECException

getSupplierContractId

public java.lang.Long getSupplierContractId(java.lang.Long anSupplierPriceListId)
Returns the supplier Contract ID corresponding to the specified supplier PriceList.
Parameters:
anSupplierPriceListId - the supplier PriceList ID.
Returns:
the supplier Contract ID.

getSupplierStoreId

public java.lang.Integer getSupplierStoreId(java.lang.Long anSupplierContractId)
Returns the supplier Store ID of the specified supplier Contract ID.
Parameters:
anSupplierContractId - the supplier Contract ID.
Returns:
the supplier Store ID.