com.ibm.commerce.marketingcenter.events.runtime

Class AddEventCommandImpl

  • All Implemented Interfaces:
    com.ibm.commerce.command.CacheableECCommand, com.ibm.commerce.command.ECCommand, com.ibm.commerce.command.ECTargetableCommand, com.ibm.commerce.command.TaskCommand, AddEventCommand, MarketingEventUpdateCommand, com.ibm.websphere.command.CacheableCommand, com.ibm.websphere.command.Command


    public class AddEventCommandImpl
    extends MarketingEventUpdateCommandImpl
    implements AddEventCommand
    Task command to add a non-click event (for example: cpgn log). How the event is handled is determined by a parameter (defined by EVENTTYPE_PARAMETER) value. That value is used by the MarketingEventService to dispatch the event to the appropriate handler. This is the implementation of the interface AddEventCommand.
    • Constructor Summary

      Constructors 
      Constructor and Description
      AddEventCommandImpl()
      Constructs a AddEventCommandImpl object.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      void performExecute()
      This method will check the parameters and then uses the MarketingEventService to dispatch the event to the appropriate handler.
      • 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
      • 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

      • COPYRIGHT

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

      • AddEventCommandImpl

        public AddEventCommandImpl()
        Constructs a AddEventCommandImpl object.
    • Method Detail

      • performExecute

        public void performExecute()
                            throws com.ibm.commerce.exception.ECException
        This method will check the parameters and then uses the MarketingEventService to dispatch the event to the appropriate handler.
        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:
        ECCommand#performExecute()