Class OrderCancelRepairJob

    • Constructor Detail

      • OrderCancelRepairJob

        public OrderCancelRepairJob()
    • Method Detail

      • perform

        public PerformResult perform​(CronJobModel arg0)
        Description copied from interface: JobPerformable
        The execution body for a ServicelayerJob. Implement here your execution logic. It can be called synchronous or asynchronous. So be aware of thread-safety. Method will return a result object saying if the execution has reached end and if it was successful.
        Specified by:
        perform in interface JobPerformable<CronJobModel>
        Specified by:
        perform in class AbstractJobPerformable<CronJobModel>
        Parameters:
        arg0 - the related CronJob in whose context the execution will be performed.
        Returns:
        a PerformResult that indicates whether the execution was successfully executed or not and has finished or not.
      • resetOrders

        protected void resetOrders​(java.util.List<OrderModel> orderList)
      • cancelProcessesForCancelledOrders

        protected void cancelProcessesForCancelledOrders​(java.util.List<OrderProcessModel> waitProcesses)
      • getOrderExchangeRepair

        public OrderExchangeRepair getOrderExchangeRepair()
        Returns:
        the orderExchangeRepair
      • setOrderExchangeRepair

        public void setOrderExchangeRepair​(OrderExchangeRepair orderExchangeRepair)
        Parameters:
        orderExchangeRepair - the orderExchangeRepair to set
      • getBusinessProcessService

        public BusinessProcessService getBusinessProcessService()
        Returns:
        the businessProcessService
      • setBusinessProcessService

        public void setBusinessProcessService​(BusinessProcessService businessProcessService)
        Parameters:
        businessProcessService - the businessProcessService to set
      • getSapOrderCancelService

        public SapOrderCancelService getSapOrderCancelService()
        Returns:
        sapOrderCancelService
      • setSapOrderCancelService

        public void setSapOrderCancelService​(SapOrderCancelService sapOrderCancelService)
        Parameters:
        sapOrderCancelService -