com.ibm.commerce.tools.catalog.util
Class PASyncHelper

java.lang.Object
  |
  +--com.ibm.commerce.tools.catalog.util.PASyncHelper

public class PASyncHelper
extends java.lang.Object

PASyncHelper can be used to synchronize Product-Advisor tables.


Constructor Summary
PASyncHelper()
           
 
Method Summary
static void addCatentryToSearchSpace(java.lang.Long nCatentryId)
          adds a catentry into PA search space.
static void addCatentryToSearchSpace(java.util.Vector vCatentries)
          adds catentry into PA search space.
static java.util.Vector findItemByAttributeAndLangId(java.lang.Long nAttributeId, java.lang.Integer nLangId)
          a helper find method, finds out a SKU by its attributeId and languageId.
static java.util.Vector findItemByAttributeValueId(java.lang.Long nAttributeValueId)
          a helper find method, finds out a SKU by its attribute value Id.
static java.util.Vector findItemByProduct(java.lang.Long nProductId)
          a helper find method, finds out a SKU by Product Id.
static void removeCatentryFromSearchSpace(java.lang.Long nCatentryId)
          removes catentry from PA search space.
static void removeCatentryFromSearchSpace(java.util.Vector vCatentries)
          removes catentry from PA search space.
static void removeCatentryFromSearchSpace(java.util.Vector vOldCatentries, java.util.Vector vNewCatentries)
          removes catentry from PA search space.
static void updateCatentryInSearchSpace(java.lang.Long nCatentryId, java.lang.Integer nLangId)
          updates catentry in PA search space.
static void updateCatentryInSearchSpace(java.util.Vector vCatentries, java.lang.Integer nLangId)
          updates catentry in PA search space.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PASyncHelper

public PASyncHelper()
Method Detail

addCatentryToSearchSpace

public static void addCatentryToSearchSpace(java.lang.Long nCatentryId)
                                     throws ECApplicationException
adds a catentry into PA search space.

addCatentryToSearchSpace

public static void addCatentryToSearchSpace(java.util.Vector vCatentries)
                                     throws ECApplicationException
adds catentry into PA search space.

findItemByAttributeAndLangId

public static java.util.Vector findItemByAttributeAndLangId(java.lang.Long nAttributeId,
                                                            java.lang.Integer nLangId)
a helper find method, finds out a SKU by its attributeId and languageId.

findItemByAttributeValueId

public static java.util.Vector findItemByAttributeValueId(java.lang.Long nAttributeValueId)
a helper find method, finds out a SKU by its attribute value Id.

findItemByProduct

public static java.util.Vector findItemByProduct(java.lang.Long nProductId)
a helper find method, finds out a SKU by Product Id.

removeCatentryFromSearchSpace

public static void removeCatentryFromSearchSpace(java.lang.Long nCatentryId)
                                          throws ECApplicationException
removes catentry from PA search space.

removeCatentryFromSearchSpace

public static void removeCatentryFromSearchSpace(java.util.Vector vCatentries)
                                          throws ECApplicationException
removes catentry from PA search space.

removeCatentryFromSearchSpace

public static void removeCatentryFromSearchSpace(java.util.Vector vOldCatentries,
                                                 java.util.Vector vNewCatentries)
                                          throws ECApplicationException
removes catentry from PA search space.

updateCatentryInSearchSpace

public static void updateCatentryInSearchSpace(java.lang.Long nCatentryId,
                                               java.lang.Integer nLangId)
                                        throws ECApplicationException
updates catentry in PA search space.

updateCatentryInSearchSpace

public static void updateCatentryInSearchSpace(java.util.Vector vCatentries,
                                               java.lang.Integer nLangId)
                                        throws ECApplicationException
updates catentry in PA search space.