com.ibm.commerce.price.commands

Class GetDynamicKitPercentageAdjustmentCmdImpl

  • 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.GetDynamicKitPercentageAdjustmentCmdImpl
  • All Implemented Interfaces:
    com.ibm.commerce.command.CacheableECCommand, com.ibm.commerce.command.ECCommand, com.ibm.commerce.command.ECTargetableCommand, com.ibm.commerce.command.TaskCommand, GetDynamicKitPercentageAdjustmentCmd, com.ibm.websphere.command.CacheableCommand, com.ibm.websphere.command.Command


    public class GetDynamicKitPercentageAdjustmentCmdImpl
    extends com.ibm.commerce.command.TaskCommandImpl
    implements GetDynamicKitPercentageAdjustmentCmd
    • Field Summary

      Fields 
      Modifier and Type Field and Description
      static java.lang.String COPYRIGHT
      IBM copyright notice field.
      • Fields inherited from interface com.ibm.commerce.command.CacheableECCommand

        defaultCommandClassName
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      java.util.Vector getApplicablePercentageAdjustment()
      Returns all valid adjustment for this dynamic kit in percentage in a Vector.
      void performExecute() 
      void setDKCatEntryId(java.lang.Long dkCatEntryId)
      Sets dynamickit's cat entry id
      void setTradingAgreementAccessBean(com.ibm.commerce.contract.objects.TradingAgreementAccessBean[] taAB)
      Sets access beans for all contacts.
      • 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, setCommandIfName, setCommandStoreId, setDefaultProperties, validateParameters
    • Field Detail

      • COPYRIGHT

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

      • GetDynamicKitPercentageAdjustmentCmdImpl

        public GetDynamicKitPercentageAdjustmentCmdImpl()
    • Method Detail

      • getApplicablePercentageAdjustment

        public java.util.Vector getApplicablePercentageAdjustment()
        Description copied from interface: GetDynamicKitPercentageAdjustmentCmd
        Returns all valid adjustment for this dynamic kit in percentage in a Vector.
        Specified by:
        getApplicablePercentageAdjustment in interface GetDynamicKitPercentageAdjustmentCmd
        Returns:
        Vector stores all valid percentage adjustments.
        See Also:
        com.ibm.commerce.price.commands.GetDynamicKitPercentageAdjustmentCmd#getApplicablePercentageAdjustment(MonetaryAmount)
      • performExecute

        public void performExecute()
                            throws com.ibm.commerce.exception.ECException
        Specified by:
        performExecute in interface com.ibm.commerce.command.ECCommand
        Overrides:
        performExecute in class com.ibm.commerce.command.AbstractECTargetableCommand
        Throws:
        com.ibm.commerce.exception.ECException
        See Also:
        com.ibm.websphere.command.TargetableCommand#performExecute()
      • setDKCatEntryId

        public void setDKCatEntryId(java.lang.Long dkCatEntryId)
        Description copied from interface: GetDynamicKitPercentageAdjustmentCmd
        Sets dynamickit's cat entry id
        Specified by:
        setDKCatEntryId in interface GetDynamicKitPercentageAdjustmentCmd
        Parameters:
        dkCatEntryId - The cat entry id for this dynamic kit.
        See Also:
        com.ibm.commerce.price.commands.GetDynamicKitPercentageAdjustmentCmd#setOrderItemAccessBean(OrderItemAccessBean)
      • setTradingAgreementAccessBean

        public void setTradingAgreementAccessBean(com.ibm.commerce.contract.objects.TradingAgreementAccessBean[] taAB)
        Description copied from interface: GetDynamicKitPercentageAdjustmentCmd
        Sets access beans for all contacts.
        Specified by:
        setTradingAgreementAccessBean in interface GetDynamicKitPercentageAdjustmentCmd
        Parameters:
        taAB - Access Beans in an array represents all valid contacts.
        See Also:
        com.ibm.commerce.price.commands.GetDynamicKitPercentageAdjustmentCmd#setTradingAgreementAccessBean()