com.ibm.commerce.marketingcenter.events.runtime

Class MarketingEventUpdateCommandImpl

  • 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.marketingcenter.events.runtime.MarketingEventUpdateCommandImpl
  • All Implemented Interfaces:
    com.ibm.commerce.command.CacheableECCommand, com.ibm.commerce.command.ECCommand, com.ibm.commerce.command.ECTargetableCommand, com.ibm.commerce.command.TaskCommand, MarketingEventUpdateCommand, com.ibm.websphere.command.CacheableCommand, com.ibm.websphere.command.Command
    Direct Known Subclasses:
    AddEventCommandImpl, ClickEventUpdateCommandImpl


    public class MarketingEventUpdateCommandImpl
    extends com.ibm.commerce.command.TaskCommandImpl
    implements MarketingEventUpdateCommand
    Task command to handle marketing events. How the event is handled is determined by a parameter, usually a URL parameter, (defined by EVENTTYPE_PARAMETER) value.
    • Field Summary

      Fields 
      Modifier and Type Field and Description
      static java.lang.String COPYRIGHT
      IBM copyright notice field.
      static java.lang.String EVENTTYPE_PARAMETER
      Parameter name in the requestParams to specify the type of event.
      com.ibm.commerce.datatype.TypedProperty requestProps
      Request properties object that contains all the current request attributes.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      com.ibm.commerce.datatype.TypedProperty getRequestProps()
      Getter for requestProps.
      void setRequestProps(com.ibm.commerce.datatype.TypedProperty newRequestParams)
      Setter for the request properties (requestProps) from the controller command.
      void validateParameters()
      Check the parameters and set the eventType.
      • 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, performExecute, 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, performExecute, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties
    • Field Detail

      • COPYRIGHT

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

        public static final java.lang.String EVENTTYPE_PARAMETER
        Parameter name in the requestParams to specify the type of event.
        See Also:
        Constant Field Values
      • requestProps

        public com.ibm.commerce.datatype.TypedProperty requestProps
        Request properties object that contains all the current request attributes.
    • Constructor Detail

      • MarketingEventUpdateCommandImpl

        public MarketingEventUpdateCommandImpl()
        Construct a MarketingEventUpdateCommandImpl object.
    • Method Detail

      • getRequestProps

        public com.ibm.commerce.datatype.TypedProperty getRequestProps()
        Getter for requestProps.
        Returns:
        The request properties.
      • setRequestProps

        public void setRequestProps(com.ibm.commerce.datatype.TypedProperty newRequestParams)
        Setter for the request properties (requestProps) from the controller command.
        Specified by:
        setRequestProps in interface MarketingEventUpdateCommand
        Parameters:
        newRequestParams - The request properties to use.
      • validateParameters

        public void validateParameters()
                                throws com.ibm.commerce.exception.ECException
        Check the parameters and set the eventType.
        Specified by:
        validateParameters in interface com.ibm.commerce.command.ECCommand
        Overrides:
        validateParameters in class com.ibm.commerce.command.AbstractECTargetableCommand
        Throws:
        com.ibm.commerce.exception.ECException
        See Also:
        ECCommand#validateParameters()