com.ibm.commerce.ubf.commands

Class BusinessFlowUrlEventCmdImpl

  • java.lang.Object
    • com.ibm.websphere.command.CacheableCommandImpl
      • com.ibm.commerce.command.MeasuredCacheableCommandImpl
        • com.ibm.commerce.command.AbstractECTargetableCommand
          • com.ibm.commerce.command.ControllerCommandImpl
            • com.ibm.commerce.ubf.commands.BusinessFlowUrlEventCmdImpl
  • All Implemented Interfaces:
    com.ibm.commerce.command.AccCommand, com.ibm.commerce.command.ControllerCommand, com.ibm.commerce.command.ECCommand, com.ibm.commerce.command.ECTargetableCommand, com.ibm.commerce.security.Protectable, BusinessFlowUrlEventCmd, com.ibm.websphere.command.CacheableCommand, com.ibm.websphere.command.Command


    public class BusinessFlowUrlEventCmdImpl
    extends com.ibm.commerce.command.ControllerCommandImpl
    implements BusinessFlowUrlEventCmd
    Raises a BusinessFlow URL event. Multiple Url's can be mapped to this command in the URLREG table. It is initially being written for WCS Components that are not UBF-based but are using the Approval Component. The incoming URL is the FlowType Identifier, the Flow Identifier and the Event.
    See Also:
    This command uses the following AccessBeans:
    • {@link FlowInstanceAccessBean}
    • Constructor Summary

      Constructors 
      Constructor and Description
      BusinessFlowUrlEventCmdImpl()
      BusinessFlowControllerCommandImpl constructor comment.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      void performExecute()
      Raises a BusinessFlowEvent with a BusinessFlowEventData object, then sets the responseProperties.
      void setFlowEvent(java.lang.String event)
      Sets the event to be processed.
      void setFlowId(int iFlowId)
      Sets the flow ID.
      void setFlowType(int iFlowType)
      Sets the flow type.
      void setUrl(java.lang.String iUrl)
      Sets the URL used to request the action
      • Methods inherited from class java.lang.Object

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

        checkPermission, fulfills, getForUserId, getGeneric, getOwner, getRequestProperties, getResolvedRequestProperties, getResourceOwners, getResponseProperties, getRetriable, getViewInputProperties, isGeneric, isRetriable, mergeProperties, setForUserId, setGeneric, setOwner, setRequestProperties, setResponseProperties, setRetriable, setViewInputProperties
      • 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.ControllerCommand

        checkPermission, execute, getGeneric, getRequestProperties, getResolvedRequestProperties, getResponseProperties, getRetriable, getViewInputProperties, isGeneric, isRetriable, mergeProperties, setGeneric, setRequestProperties, setRetriable, setViewInputProperties
      • Methods inherited from interface com.ibm.commerce.command.AccCommand

        accessControlCheck, getAccCheck, getForUserId, getResourceOwners, setAccCheck, setForUserId, setOwner
      • Methods inherited from interface com.ibm.commerce.command.ECCommand

        checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getPostInvokeParameters, getPreInvokeParameters, getResources, getStoreId, getUser, getUserId, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties, validateParameters
      • Methods inherited from interface com.ibm.commerce.security.Protectable

        fulfills, getOwner
    • Field Detail

      • COPYRIGHT

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

      • BusinessFlowUrlEventCmdImpl

        public BusinessFlowUrlEventCmdImpl()
        BusinessFlowControllerCommandImpl constructor comment.
    • Method Detail

      • performExecute

        public void performExecute()
                            throws com.ibm.commerce.exception.ECException
        Raises a BusinessFlowEvent with a BusinessFlowEventData object, then sets the responseProperties.
        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 - If the execution fails.
      • setFlowEvent

        public void setFlowEvent(java.lang.String event)
        Sets the event to be processed.
        Parameters:
        event - The event to be processed.
      • setFlowId

        public void setFlowId(int iFlowId)
        Sets the flow ID.
        Parameters:
        flowId - The flow ID.
      • setFlowType

        public void setFlowType(int iFlowType)
        Sets the flow type.
        Parameters:
        flowType - The flow type.
      • setUrl

        public void setUrl(java.lang.String iUrl)
        Sets the URL used to request the action
        Specified by:
        setUrl in interface BusinessFlowUrlEventCmd
        Parameters:
        url - The URL, also called the Command Name.