Examples of newName()


Examples of com.any_erp_vendor.moa.jmsobjects.person.v1_0.BasicPerson.newName()


      // where to get the newdata (the form data)?
      BasicPerson bp = (BasicPerson)getAppConfig().getObject(messageObjectName);
      bp.setInstitutionalId(getChannelRuntimeData().getParameter("InstitutionalId"));
      Name name = bp.newName();
      name.setFirstName(getChannelRuntimeData().getParameter("FirstName"));
      name.setLastName(getChannelRuntimeData().getParameter("LastName"));
      bp.setName(name);

      // address info
View Full Code Here

Examples of com.any_erp_vendor.moa.jmsobjects.person.v1_0.BasicPerson.newName()

      logger.info("Retrieving Person record for InstitutionalId: " + instId);
      ResultSet rs = stmt.executeQuery();
      logger.info("Retreived Person record for InstitutionalId: " + instId);

      BasicPerson bPerson = (BasicPerson)getAppConfig().getObject("BasicPerson.v1_0");
      Name aName = bPerson.newName();
      boolean foundPerson = false;
      while (rs.next()) {
        foundPerson = true;
        bPerson.setInstitutionalId(rs.getString(1));
        aName.setFirstName(rs.getString(2));
View Full Code Here

Examples of com.any_erp_vendor.moa.jmsobjects.person.v1_0.BasicPerson.newName()

        if (returnedJeos.size() == 0) {
          // create the BasicPerson using default values from uPortal (givenName, sn)
          LogService.log(LogService.INFO, "[basicPersonQueryHandler] BasicPerson doesn't exist, creating it.");
          BasicPerson bp = (BasicPerson)getAppConfig().getObject(messageObjectName);
          bp.setInstitutionalId(instId);
          Name name = bp.newName();
          name.setFirstName(firstName);
          name.setLastName(lastName);
          bp.setName(name);
          bp.create((PointToPointProducer)getAppConfig().getObject(producerName));
          LogService.log(LogService.INFO, "[basicPersonQueryHandler] BasicPerson was created.");
View Full Code Here

Examples of com.any_erp_vendor.moa.jmsobjects.person.v1_0.BasicPerson.newName()

   * @throws EnterpriseObjectCreateException
   */
  private BasicPerson createBasicPerson(String instID, String firstName, String lastName, String email) throws EnterpriseConfigurationObjectException, EnterpriseFieldException, EnterpriseObjectCreateException {
        BasicPerson aeo = (BasicPerson)appConfig.getObject(BASIC_PERSON);
        logger.info("["+portletName+"] Got " + BASIC_PERSON + " from AppConfig, performing Create...");
        Name aName = aeo.newName();
        aName.setFirstName(firstName);
        aName.setLastName(lastName);
        aeo.setName(aName);
        aeo.setInstitutionalId(instID);
        if (!"".equals(email)) {
View Full Code Here

Examples of com.foundationdb.sql.parser.AlterTableRenameColumnNode.newName()

                    return ChangeLevel.METADATA;
                   
                case NodeTypes.AT_RENAME_COLUMN_NODE:
                    AlterTableRenameColumnNode alterRenameCol = (AlterTableRenameColumnNode) node;
                    String oldColName = alterRenameCol.getName();
                    String newColName = alterRenameCol.newName();
                    final Column oldCol = origTable.getColumn(oldColName);

                    if (oldCol == null) {
                        throw new NoSuchColumnException(oldColName);
                    }
View Full Code Here

Examples of org.any_openeai_enterprise.moa.objects.resources.v1_0.LightweightPerson.newName()

      org.openeai.OpenEaiObject.logger.info("got LightweightPerson...");
     
      lPerson.setInstitutionalId(instIdTextField.getText());
      org.openeai.OpenEaiObject.logger.info("set instid on lightweight person...");
     
      org.any_openeai_enterprise.moa.objects.resources.v1_0.Name aName = lPerson.newName();
      if (bp_lastNameTextField.getText() != null && bp_lastNameTextField.getText().length() > 0) {
        aName.setLastName(bp_lastNameTextField.getText());
        lPerson.setName(aName);
      }
     
View Full Code Here

Examples of org.any_openeai_enterprise.moa.objects.resources.v1_0.LightweightPerson.newName()

      netId.setDomain(domain);
      eu.addNetId(netId);

      if (instId != null && instId.length() > 0) {
        lPerson.setInstitutionalId(instId);
        Name name = lPerson.newName();
        name.setFirstName(firstName);
        name.setLastName(lastName);
        lPerson.setName(name);
        LogService.log(LogService.INFO, "set LightweightPerson on EnterpriseUser...");
        eu.setLightweightPerson(lPerson);
View Full Code Here

Examples of org.apache.abdera.factory.Factory.newName()

    assertEquals(content.getSrc().toString(), "foo");
    content = factory.newContent(new MimeType("text/foo"));
    content.setDataHandler(new DataHandler(new ByteArrayDataSource("foo".getBytes())));
    assertEquals(content.getValue(), "Zm9v");
    assertEquals(content.getContentType(), Content.Type.MEDIA);
    el = factory.newName();
    assertNotNull(el);
    el = factory.newName();
    el.setText("a");
    assertEquals(el.getText(), "a");
    Parser parser = factory.newParser();
View Full Code Here

Examples of org.apache.abdera.factory.Factory.newName()

    content.setDataHandler(new DataHandler(new ByteArrayDataSource("foo".getBytes())));
    assertEquals(content.getValue(), "Zm9v");
    assertEquals(content.getContentType(), Content.Type.MEDIA);
    el = factory.newName();
    assertNotNull(el);
    el = factory.newName();
    el.setText("a");
    assertEquals(el.getText(), "a");
    Parser parser = factory.newParser();
    assertNotNull(parser);
    Person person = factory.newPerson(Constants.AUTHOR, null);
View Full Code Here

Examples of org.apache.abdera.factory.Factory.newName()

    assertEquals(content.getSrc().toString(), "foo");
    content = factory.newContent(new MimeType("text/foo"));
    content.setDataHandler(new DataHandler(new ByteArrayDataSource("foo".getBytes())));
    assertEquals(content.getValue(), "Zm9v");
    assertEquals(content.getContentType(), Content.Type.MEDIA);
    el = factory.newName();
    assertNotNull(el);
    el = factory.newName();
    el.setText("a");
    assertEquals(el.getText(), "a");
    Parser parser = factory.newParser();
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.