Examples of BusinessKey


Examples of org.apache.juddi.datatype.BusinessKey

    this.maker = maker;
  }

  public RegistryObject unmarshal(Element element)
  {
    BusinessKey obj = new BusinessKey();

    // Attributes
    // {none}

    // Text Node Value
    obj.setValue(XMLUtils.getText(element));

    // Child Elements
    // {none}

    return obj;
View Full Code Here

Examples of org.apache.juddi.datatype.BusinessKey

    return obj;
  }

  public void marshal(RegistryObject object,Element parent)
  {
    BusinessKey key = (BusinessKey)object;
    Element element = parent.getOwnerDocument().createElement(TAG_NAME);

    String keyValue = key.getValue();
    if (keyValue != null)
      element.appendChild(parent.getOwnerDocument().createTextNode(keyValue));

    parent.appendChild(element);
  }
View Full Code Here

Examples of org.apache.juddi.datatype.BusinessKey

    {
      handler = maker.lookup(FindQualifiersHandler.TAG_NAME);
      handler.marshal(qualifiers,element);
    }

  BusinessKey businessKey = new BusinessKey(request.getBusinessKey());
  if (businessKey != null)
  {
    handler = maker.lookup(BusinessKeyHandler.TAG_NAME);
    handler.marshal(businessKey,element);
  }
View Full Code Here

Examples of org.apache.juddi.datatype.BusinessKey

  private RegistryObject getRegistryObject()
  {
    GetBusinessDetailExt object = new GetBusinessDetailExt();
    object.addBusinessKey("1bd50f65-9671-41ae-8d13-b3b5a5afcda0");
    object.addBusinessKey(new BusinessKey("1fbe67e6-f8b5-4743-a23f-9c13e4273d9f"));

    return object;

  }
View Full Code Here

Examples of org.apache.juddi.datatype.BusinessKey

    boolean truncated = list.isTruncated();
    if (truncated)
      element.setAttribute("truncated","true");

    BusinessKey key = list.getBusinessKey();
    if (key != null)
    {
      handler = maker.lookup(BusinessKeyHandler.TAG_NAME);
      handler.marshal(key,element);
    }
View Full Code Here

Examples of org.apache.juddi.datatype.BusinessKey

    RelatedBusinessesList list = new RelatedBusinessesList();
    list.setGeneric("2.0");
    list.setOperator("jUDDI.org");
    list.setTruncated(true);
    list.setBusinessKey(new BusinessKey("f9f0c35f-06ab-4bec-9c7d-b1469e73f0eb"));
    list.addRelatedBusinessInfo(new RelatedBusinessInfo("abc"));
    list.addRelatedBusinessInfo(new RelatedBusinessInfo("xyz"));

    System.out.println();
View Full Code Here

Examples of org.apache.juddi.datatype.BusinessKey

    authInfo.setValue("6f157513-844e-4a95-a856-d257e6ba9726");

    DeleteBusiness object = new DeleteBusiness();
    object.setAuthInfo(authInfo);
    object.addBusinessKey("1bd50f65-9671-41ae-8d13-b3b5a5afcda0");
    object.addBusinessKey(new BusinessKey("1fbe67e6-f8b5-4743-a23f-9c13e4273d9f"));

    return object;

  }
View Full Code Here

Examples of org.apache.juddi.datatype.BusinessKey

  private RegistryObject getRegistryObject()
  {
    GetBusinessDetail object = new GetBusinessDetail();
    object.addBusinessKey("1bd50f65-9671-41ae-8d13-b3b5a5afcda0");
    object.addBusinessKey(new BusinessKey("1fbe67e6-f8b5-4743-a23f-9c13e4273d9f"));

    return object;

  }
View Full Code Here

Examples of org.camunda.bpm.engine.spring.annotations.BusinessKey

  }

  protected String processBusinessKey(MethodInvocation invocation) throws Throwable {
    Map<BusinessKey, String> businessKeyAnnotations = this.mapOfAnnotationValues( BusinessKey.class ,invocation);
    if (businessKeyAnnotations.size() == 1) {
      BusinessKey processId = businessKeyAnnotations.keySet().iterator().next();
      return businessKeyAnnotations.get(processId);
    }
    return null;
  }
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.