com.ibm.commerce.price.commands

Class PublishCustomPriceListCmdImpl

  • java.lang.Object
    • com.ibm.websphere.command.CacheableCommandImpl
      • com.ibm.commerce.command.MeasuredCacheableCommandImpl
        • com.ibm.commerce.command.AbstractECTargetableCommand
          • com.ibm.commerce.command.TaskCommandImpl
            • com.ibm.commerce.price.commands.PublishCustomPriceListCmdImpl
  • All Implemented Interfaces:
    com.ibm.commerce.command.CacheableECCommand, com.ibm.commerce.command.ECCommand, com.ibm.commerce.command.ECTargetableCommand, com.ibm.commerce.command.TaskCommand, PublishCustomPriceListCmd, com.ibm.websphere.command.CacheableCommand, com.ibm.websphere.command.Command


    public class PublishCustomPriceListCmdImpl
    extends com.ibm.commerce.command.TaskCommandImpl
    implements PublishCustomPriceListCmd
    This DeployPriceTCCmd Task Command Implementation populates the custom price list and publishes the corresponding custom product set for the PriceTCCustomPriceList T&C.

    This command uses the following AccessBeans:

    • StoreAccessBean
    • PriceTCCustomPriceListAccessBean
    • TradingPositionContainerAccessBean
    • CatalogEntryAccessBean
    • OrderItemAccessBean
    • PurchaseLimitAccessBean
    • OfferPriceAccessBean
    • TradingAgreementAccessBean
    • OfferAccessBean
    • TermConditionAccessBean
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      java.util.HashSet getOfferCatentrySet()
      Get catentry IDs for custom price list offers used by the DeployPriceListCmd.
      void performExecute()
      This method contains the actual business logic of the command.
      void setTCId(java.lang.Long anTCId)
      Set Term Condition ID.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from class com.ibm.commerce.command.AbstractECTargetableCommand

        accessControlCheck, checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, execute, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getObjectSize, getPostInvokeParameters, getPreInvokeParameters, getResources, getStoreId, getUser, getUserId, isReadyToCallExecute, reset, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties, validateParameters
      • Methods inherited from interface com.ibm.commerce.command.CacheableECCommand

        execute
      • Methods inherited from interface com.ibm.commerce.command.ECCommand

        checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getPostInvokeParameters, getPreInvokeParameters, getResources, getStoreId, getUser, getUserId, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties, validateParameters
    • Field Detail

      • CLASSNAME

        public static final java.lang.String CLASSNAME
        The internal class name field.
        See Also:
        Constant Field Values
      • COPYRIGHT

        public static final java.lang.String COPYRIGHT
        The internal copyright field.
        See Also:
        Constant Field Values
    • Constructor Detail

      • PublishCustomPriceListCmdImpl

        public PublishCustomPriceListCmdImpl()
    • Method Detail

      • getOfferCatentrySet

        public java.util.HashSet getOfferCatentrySet()
        Get catentry IDs for custom price list offers used by the DeployPriceListCmd.
        Specified by:
        getOfferCatentrySet in interface PublishCustomPriceListCmd
        Returns:
        java.util.HashMap
      • performExecute

        public void performExecute()
                            throws com.ibm.commerce.exception.ECException
        This method contains the actual business logic of the command. It should be implemented by the command writer.
        Specified by:
        performExecute in interface com.ibm.commerce.command.ECCommand
        Overrides:
        performExecute in class com.ibm.commerce.command.AbstractECTargetableCommand
        Throws:
        CommandException - The superclass for all ECExceptions.
        com.ibm.commerce.exception.ECException
      • setTCId

        public void setTCId(java.lang.Long anTCId)
        Set Term Condition ID.
        Specified by:
        setTCId in interface PublishCustomPriceListCmd
        Parameters:
        anTCId - The term condition ID.