Package com.ufis_as.ufisapp.server.dto

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


  public void processConxMsg(EntUfisMsgDTO ufisMsgDTO) {
    try {
      long start = System.currentTimeMillis();
      if (ufisMsgDTO != null && ufisMsgDTO.getBody() != null) {
        //EntUfisMsgHead head = ufisMsgDTO.getHead();
        EntUfisMsgBody body = ufisMsgDTO.getBody();
        // currently only action and table are required and only once
        if (body.getActs() != null && body.getActs().size() > 0) {
          EntUfisMsgACT act = body.getActs().get(0);
          //String cmd = act.getCmd();
          String tab = act.getTab();
          List<String> fld = act.getFld();
          List<Object> dat = act.getData();
View Full Code Here


      if(ufisMsgDTO == null || ufisMsgDTO.getBody() == null) {
        LOG.warn("Message and message body cannot be empty or null");
        return;
      }
     
      EntUfisMsgBody body = ufisMsgDTO.getBody();
     
      if(body.getActs() == null && body.getActs().isEmpty()) {
        LOG.warn("Message Action cannot be empty or null");
        return;
      }
     
      EntUfisMsgACT act = body.getActs().get(0);
      String tab = act.getTab();
      String cmd = act.getCmd();
      List<String> fld = act.getFld();
      List<Object> dat = act.getData();
View Full Code Here

      String dtfl) {
    try {
      long start = System.currentTimeMillis();
      if (ufisMsgDTO != null && ufisMsgDTO.getBody() != null) {
        // EntUfisMsgHead head = ufisMsgDTO.getHead();
        EntUfisMsgBody body = ufisMsgDTO.getBody();
        // currently only action and table are required and only once
        if (body.getActs() != null && body.getActs().size() > 0) {
          EntUfisMsgACT act = body.getActs().get(0);
          // String cmd = act.getCmd();
          String tab = act.getTab();
          List<String> fld = act.getFld();
          List<Object> dat = act.getData();
          if (fld == null || dat == null || fld.size() != dat.size()) {
View Full Code Here

      String dtfl) {
    try {
      long start = System.currentTimeMillis();
      if (ufisMsgDTO != null && ufisMsgDTO.getBody() != null) {
        // EntUfisMsgHead head = ufisMsgDTO.getHead();
        EntUfisMsgBody body = ufisMsgDTO.getBody();
        // currently only action and table are required and only once
        if (body.getActs() != null && body.getActs().size() > 0) {
          EntUfisMsgACT act = body.getActs().get(0);
          // String cmd = act.getCmd();
          String tab = act.getTab();
          List<String> fld = act.getFld();
          List<Object> dat = act.getData();
          if (fld == null || dat == null || fld.size() != dat.size()) {
View Full Code Here

      if(msgDTO == null) {
        LOG.error("Wrong message format. The message will be dropped.");
        return false;
      }
     
      EntUfisMsgBody body = msgDTO.getBody();
      List<EntUfisMsgACT> actions = body.getActs();
     
      if(msgDTO == null || body == null || actions == null || actions.isEmpty()) {
        LOG.error("Message body is not provided. The message will be dropped.");
        return false;
      }
View Full Code Here

TOP

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

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.