com.ibm.commerce.store.util

Class StoreRelationUtil

  • java.lang.Object
    • com.ibm.commerce.store.util.StoreRelationUtil


  • public abstract class StoreRelationUtil
    extends java.lang.Object
    Store / Related Store utilities
    • Field Summary

      Fields 
      Modifier and Type Field and Description
      static java.lang.String COPYRIGHT
      Copyright statement.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method and Description
      static java.util.HashMap getRelatedOpenStores(java.lang.Integer storeId, java.lang.String storeRelationshipTypeName)
      Given a storeId and the Relation type name, this method returns an hashMap [key = StoreId && value == Store Name] of all the related stores which are currently open.
      • 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
        Copyright statement.
        See Also:
        Constant Field Values
    • Method Detail

      • getRelatedOpenStores

        public static java.util.HashMap getRelatedOpenStores(java.lang.Integer storeId,
                                                             java.lang.String storeRelationshipTypeName)
        Given a storeId and the Relation type name, this method returns an hashMap [key = StoreId && value == Store Name] of all the related stores which are currently open.
        Parameters:
        storeId - - The store id
        storeRelationshipTypeName - - The store relationship type name
        Returns:
        HashMap with store ids as keys and storeName as value.