Package com.ufis_as.ufisapp.server.dto

Examples of com.ufis_as.ufisapp.server.dto.EntUfisMsgHead


    private List<EntUfisMsgACT> actions = null;
    private String interfaceFltId = null;
   
    public BlHandleMacsFltBean() {
      if (msgHead == null) {
        msgHead = new EntUfisMsgHead();
        msgHead.setHop(HpEKConstants.HOPO);
        msgHead.setOrig(MSGIF);
        msgHead.setApp(MSGIF);
        msgHead.setUsr(MSGIF);
        }
View Full Code Here


   * @param entity
   * @param cmd
   */
  private void sendNotifyMsg(EntDbFltConnectSummary entity, String cmd) {
    List<EntUfisMsgACT> listAction = formatData(entity, cmd);
    EntUfisMsgHead header = formatJsonHeader();
    String msg = HpUfisJsonMsgFormatter.formDataInJson(listAction, header);
    ufisTopicProducer.sendMessage(msg);
    LOG.debug("Sent Notify :\n{}", msg);
  }
View Full Code Here

    LOG.debug("Sent Notify :\n{}", msg);
  }

  private EntUfisMsgHead formatJsonHeader() {
    // get the HEAD info
    EntUfisMsgHead header = new EntUfisMsgHead();
    header.setHop(HpEKConstants.HOPO);
    header.setUsr(HpEKConstants.PAX_ALERT_SOURCE);
    header.setApp(HpEKConstants.PAX_ALERT_SOURCE);
    header.setOrig(HpEKConstants.PAX_ALERT_SOURCE);
    HpUfisCalendar cur = new HpUfisCalendar(new Date());
    header.setReqt(cur.getCedaString());
    List<String> idFltList = new ArrayList<>();
    idFltList.add(idFlight.toString());
    header.setIdFlight(idFltList);
   
    return header;
  }
View Full Code Here

 
  private void sendNotifyUldInfoToInJson(EntDbPaxLoungeMove ent, EntDbPaxLoungeMove oldEnt, String cmd)
      throws IOException, JsonGenerationException, JsonMappingException {
    String urno = ent.getIdFlight().toString();
    // get the HEAD info
    EntUfisMsgHead header = new EntUfisMsgHead();
    header.setHop(HpEKConstants.HOPO);
    header.setOrig(dtfl);
    List<String> idFlightList = new ArrayList<>();
    idFlightList.add(urno);
    header.setIdFlight(idFlightList);

    // get the BODY ACTION info
    List<String> fldList = new ArrayList<>();
    fldList.add("ID_FLIGHT");
    fldList.add("PAX_REGN_KEY");
View Full Code Here

TOP

Related Classes of com.ufis_as.ufisapp.server.dto.EntUfisMsgHead

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.