/** 指定操作发生时,触发的事件 */
  @Override
  public void actionPerformed(final String rowId, String actionName, String actionValue) {
    if (actionName.equals(Action.ReExecute.name())) {
      String title = "确认重新执行此订单?";
      if (OrderType.Purchase_Return == getItemObject(rowId).getOrderType()) {
        title = "确认重新执行此退货申请?";
      }
      confirm(
          title,
          new Runnable() {

            public void run() {
              if (OrderType.Purchase_Return == getItemObject(rowId).getOrderType()) {
                UpdatePurchaseReturnStatusTask task =
                    new UpdatePurchaseReturnStatusTask(GUID.valueOf(rowId), OrderAction.Execut);
                getContext().handle(task);
              } else {
                UpdatePurchaseOrderStatusTask task =
                    new UpdatePurchaseOrderStatusTask(GUID.valueOf(rowId), OrderAction.Execut);
                getContext().handle(task);
              }
              table.render();
            }
          });
    }
  }
 @Override
 public String[] getTableActionIds() {
   return new String[] {Action.ReExecute.name()};
 }