Examples of EntUfisMsgBody


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

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

      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

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

      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

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

      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

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

      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
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.