Package com.ufis_as.ek_if.egds.entities

Examples of com.ufis_as.ek_if.egds.entities.EntDbFlightFuelStatus


  public DlFltFuelStatusBean() {

    }

  public EntDbFlightFuelStatus findByIdFlight(BigDecimal idFlight) {
    EntDbFlightFuelStatus  entity = null;
    try {
      Query query = _em.createNamedQuery("EntDbFlightFuelStatus.findByIdFlight");
      query.setParameter("idFlight", idFlight);
     
      List<EntDbFlightFuelStatus> list = query.getResultList();
View Full Code Here


    }
    return entity;
  }
 
  public EntDbFlightFuelStatus findByIdRFlight(BigDecimal idRFlight) {
    EntDbFlightFuelStatus  entity = null;
    try {
      Query query = _em.createNamedQuery("EntDbFlightFuelStatus.findByIdRFlight");
      query.setParameter("idRFlight", idRFlight);
     
      List<EntDbFlightFuelStatus> list = query.getResultList();
View Full Code Here

    }
    return entity;
  }
 
  public EntDbFlightFuelStatus findByFlight(String alc2, String fltn, String flns, String flda) {
    EntDbFlightFuelStatus entity = null;
    StringBuilder sb = new StringBuilder();
    try {
      sb.append("SELECT a FROM EntDbFlightFuelStatus a WHERE a.airlineCode2 =:alc2 ")
        .append(" AND a.flightNumber =:fltn ")
        .append(" AND a.fltDate =:flda ");
View Full Code Here

         
          // flag: continue to process message or not
          boolean isContinue = true;
         
          // flt fuel info
          EntDbFlightFuelStatus oldData = null;
          EntDbFlightFuelStatus data = null;
         
          start = System.currentTimeMillis();
          // according to type settle down return message
          UfisASCommands cmd = UfisASCommands.URT;
      switch (type) {
      case MVT:
        /* 
         * OUT -> AOBN
         * OFF -> ATON
         * ON  -> ALDN
         * IN  -> AIBN
         */
        String trigevt = message.getEGDSBODY().getTRIGEVT();
        String ata = message.getEGDSBODY().getATA();
        if (HpUfisUtils.isNotEmptyStr(trigevt) && ata != null) {
          if (ata.matches(TIME_PATTERN)) {
           
            // HHmm or HH:mm -> HHMM
            ata = String.format(TIME_FORMATTER, Integer.parseInt(ata.replaceAll(SYMB_COLON, "")));
            if (ADID.A == adid) {
              ata = HpUfisUtils.guessTheDate(tifa, ata);
            } else {
              ata = HpUfisUtils.guessTheDate(tifd, ata);
            }
           
            if (trigevt.contains("OUT")) {
              infobjFlight.setAOBN(ata);
            } else if (trigevt.contains("OFF")) {
              infobjFlight.setATON(ata);
            } else if (trigevt.contains("ON")) {
              infobjFlight.setALDN(ata);
            } else if (trigevt.contains("IN")) {
              infobjFlight.setAIBN(ata);
            }
          } else {
            LOG.debug("EGDS: ATA<{}> format is not match with HH:MM or HHMM", ata);
          }
         
          // onboard fuel
          //if (trigevt.contains("IN") && (message.getEGDSBODY().getFOB() != null)) {
          if (message.getEGDSBODY().getFOB() != null) {
            infojxaftab.setFUOB(message.getEGDSBODY().getFOB());
            xafFound = true;
          }
        } else {
          LOG.debug("EGDS: cannot process ATA due to TRIGEVT<{}> or ATA<{}> is null or empty", trigevt, ata);
        }
       
        // Cargo Door closed and Cabin Door closed
        if (HpUfisUtils.isNotEmptyStr(message.getEGDSBODY().getCARD())) {
          ufisCalendar.setTime(message.getEGDSBODY().getCARD(), ufisCalendar.getCustomFormat());
          INFOJFEVTAB cargoDoor = new INFOJFEVTAB();
          cargoDoor.setSTNM("CARGO DOOR CLOSED");
          cargoDoor.setSTTM(ufisCalendar.getCedaString());
          infojfevtablist.getINFOJFEVTAB().add(cargoDoor);
          fevFound = true;
        }
        if (HpUfisUtils.isNotEmptyStr(message.getEGDSBODY().getCABD())) {
          ufisCalendar.setTime(message.getEGDSBODY().getCABD(), ufisCalendar.getCustomFormat());
          INFOJFEVTAB cabinDoor = new INFOJFEVTAB();
          cabinDoor.setSTNM("CABIN DOOR CLOSED");
          cabinDoor.setSTTM(ufisCalendar.getCedaString());
          infojfevtablist.getINFOJFEVTAB().add(cabinDoor);
          fevFound = true;
        }
       
        // if contains FOB
        if (xafFound) {
          try {
            oldData = fltFuelStatusBean.findByIdFlight(uaft);
            if (oldData == null) {
              // Prepare notification data (dat)
              data = new EntDbFlightFuelStatus();
              // id flight
              data.setIdFlight(uaft);
              // flight number
              data.setFlightNumber(fltn);
              // flight date
              //fuelStatus.setFltDate(aftFlight.getFlda());
              // regn
              data.setFltRegn(regn);
              // alc2
              data.setAirlineCode2(HpEKConstants.EK_ALC2);
              // org3
              data.setFltOrigin3(org3);
              // dep3
              data.setFltDest3(des3);
              data.setCreatedUser(MSGIF);
              data.setDataSource(MSGIF);
              // msg send date
              if (HpUfisUtils.isNotEmptyStr(message.getEGDSHEADER().getTIMESTAMP())) {
                ufisCalendar.setTime(message.getEGDSHEADER().getTIMESTAMP(), ufisCalendar.getCustomFormat());
                data.setMsgSendDate(ufisCalendar.getTime());
              }
              fltFuelStatusBean.persist(data);
              LOG.info("EGDS MVT: created flight fuel record={} for flight={}", data.getId(), uaft);
              cmd = UfisASCommands.IRT;
            }

           
            if (UfisASCommands.URT == cmd) {
              data = EntDbFlightFuelStatus.valueOf(oldData);
              String fob = message.getEGDSBODY().getFOB().isEmpty() ?
                  "0" : message.getEGDSBODY().getFOB();
              float onBoardFuel = Float.parseFloat(fob);
              // new value
              data.setOnboardFuel(onBoardFuel);

              // msg send date
              if (HpUfisUtils.isNotEmptyStr(message.getEGDSHEADER().getTIMESTAMP())) {
                ufisCalendar.setTime(message.getEGDSHEADER().getTIMESTAMP(),
                    ufisCalendar.getCustomFormat());
                data.setMsgSendDate(ufisCalendar.getTime());
              }
              data.setRecStatus(' ');
              data.setUpdatedUser(MSGIF);
              fltFuelStatusBean.update(data);
              LOG.info("EGDS MVT: updated flight fuel record={} for flight={}", data.getId(), uaft);
            }
           
            if (HpUfisUtils.isNotEmptyStr(HpCommonConfig.notifyTopic)) {
              // send notification message to topic
              ufisTopicProducer.sendNotification(true, cmd, String.valueOf(uaft), oldData, data);
            } else {
              // if topic not defined, send notification to queue
              ufisQueueProducer.sendNotification(true, cmd, String.valueOf(uaft), oldData, data);
            }
           
            // onboard fuel
            /*Float oldOnBoardFuel = 0f;
            if (message.getEGDSBODY().getFOB() != null) {
              String fob = message.getEGDSBODY().getFOB().isEmpty() ?
                  "0" : message.getEGDSBODY().getFOB();
              float onBoardFuel = Float.parseFloat(fob);
              // if fuel changed, update and notify
              if (onBoardFuel != fuelStatus.getOnboardFuel()) {
                // old value
                oldOnBoardFuel = fuelStatus.getOnboardFuel();
                // new value
                fuelStatus.setOnboardFuel(onBoardFuel);

                // msg send date
                if (HpUfisUtils.isNotEmptyStr(message.getEGDSHEADER().getTIMESTAMP())) {
                  ufisCalendar.setTime(message.getEGDSHEADER().getTIMESTAMP(),
                      ufisCalendar.getCustomFormat());
                  fuelStatus.setMsgSendDate(ufisCalendar.getTime());
                }
                fuelStatus.setRecStatus(' ');
                fuelStatus.setUpdatedUser(MSGIF);
                fltFuelStatusBean.update(fuelStatus);

                // notify flag
                isNofified = true;
              }
            }*/
           
            // notify change or not
            /*if (isNofified) {
              EntUfisMsgDTO msgObj = new EntUfisMsgDTO();
              // Header: id flight
              notifyHeader.getIdFlight().clear();
              notifyHeader.getIdFlight().add(String.valueOf(uaft));
              notifyHeader.setReqt(HpUfisCalendar.getCurrentUTCTimeString());
              msgObj.setHead(notifyHeader);
             
              // Body
              EntUfisMsgBody notifyBody = new EntUfisMsgBody();
              EntUfisMsgACT act = new EntUfisMsgACT();
              if (isInsert) {
                act.setCmd(HpUfisAppConstants.UfisASCommands.IRT.toString());
              } else {
                act.setCmd(HpUfisAppConstants.UfisASCommands.URT.toString());
              }
              act.setTab(TAB);
              act.getFld().add(NOTIFY_FOB);
              act.getData().add(message.getEGDSBODY().getFOB());
              act.getOdat().add(oldOnBoardFuel.toString());
              act.getId().add(fuelStatus.getId());
              act.setSel("WHERE id = " + "\"" + fuelStatus.getId() + "\"");
              notifyBody.getActs().add(act);
              msgObj.setBody(notifyBody);
             
              // json message
              String jsonNotifyMsg = mapper.writeValueAsString(msgObj);
              //bcMessaging.sendBroadcastMessage(jsonNotifyMsg);
              ufisTopicProducer.sendMessage(jsonNotifyMsg);
              LOG.debug("EGDS notification for changes: \n{}", jsonNotifyMsg);
            }*/
          } catch (Exception e) {
            LOG.error("Cannot transform egds message: {}", e.getMessage());
            //LOG.error("Message Dropped: \n{}", _flightXml);
          }
        }
        break;
       
      case PROGRESSREPORT:
        String eta = message.getEGDSBODY().getETA();
        if (HpUfisUtils.isNullOrEmptyStr(eta)) {
          // 2013-12-02 updated by JGO - ETA is optional in latest ICD
          // drop message
          /*LOG.debug("EGDS message dropped due to eta is null or empty");
            //LOG.error("Message Dropped: \n{}", _flightXml);
            addExptInfo(EnumExceptionCodes.EMAND.name(), EnumExceptionCodes.EMAND.toString());*/
            isContinue = false;
        }

        if (eta.matches(TIME_PATTERN)) {
          eta = String.format(TIME_FORMATTER, Integer.parseInt(eta.replaceAll(SYMB_COLON, "")));
          eta = HpUfisUtils.guessTheDate(tifa, eta);
          infobjFlight.setEIBN(eta);
        } else {
          LOG.debug("EGDS: ETA<{}> format is not match with HH:MM or HHMM", eta);
          addExptInfo(EnumExceptionCodes.EWVAL.name(), "ETA format not match with HH:MM or HHMM");
          isContinue = false;
        }
        break;
       
      case LOADACC:
        // aft
        //infobjFlight.setELDN(message.getEGDSBODY().getLOADSHEET());
        // xaf
        infojxaftab.setLSHT(message.getEGDSBODY().getLOADSHEET());
        infojxaftab.setZFWT(message.getEGDSBODY().getZFW());
        infojxaftab.setTOWT(message.getEGDSBODY().getTOW());
        // 2013-11-22 updated by JGO - Save LADT
        if (HpUfisUtils.isNotEmptyStr(message.getEGDSHEADER().getTIMESTAMP())) {
          ufisCalendar.setTime(message.getEGDSHEADER().getTIMESTAMP(), ufisCalendar.getCustomFormat());
          infojxaftab.setLADT(ufisCalendar.getCedaString());
        }
        xafFound = true;
        break;
       
      case ROUTE:
        // confirm message from pilot that crew is on board
        //infobjgeneric.setALC2("EK");
        if (HpUfisUtils.isNotEmptyStr(message.getEGDSHEADER().getTIMESTAMP())) {
          ufisCalendar.setTime(message.getEGDSHEADER().getTIMESTAMP(), ufisCalendar.getCustomFormat());
          INFOJFEVTAB route = new INFOJFEVTAB();
          route.setSTNM("Route Request");
          route.setSTRM(regn);
          route.setSTTM(ufisCalendar.getCedaString());
          infojfevtablist.getINFOJFEVTAB().add(route);
          fevFound = true;
        }
        break;
       
      case FUEL:
        oldData = fltFuelStatusBean.findByIdFlight(uaft);
        if (oldData == null) {
          data = new EntDbFlightFuelStatus();
          // msg send date
          if (HpUfisUtils.isNotEmptyStr(message.getEGDSHEADER().getTIMESTAMP())) {
            ufisCalendar.setTime(message.getEGDSHEADER().getTIMESTAMP(), ufisCalendar.getCustomFormat());
            data.setMsgSendDate(ufisCalendar.getTime());
          }
          // id flight
          data.setIdFlight(uaft);
          // flight number
          data.setFlightNumber(fltn);
          // flight date
          //fuelStatus.setFltDate(aftFlight.getFlda());
          // regn
          data.setFltRegn(regn);
          // alc2
          data.setAirlineCode2(HpEKConstants.EK_ALC2);
          // org3
          data.setFltOrigin3(org3);
          // dep3
          data.setFltDest3(des3);
         
          // trip fuel
          if (HpUfisUtils.isNotEmptyStr(message.getEGDSBODY().getTripFuel())) {
            data.setTripFuel(Float.parseFloat(message.getEGDSBODY().getTripFuel()));
          }
          // taxi fuel
          if (HpUfisUtils.isNotEmptyStr(message.getEGDSBODY().getTaxiFuel())) {
            data.setTaxiFuel(Float.parseFloat(message.getEGDSBODY().getTaxiFuel()));
          }
          // ramp fuel
          if (HpUfisUtils.isNotEmptyStr(message.getEGDSBODY().getRampFuel())) {
            data.setRampFuel(Float.parseFloat(message.getEGDSBODY().getRampFuel()));
          }
//          // onboard fuel
//          //if (HpUfisUtils.isNotEmptyStr(message.getEGDSBODY().getFOB())) {
//          if (message.getEGDSBODY().getFOB() != null) {
//            //fuelStatus.setOnboardFuel(Float.parseFloat(message.getEGDSBODY().getFOB()));
//            String fob = message.getEGDSBODY().getFOB().isEmpty() ? "0"
//                : message.getEGDSBODY().getFOB();
//            float onBoardFuel = Float.parseFloat(fob);
//            if (onBoardFuel != fuelStatus.getOnboardFuel()) {
//              fuelStatus.setOnboardFuel(onBoardFuel);
//              isNofified = true;
//            }
//          }
          data.setTrm(message.getEGDSBODY().getTRM());
          data.setDen(message.getEGDSBODY().getDEN());
          data.setRtw(message.getEGDSBODY().getRTW());
          data.setCreatedUser(MSGIF);
          data.setDataSource(MSGIF);
          fltFuelStatusBean.persist(data);
          LOG.info("EGDS FUEL: created flight fuel record={} for flight={}", data.getId(), uaft);
          cmd = UfisASCommands.IRT;
        }
       
        if (UfisASCommands.URT == cmd) {
          data = EntDbFlightFuelStatus.valueOf(oldData);
          // trip fuel
          if (HpUfisUtils.isNotEmptyStr(message.getEGDSBODY().getTripFuel())) {
            data.setTripFuel(Float.parseFloat(message.getEGDSBODY().getTripFuel()));
          }
          // taxi fuel
          if (HpUfisUtils.isNotEmptyStr(message.getEGDSBODY().getTaxiFuel())) {
            data.setTaxiFuel(Float.parseFloat(message.getEGDSBODY().getTaxiFuel()));
          }
          // ramp fuel
          if (HpUfisUtils.isNotEmptyStr(message.getEGDSBODY().getRampFuel())) {
            data.setRampFuel(Float.parseFloat(message.getEGDSBODY().getRampFuel()));
          }
          data.setTrm(message.getEGDSBODY().getTRM());
          data.setDen(message.getEGDSBODY().getDEN());
          data.setRtw(message.getEGDSBODY().getRTW());

          // msg send date
          if (HpUfisUtils.isNotEmptyStr(message.getEGDSHEADER().getTIMESTAMP())) {
            ufisCalendar.setTime(message.getEGDSHEADER().getTIMESTAMP(),
                ufisCalendar.getCustomFormat());
            data.setMsgSendDate(ufisCalendar.getTime());
          }
          data.setRecStatus(' ');
          data.setUpdatedUser(MSGIF);
          fltFuelStatusBean.update(data);
          LOG.info("EGDS FUEL: updated flight fuel record={} for flight={}", data.getId(), uaft);
        }
       
        if (HpUfisUtils.isNotEmptyStr(HpCommonConfig.notifyTopic)) {
          // send notification message to topic
          ufisTopicProducer.sendNotification(true, cmd, String.valueOf(uaft), oldData, data);
View Full Code Here

        LOG.debug("Rotation flight RKEY <{}> for URNO <{}> is not found in AFTTAB.",
            deptFlight.getRkey(), deptFlight.getUrno());
      }
      else if("A".equals(conxFlight.getAdid().toString().trim())){//rotation flight should be Arrival
        idRFlight = conxFlight.getUrno();
        EntDbFlightFuelStatus conxFltFuel = clsDlFltFuelStatus.findByIdFlight(conxFlight.getUrno());
        if(conxFltFuel != null)
          onBoardFuel = conxFltFuel.getOnboardFuel();
      }
    }
    else//(RKEY == URNO)
      //no rotation flight, onBoardFuel = 0
      LOG.debug("URNO <{}> does not have rotation flights.", deptFlight.getUrno());
   
    float fuelTime = calculateFuelTime(onBoardFuel, requiredFuel);
   
    //get existing flight fuel status record for dept flight
    EntDbFlightFuelStatus data = null;
    UfisASCommands cmd = UfisASCommands.URT;
    EntDbFlightFuelStatus entFltFuelStatus = clsDlFltFuelStatus.findByIdFlight(deptFlight.getUrno());
    if(entFltFuelStatus == null){
      //entFltFuelStatus = new EntDbFlightFuelStatus();
      data = new EntDbFlightFuelStatus();
      LOG.debug("Flight fuel status for dept flight <{}> will be added as new record.", deptFlight.getUrno());
      data.setCreatedDate(HpUfisCalendar.getCurrentUTCTime());
      data.setCreatedUser(HpEKConstants.LIDO_SOURCE);
      cmd = UfisASCommands.IRT;
    }
    else{
      data = EntDbFlightFuelStatus.valueOf(entFltFuelStatus);
      data.setUpdatedDate(HpUfisCalendar.getCurrentUTCTime());
      data.setUpdatedUser(HpEKConstants.LIDO_SOURCE);
    }
    data.setIdRFlight(idRFlight);//set rotation flight
    data.setRequiredFuel(requiredFuel);
    data.setFuelRate(fuelRate);
    data.setFuelTime(fuelTime);
    data.setIdFlight(deptFlight.getUrno());
    data.setMsgSendDate(convertFlDateToUTC(_input.getMeta().getMessageTime()));
    data.setFltRegn(regn);
    data.setFlightNumber(flightNum);
    data.setAirlineCode2(airline);
    data.setFltOrigin3(org3);
    try {
      data.setFltDate(df.parse(flut));
    } catch (ParseException e) {
      LOG.error("Cannot parse {} into date", flut);
    }
    data.setDataSource(HpEKConstants.LIDO_SOURCE);
   
    //merge the input flight fuel status to db
    EntDbFlightFuelStatus entity = clsDlFltFuelStatus.update(data);
   
    // send notification message
    if (HpUfisUtils.isNotEmptyStr(HpCommonConfig.notifyTopic)) {
      // send notification message to topic
      ufisTopicProducer.sendNotification(true, cmd, String.valueOf(entity.getIdFlight()), entFltFuelStatus, entity);
    } else {
      // if topic not defined, send notification to queue
      ufisQueueProducer.sendNotification(true, cmd, String.valueOf(entity.getIdFlight()), entFltFuelStatus, entity);
    }
    if(entity != null)
      LOG.info("Flight Fuel has been processed.");
    return true;
  }
View Full Code Here

    float onBoardFuel = 0, fuelTime = 0, requiredFuel = 0;
    BigDecimal urnoCeda = new BigDecimal(urno);//dept flight urno
    BigDecimal rkeyCeda = new BigDecimal(0);

    //get existing flt_fuel record for this dept flight
    EntDbFlightFuelStatus depFltFuelDat = null;
    EntDbFlightFuelStatus depFltFuel = clsDlFltFuelStatus.findByIdFlight(urnoCeda);
    if(depFltFuel == null)
      //LOG.debug("Flight fuel record is not found for dept flight <{}>. No updating performed", depFltFuel);
      return;
   
    //SPLIT or Deleted
    if(urno.equals(rkey) || isDeleted){
      fuelTime = 0;//remove existing fuel Time and id_rflight
      rkeyCeda = new BigDecimal(0);
    }else{
      //JOIN(urno != rkey)
      rkeyCeda = new BigDecimal(rkey);
      //find the rotation(Arrival) record in flt_fuel_status
      EntDbFlightFuelStatus arrFltFuel = clsDlFltFuelStatus.findByIdFlight(rkeyCeda);
      if(arrFltFuel == null){
        LOG.debug("Flight fuel record is not found for arr flight <{}>. No updating performed.", rkeyCeda);
        return;
      }
     
      requiredFuel = depFltFuel.getRequiredFuel();
      onBoardFuel = arrFltFuel.getOnboardFuel();
      fuelTime = calculateFuelTime(onBoardFuel, requiredFuel);
    }
   
    depFltFuelDat = EntDbFlightFuelStatus.valueOf(depFltFuel);
    depFltFuelDat.setFuelTime(fuelTime);
    depFltFuelDat.setFuelRate(fuelRate);
    depFltFuelDat.setIdRFlight(rkeyCeda);
    depFltFuelDat.setUpdatedDate(HpUfisCalendar.getCurrentUTCTime());
    depFltFuelDat.setUpdatedUser(HpEKConstants.LIDO_SOURCE);
    EntDbFlightFuelStatus ent = clsDlFltFuelStatus.update(depFltFuelDat);
    // notification
    if (HpUfisUtils.isNotEmptyStr(HpCommonConfig.notifyTopic)) {
      // send notification message to topic
      ufisTopicProducer.sendNotification(true, UfisASCommands.URT, String.valueOf(ent.getIdFlight()), depFltFuel, ent);
    } else {
      // if topic not defined, send notification to queue
      ufisQueueProducer.sendNotification(true, UfisASCommands.URT, String.valueOf(ent.getIdFlight()), depFltFuel, ent);
    }
    if(ent != null)
      LOG.info("Updating Flight Fuel Status for id dept flight <{}> has been processed.", urnoCeda);
  }
View Full Code Here

    /**
     * Only consider the case that the dept flight fuel status
     * record existed and it has rotation flight in order to update from ARR flight onBoardFuel
     */
    //get dept flight fuel (from flt_fuel_status where id_rflight = :idFlt)
    EntDbFlightFuelStatus depFltFuelDat = null;
    EntDbFlightFuelStatus depFltFuel = clsDlFltFuelStatus.findByIdRFlight(idFlt);
    if(depFltFuel == null){
      LOG.debug("Rotation flight's fuel record for" +
          " Arr: URNO <{}> is not found. No processing performed.", idFlight);
      return;
    }
    requiredFuel = depFltFuel.getRequiredFuel();
    if(HpUfisUtils.isNullOrEmptyStr(arrFuel))
      LOG.debug("Input OnBoardFuel <{}>", arrFuel);
    else
      onBoardFuel = new Float(arrFuel);
    fuelTime = calculateFuelTime(onBoardFuel, requiredFuel);
   
    depFltFuelDat = EntDbFlightFuelStatus.valueOf(depFltFuel);
    depFltFuelDat.setUpdatedDate(HpUfisCalendar.getCurrentUTCTime());
    depFltFuelDat.setUpdatedUser(HpEKConstants.LIDO_SOURCE);
    depFltFuelDat.setRequiredFuel(requiredFuel);
    depFltFuelDat.setFuelRate(fuelRate);
    depFltFuelDat.setFuelTime(fuelTime);
   
    EntDbFlightFuelStatus entity = clsDlFltFuelStatus.update(depFltFuelDat);
    // notification
    if (HpUfisUtils.isNotEmptyStr(HpCommonConfig.notifyTopic)) {
      // send notification message to topic
      ufisTopicProducer.sendNotification(true, UfisASCommands.URT, String.valueOf(entity.getIdFlight()), depFltFuel, entity);
    } else {
      // if topic not defined, send notification to queue
      ufisQueueProducer.sendNotification(true, UfisASCommands.URT, String.valueOf(entity.getIdFlight()), depFltFuel, entity);
    }
    if(entity != null)
      LOG.info("Updating Flight Fuel Status for id dept flight <{}> has been processed.", depFltFuel.getIdFlight());
  }
View Full Code Here

TOP

Related Classes of com.ufis_as.ek_if.egds.entities.EntDbFlightFuelStatus

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.