Examples of LoadPaxPK


Examples of com.ufis_as.ek_if.macs.entities.LoadPaxPK

      HpUfisCalendar ufisCalendar = new HpUfisCalendar();
      ufisCalendar.setCustomFormat(HpEKConstants.MACS_TIME_FORMAT); // 2012-12-18 00:00:00
      SimpleDateFormat macsTimeFormat = new SimpleDateFormat(HpEKConstants.MACS_TIME_FORMAT);

      EntDbLoadPax edpiod = new EntDbLoadPax();
      LoadPaxPK paxPk = new LoadPaxPK();

      // check as it's a mandatory field
      if (paxDetails.getMFLID() != null
          && !paxDetails.getMFLID().isEmpty()) {
        paxPk.setIntflid(paxDetails.getMFLID());
      } else {
        LOG.info("Mandatory field MFL_ID is null or empty, PaxDetails Message is rejected");
        sendErroNotification(EnumExceptionCodes.EMAND,irmtabRef);
         return null;
      }

      // check as it's a mandatory field
      if (paxDetails.getREFERENCENUMBER() != null
          && !paxDetails.getREFERENCENUMBER().isEmpty()) {
        paxPk.setIntrefnumber(paxDetails.getREFERENCENUMBER());
      } else {
        LOG.info("Mandatory field REFERENCE_NUMBER is null or empty, PaxDetails Message is rejected");
        sendErroNotification(EnumExceptionCodes.EMAND,irmtabRef);
         return null;
      }
View Full Code Here

Examples of com.ufis_as.ek_if.macs.entities.LoadPaxPK

      // send notification
      ufisTopicProducer.sendNotification(true, UfisASCommands.IRT,
          String.valueOf(entDbLoadPaxConn.getIdFlight()), null, entDbLoadPaxConn);

      startTime = System.currentTimeMillis();
      LoadPaxPK pkSearch = new LoadPaxPK();
      pkSearch.setIntflid(entDbLoadPaxConn.getPaxConnPK().getInterfaceFltid());
      pkSearch.setIntrefnumber(entDbLoadPaxConn.getPaxConnPK().getIntRefNumber());
      EntDbLoadPax paxForPaxConn = _paxbean.findByPkIdX(pkSearch);
      LOG.info("1.2.4+  search pax for paxConn, takes {} ms",
          (System.currentTimeMillis() - startTime));

      if (paxForPaxConn == null) {
View Full Code Here

Examples of com.ufis_as.ek_if.macs.entities.LoadPaxPK

    if (entDbPaxServiceRequest.getServiceRequestPK().getIntFlId() != null
        && !"".equals(entDbPaxServiceRequest.getServiceRequestPK().getIntFlId().toString()
            .trim())) {
      long startTime = System.currentTimeMillis();
      LoadPaxPK loadPaxPK = new LoadPaxPK();
      loadPaxPK.setIntflid(entDbPaxServiceRequest.getServiceRequestPK().getIntFlId());
      loadPaxPK.setIntrefnumber(entDbPaxServiceRequest.getServiceRequestPK().getIntRefNumber());
      // loadPaxPK.setIntSystem(HpEKConstants.MACS_PAX_DATA_SOURCE);
      entDbLoadPax = _paxbean.findByPkIdX(loadPaxPK);
      LOG.info(
          "1.2.1 search from LoadPax table for Fct Msg, takes {} ms",
          (System.currentTimeMillis() - startTime));
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.