Package com.ufis_as.ek_if.macs.entities

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


        if (irmtabRef > 0) {
          msgLogged = Boolean.TRUE;
        }
     
      EntDbServiceRequest edpiod = new EntDbServiceRequest();
      ServiceRequestPK serviceRequestPK =  new ServiceRequestPK();
     
      edpiod.setIntSystem("MACS");

      // check as it's a mandatory field
      if (fctDetails.getFCTID() != null
          && !fctDetails.getFCTID().isEmpty()) {
        edpiod.setIntId(fctDetails.getFCTID());
      } else {
        LOG.info("Mandatory field FCT_ID is null or empty, Fact Message is rejected");
        sendErroNotification(EnumExceptionCodes.EMAND,irmtabRef);
         return null;
      }

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

      // check as it's a mandatory field
      if (fctDetails.getREFERENCENUMBER() != null
          && !fctDetails.getREFERENCENUMBER().isEmpty()) {
//        edpiod.setIntRefNumber(fctDetails.getREFERENCENUMBER());
        serviceRequestPK.setIntRefNumber(fctDetails.getREFERENCENUMBER());
      } else {
        LOG.info("Mandatory field REFERENCENUMBER is null or empty, Fact Message is rejected");
        sendErroNotification(EnumExceptionCodes.EMAND,irmtabRef);
         return null;
      }
View Full Code Here

TOP

Related Classes of com.ufis_as.ek_if.macs.entities.ServiceRequestPK

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.