com.ibm.commerce.price.commands

Class MarketplacePriceListRegistry

  • java.lang.Object
    • com.ibm.commerce.price.commands.MarketplacePriceListRegistry
  • All Implemented Interfaces:
    com.ibm.commerce.registry.Registry


    public class MarketplacePriceListRegistry
    extends java.lang.Object
    implements com.ibm.commerce.registry.Registry
    Registry for fixed pricing in marketplace Store.
    • Field Summary

      Fields 
      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.
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      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.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • COPYRIGHT

        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
      • 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.
      • getSupplierPriceListIds

        public java.lang.Long[] getSupplierPriceListIds(java.lang.Integer anMarketplaceStoreId)
                                                 throws com.ibm.commerce.exception.ECException
        Returns the supplier PriceList IDs of the specified marketplace Store.
        Parameters:
        anMarketplaceStoreId - the marketplace Store ID.
        Returns:
        the supplier PriceList IDs.
        Throws:
        com.ibm.commerce.exception.ECException
      • 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.
      • initialize

        public void initialize()
                        throws java.lang.Exception
        Initialize this registry instance.
        Specified by:
        initialize in interface com.ibm.commerce.registry.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 com.ibm.commerce.registry.Registry
        Throws:
        java.lang.Exception
        See Also:
        Registry.refresh()