com.ibm.commerce.inventory.facade.server.helper

Class ProductUOMUtil

  • java.lang.Object
    • com.ibm.commerce.inventory.facade.server.helper.ProductUOMUtil


  • public class ProductUOMUtil
    extends java.lang.Object
    ProdcutUOMUtil is used to get the UOM information of the product from CATENTSHIP table in database.
    • Field Summary

      Fields 
      Modifier and Type Field and Description
      static java.lang.String COPYRIGHT
      IBM copyright notice field.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method and Description
      static java.lang.String getProductUOMByCatentryID(java.lang.Long catentry_Id)
      Get the Product UOM by Catalog entry ID
      static java.lang.String[] getProductUOMByCatentryIDs(java.lang.String[] catalogEntryIds)
      Gets the UOM of the product according to the part number
      static java.lang.String[] getProductUOMByPartNumber(java.lang.String[] partNumbers)
      Gets the UOM of the product according to the part number
      • 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
        IBM copyright notice field.
        See Also:
        Constant Field Values
    • Method Detail

      • getProductUOMByCatentryID

        public static java.lang.String getProductUOMByCatentryID(java.lang.Long catentry_Id)
                                                          throws ECSystemException
        Get the Product UOM by Catalog entry ID
        Parameters:
        catentry_Id - Catalog Entry ID
        Returns:
        The UOM of the Catalog entry
        Throws:
        ECSystemException
      • getProductUOMByPartNumber

        public static java.lang.String[] getProductUOMByPartNumber(java.lang.String[] partNumbers)
        Gets the UOM of the product according to the part number
        Parameters:
        partNumbers -
        Returns:
        The UOM of the Product
      • getProductUOMByCatentryIDs

        public static java.lang.String[] getProductUOMByCatentryIDs(java.lang.String[] catalogEntryIds)
        Gets the UOM of the product according to the part number
        Parameters:
        catalogEntryIds - the list of catalog entry id
        Returns:
        The UOM of the Product