Package org.openeai.moa

Examples of org.openeai.moa.ActionableEnterpriseObject


      if (bp_middleNameTextField.getText() != null && bp_middleNameTextField.getText().length() > 0) {
        aName.setMiddleName(bp_middleNameTextField.getText());
        lPerson.setName(aName);
      }
     
      ActionableEnterpriseObject jeo = (ActionableEnterpriseObject)APP_CONFIG.getObject(messageObjectName);
      org.openeai.OpenEaiObject.logger.info("got " + messageObjectName + " from AppConfig, performing Query...");
     
      java.util.List a = jeo.query(lPerson, (PointToPointProducer)APP_CONFIG.getObject(SELF_SERVICE_PRODUCER));
      org.openeai.OpenEaiObject.logger.info("Executed Query...");
     
      StringBuffer results = new StringBuffer();
      if (a.size() == 0) {
        bp_resultsTextArea.setText("No rows found matching the query.");
View Full Code Here


      }
      //vaddress.setAddress(address);
      vaddressQuery.setAddress(address);
     
      //ActionableEnterpriseObject jeo = (ActionableEnterpriseObject)APP_CONFIG.getObject(messageObjectName);
      ActionableEnterpriseObject jeo = vaddress;
      org.openeai.OpenEaiObject.logger.info("got " + messageObjectName + " from AppConfig, performing Query...");
     
      java.util.List a = jeo.query(vaddressQuery, (PointToPointProducer)APP_CONFIG.getObject(ADDRESS_VALIDATION_PRODUCER));
      org.openeai.OpenEaiObject.logger.info("Executed Query...");
     
      StringBuffer results = new StringBuffer();
      if (a.size() == 0) {
        bp_resultsTextArea.setText("No rows found matching the query.");
View Full Code Here

        org.openeai.OpenEaiObject.logger.info("got LightweightPerson...");
       
        lPerson.setInstitutionalId(instIdTextField.getText());
        org.openeai.OpenEaiObject.logger.info("set instid on lightweight person...");
       
        ActionableEnterpriseObject bpJeo = (ActionableEnterpriseObject)APP_CONFIG.getObject(messageObjectName);
        org.openeai.OpenEaiObject.logger.info("got " + messageObjectName + " from AppConfig, performing Query...");
       
        java.util.List a = bpJeo.query(lPerson, (PointToPointProducer)APP_CONFIG.getObject(SELF_SERVICE_PRODUCER));
        org.openeai.OpenEaiObject.logger.info("Executed Query...");
       
        String personName = null;
        if (a.size() == 0) {
          ec_textArea.setText("No Person information can be found for that inst id.");
          return;
        }
        else {
          for (int i=0; i<a.size(); i++) {
            BasicPerson bp = (BasicPerson)a.get(i);
            personName = bp.getName().getFirstName() + " " + bp.getName().getLastName();
            ec_bpName.setText(personName);
          }     
        }
       
        // now, query for the emerency contacts for this person using the same LightweightPerson
        messageObjectName = EMERGENCY_CONTACT;
        ActionableEnterpriseObject ecJeo = (ActionableEnterpriseObject)APP_CONFIG.getObject(messageObjectName);
        org.openeai.OpenEaiObject.logger.info("got " + messageObjectName + " from AppConfig, performing Query...");
       
        java.util.List eclist = ecJeo.query(lPerson, (PointToPointProducer)APP_CONFIG.getObject(SELF_SERVICE_PRODUCER));
        org.openeai.OpenEaiObject.logger.info("Executed Query...");
       
        if (eclist.size() == 0) {
          ec_textArea.setText("No EmergencyContacts found for " + personName);
        }
View Full Code Here

TOP

Related Classes of org.openeai.moa.ActionableEnterpriseObject

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.