com.ibm.commerce.ordermanagement.commands

Class TransferOrderCmdImpl

  • All Implemented Interfaces:
    com.ibm.commerce.command.CacheableECCommand, ECCommand, ECTargetableCommand, TaskCommand, TransferOrderCmd, com.ibm.websphere.cache.Sizeable, com.ibm.websphere.command.CacheableCommand, com.ibm.websphere.command.Command, com.ibm.websphere.command.CommandCaller, com.ibm.websphere.command.TargetableCommand, java.io.Serializable


    public class TransferOrderCmdImpl
    extends TaskCommandImpl
    implements TransferOrderCmd
    Transfer an order to an external system.

    Behaviour

    The behaviour of the command is:

    Transmit an order transfer request by calling the transfer policy command.

    See Also:
    Serialized Form
    • Field Detail

      • COPYRIGHT

        public static final java.lang.String COPYRIGHT
        Copyright statement.
        See Also:
        Constant Field Values
    • Constructor Detail

      • TransferOrderCmdImpl

        public TransferOrderCmdImpl()
    • Method Detail

      • performExecute

        public void performExecute()
                            throws ECException
        Contains the actual business logic of the command.
        Specified by:
        performExecute in interface ECCommand
        Specified by:
        performExecute in interface com.ibm.websphere.command.TargetableCommand
        Overrides:
        performExecute in class AbstractECTargetableCommand
        Throws:
        ECException - Raised with message _ERR_CREATE_EXCEPTION if there is a javax.ejb.CreateException, _ERR_FINDER_EXCEPTION if there is a javax.ejb.FinderException, _ERR_NAMING_EXCEPTION if there is a javax.naming.NamingException, _ERR_REMOTE_EXCEPTION if there is a java.rmi.RemoteException.
      • reset

        public void reset()
        Resets the command.
        Specified by:
        reset in interface com.ibm.websphere.command.Command
        Overrides:
        reset in class AbstractECTargetableCommand
      • getOrder

        public OrderAccessBean getOrder()
        This method returns the access bean for an order to be transferred
        Returns:
        Returns an OrderAccessBean
      • setOrder

        public void setOrder(OrderAccessBean anOrder)
        This method sets the order to transfer
        Specified by:
        setOrder in interface TransferOrderCmd
        Parameters:
        anOrder - Order access bean for the order to be transferred
      • getTransferMode

        public java.lang.Integer getTransferMode()
        This method returns the order transfer mode
        Returns:
        Returns an Integer
      • setTransferMode

        public void setTransferMode(java.lang.Integer inTransferMode)
        This method sets the order transfer mode.
        Specified by:
        setTransferMode in interface TransferOrderCmd
        Parameters:
        inTransferMode - Order transfer mode
      • getUserIdentifier

        public java.lang.String getUserIdentifier()
        This method returns the user identifier used for authentication at the time of order transfer
        Returns:
        Returns a String
      • setUserIdentifier

        public void setUserIdentifier(java.lang.String istrUserId)
        This method sets the user identifier used for authentication at the time of order transfer
        Specified by:
        setUserIdentifier in interface TransferOrderCmd
        Parameters:
        istrUserId - The user identifier to set
      • getPassword

        public java.lang.String getPassword()
        This method returns the user password used for authentication at the time of order transfer
        Returns:
        Returns a String
      • setPassword

        public void setPassword(java.lang.String istrPassword)
        This method sets the user password used for authentication at the time of order transfer
        Specified by:
        setPassword in interface TransferOrderCmd
        Parameters:
        istrPassword - The istrPassword to set
      • getReferralInterfacePolicyId

        public java.lang.Long getReferralInterfacePolicyId()
        This method returns the inReferralInterfacePolicyId
        Returns:
        Returns a Long
      • setReferralInterfacePolicyId

        public void setReferralInterfacePolicyId(java.lang.Long inReferralInterfacePolicyId)
        This method sets the inReferralInterfacePolicyId
        Parameters:
        inReferralInterfacePolicyId - The inReferralInterfacePolicyId to set