Package org.apache.ws.scout.model.uddi.v2

Examples of org.apache.ws.scout.model.uddi.v2.BusinessDetail


    if (businessKeyArray != null) {
      request.getBusinessKey().addAll(Arrays.asList(businessKeyArray));
    }

        BusinessDetail bd;
        JAXBElement<?> o = execute(this.objectFactory.createGetBusinessDetail(request),
            this.getInquiryURI());
        bd = (BusinessDetail) o.getValue();
        return bd;
  }
View Full Code Here


    if (businessArray != null) {
      request.getBusinessEntity().addAll(Arrays.asList(businessArray));
    }

        BusinessDetail bd;
        JAXBElement<?> o = execute(this.objectFactory.createSaveBusiness(request),
            this.getPublishURI());
        bd = (BusinessDetail) o.getValue();

        return bd;
View Full Code Here

            if(bizInfos != null)
            {
              List<BusinessInfo> bizInfoList = bizInfos.getBusinessInfo();
              for (BusinessInfo businessInfo : bizInfoList) {
                    //Now get the details on the individual biz
                    BusinessDetail detail = registry.getBusinessDetail(businessInfo.getBusinessKey());
                    orgs.add(((BusinessLifeCycleManagerImpl)registryService.getLifeCycleManagerImpl()).createOrganization(detail));
                }
              bizInfoArr = new BusinessInfo[bizInfoList.size()];
              bizInfoList.toArray(bizInfoArr);
            }
View Full Code Here

            }
        }
        else if (LifeCycleManager.ORGANIZATION.equalsIgnoreCase(objectType)) {         
            try
            {
                BusinessDetail orgdetail = registry.getBusinessDetail(id);
                return ScoutUddiJaxrHelper.getOrganization(orgdetail, lcm);
            }
            catch (RegistryException e) {
                throw new JAXRException(e.getLocalizedMessage());
            }
View Full Code Here

                ri = registry.getRegisteredInfo(auth.getAuthInfo());
              }

              if (ri != null) {
            for (String key:keys) {
              BusinessDetail detail = registry.getBusinessDetail(key);
                            col.add(((BusinessLifeCycleManagerImpl)registryService.getLifeCycleManagerImpl()).createOrganization(detail));
                        }
                   
                }
            } catch (RegistryException e) {
View Full Code Here

              if (ri != null && ri.getBusinessInfos()!=null) {
                List<BusinessInfo> bizInfoList = ri.getBusinessInfos().getBusinessInfo();
                orgs = new LinkedHashSet<Organization>();
                for (BusinessInfo businessInfo : bizInfoList) {
                  BusinessDetail detail = registry.getBusinessDetail(businessInfo.getBusinessKey());
                        orgs.add(((BusinessLifeCycleManagerImpl)registryService.getLifeCycleManagerImpl()).createOrganization(detail));
          }
              }
             
            } catch (RegistryException re) {
View Full Code Here

                throw new UnexpectedObjectException();
            }
        }
        log.debug("Method:save_business: ENlength=" + entityarr.length);
        // Save business
        BusinessDetail bd = null;
        try {
            bd = (BusinessDetail) executeOperation(entityarr, "SAVE_ORG");
        }
        catch (RegistryException e) {
            exceptions.add(new SaveException(e.getLocalizedMessage()));
            bulk.setStatus(JAXRResponse.STATUS_FAILURE);
            bulk.setExceptions(exceptions);
            return bulk;
        }

        List<BusinessEntity> bizEntityList = bd.getBusinessEntity();
       
        entityarr = new BusinessEntity[bizEntityList.size()];
        bizEntityList.toArray(entityarr);
       
        log.debug("After Saving Business. Obtained vector size:" + entityarr != null ? entityarr.length : 0);
View Full Code Here

    if (businessKeyArray != null) {
      request.getBusinessKey().addAll(Arrays.asList(businessKeyArray));
    }

        BusinessDetail bd;
        JAXBElement<?> o = execute(this.objectFactory.createGetBusinessDetail(request),
            this.getInquiryURI());
        bd = (BusinessDetail) o.getValue();
        return bd;
  }
View Full Code Here

    if (businessArray != null) {
      request.getBusinessEntity().addAll(Arrays.asList(businessArray));
    }

        BusinessDetail bd;
        JAXBElement<?> o = execute(this.objectFactory.createSaveBusiness(request),
            this.getPublishURI());
        bd = (BusinessDetail) o.getValue();

        return bd;
View Full Code Here

            if(bizInfos != null)
            {
              List<BusinessInfo> bizInfoList = bizInfos.getBusinessInfo();
              for (BusinessInfo businessInfo : bizInfoList) {
                    //Now get the details on the individual biz
                    BusinessDetail detail = registry.getBusinessDetail(businessInfo.getBusinessKey());
                    orgs.add(registryService.getLifeCycleManagerImpl().createOrganization(detail));
        }
              bizInfoArr = new BusinessInfo[bizInfoList.size()];
              bizInfoList.toArray(bizInfoArr);
            }
View Full Code Here

TOP

Related Classes of org.apache.ws.scout.model.uddi.v2.BusinessDetail

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.