com.ibm.commerce.order.commands

Class FetchOrdersByStatusAndTypeCmdImpl

  • All Implemented Interfaces:
    FetchOrdersCmd, 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 FetchOrdersByStatusAndTypeCmdImpl
    extends AbstractFetchOrdersSOICmdImpl
    This task command retrieves a list of orders according to the search criteria specified by the client. The list contains OrderAccessBean objects populated with all the available data. The search criteria are specified by the input XPath queries. The following XPath queries can be processed by this command:
     /Order[OrderStatus[(Status=)] and OrderType[(Type=)]]
     
    See Also:
    Serialized Form
    • Constructor Detail

      • FetchOrdersByStatusAndTypeCmdImpl

        public FetchOrdersByStatusAndTypeCmdImpl()
    • Method Detail

      • findByStatusesTypesMemberStoresStartEndDate

        public java.util.Vector findByStatusesTypesMemberStoresStartEndDate(java.lang.String strStatuses,
                                                                            java.lang.String strTypes,
                                                                            java.lang.String startDate,
                                                                            java.lang.String endDate)
                                                                     throws java.lang.Exception
        This method fetches ORDERS_ID of the orders according to the input parameters passed to this method. The command context should be set before calling this method. UserID and StoreId will be retrieved from the command context.
        Parameters:
        strStatuses - comma separated values of order status. Ex: "N,M,A,B,C,R,S,D,F,G"
        strTypes - comma separated values of order type. Ex: "ORD,REC,SUB"
        startDate - start date of the order in YYYY-MM-DD HH:MM:SS.sss format. This is an optional parameter.
        endDate - end date of the order in YYYY-MM-DD HH:MM:SS.sss format. This is an optional parameter.
        Returns:
        Vector of ORDER_ID satisfying the condition.
        Throws:
        java.lang.Exception