/*    */ package com.connor.erp.ProcessImport.ProcessAddTransferToERP;
/*    */ 
/*    */ import com.connor.erp.ProcessImport.ProcessImportHandler;
/*    */ import com.connor.erp.toolkit.AimType;
/*    */ import com.teamcenter.rac.aif.AbstractAIFCommand;
/*    */ import org.eclipse.core.commands.ExecutionEvent;
/*    */ import org.eclipse.core.commands.ExecutionException;
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ public class ProcessAddTransferToERPHandler
/*    */   extends ProcessImportHandler
/*    */ {
/*    */   public Object execute(ExecutionEvent event) throws ExecutionException {
/* 35 */     if (!checkTarget(AimType.add)) {
/* 36 */       return null;
/*    */     }
/* 38 */     if (this.listProcessRevisions.size() > 0) {
/*    */       try {
/* 40 */         AbstractAIFCommand command = new ProcessAddTransferToERPCommand(this.session, this.application, this.listProcessRevisions, this.detailInfo, this.isPrivilege);
/* 41 */         command.executeModal();
/* 42 */       } catch (Exception e) {
/* 43 */         e.printStackTrace();
/*    */       } 
/*    */     }
/*    */     
/* 47 */     return null;
/*    */   }
/*    */ }


/* Location:              C:\Users\cyh\Documents\WeChat Files\wxid_ztg4pdvd5bjn12\FileStorage\File\2022-03\com.origin.erpintegration_1.0.0.jar!\com\origin\erp\ProcessImport\ProcessAddTransferToERP\ProcessAddTransferToERPHandler.class
 * Java compiler version: 6 (50.0)
 * JD-Core Version:       1.1.3
 */