Examples of TModelInfo


Examples of org.apache.ws.scout.uddi.TModelInfo

                TModelInfo[] tmarr = null;
                if (list != null) infos = list.getTModelInfos();
                if (infos != null) tmarr = infos.getTModelInfoArray();
                for (int i = 0; tmarr != null && i < tmarr.length; i++)
                {
                    TModelInfo info = tmarr[i];
                    col.add(ScoutUddiJaxrHelper.getConcept(info, this.registryService.getBusinessLifeCycleManager()));
                }

            } catch (RegistryException e)
            {
View Full Code Here

Examples of org.uddi.api_v2.TModelInfo

                List<TModelInfo> r = new ArrayList<TModelInfo>();
                if (tModelInfo == null) {
                        return r;
                }
                for (int i = 0; i < tModelInfo.size(); i++) {
                        TModelInfo x = new TModelInfo();
                       
                        x.setTModelKey(tModelInfo.get(i).getTModelKey());
                        x.setName(new Name(tModelInfo.get(i).getName().getValue(), tModelInfo.get(i).getName().getValue()));
                        r.add(x);
                }
                return r;
        }
View Full Code Here

Examples of org.uddi.api_v3.TModelInfo

      if (tInfos == null)
        Assert.fail("No result from find tModel operation");
      List<TModelInfo> tiList = tInfos.getTModelInfo();
      if (tiList == null || tiList.size() == 0)
        Assert.fail("No result from find tModel operation");
      TModelInfo tiOut = tiList.get(0);
     
      TModel tmIn = (TModel)EntityCreator.buildFromDoc(TckTModel.JOE_PUBLISHER_TMODEL_XML, "org.uddi.api_v3");
     
      assertEquals(tmIn.getTModelKey(), tiOut.getTModelKey());
      assertEquals(tmIn.getName().getLang(), tiOut.getName().getLang());
      assertEquals(tmIn.getName().getValue(), tiOut.getName().getValue());

      TckValidator.checkDescriptions(tmIn.getDescription(), tiOut.getDescription());
    }
    catch(Exception e) {
      logger.error(e.getMessage(), e);
      Assert.fail("No exception should be thrown.");
    }
View Full Code Here

Examples of org.uddi.api_v3.TModelInfo

                          log.info("mark all tmodels for publisher " + entityKey + " as deleted.");
                          TModelInfos tmodelInfos = registeredInfo.getTModelInfos();
                          if (tmodelInfos!=null && tmodelInfos.getTModelInfo()!=null) {
                            Iterator<TModelInfo> iter = tmodelInfos.getTModelInfo().iterator();
                            while (iter.hasNext()) {
                              TModelInfo tModelInfo = iter.next();
                              Tmodel tmodel = (Tmodel) em.find(org.apache.juddi.model.Tmodel.class, tModelInfo.getTModelKey());
                              tmodel.setDeleted(true);
                              em.persist(tmodel);
                            }
                          }
                          log.info("remove all persisted AuthTokens for publisher " + entityKey + ".");
View Full Code Here

Examples of org.uddi.api_v3.TModelInfo

      if (tInfos == null)
        Assert.fail("No result from find tModel operation");
      List<TModelInfo> tiList = tInfos.getTModelInfo();
      if (tiList == null || tiList.size() == 0)
        Assert.fail("No result from find tModel operation");
      TModelInfo tiOut = tiList.get(0);
     
      TModel tmIn = (TModel)EntityCreator.buildFromDoc(TckTModel.JOE_PUBLISHER_TMODEL_XML, "org.uddi.api_v3");
     
      assertEquals(tmIn.getTModelKey(), tiOut.getTModelKey());
      assertEquals(tmIn.getName().getLang(), tiOut.getName().getLang());
      assertEquals(tmIn.getName().getValue(), tiOut.getName().getValue());

      TckValidator.checkDescriptions(tmIn.getDescription(), tiOut.getDescription());
    }
    catch(Exception e) {
      logger.error(e.getMessage(), e);
      Assert.fail("No exception should be thrown.");
    }
View Full Code Here

Examples of org.uddi.api_v3.TModelInfo

      if (tInfos == null)
        Assert.fail("No result from find tModel operation");
      List<TModelInfo> tiList = tInfos.getTModelInfo();
      if (tiList == null || tiList.size() == 0)
        Assert.fail("No result from find tModel operation");
      TModelInfo tiOut = tiList.get(0);
     
      TModel tmIn = (TModel)EntityCreator.buildFromDoc(TckTModel.JOE_PUBLISHER_TMODEL_XML, "org.uddi.api_v3");
     
      assertEquals(tmIn.getTModelKey(), tiOut.getTModelKey());
      assertEquals(tmIn.getName().getLang(), tiOut.getName().getLang());
      assertEquals(tmIn.getName().getValue(), tiOut.getName().getValue());

      TckValidator.checkDescriptions(tmIn.getDescription(), tiOut.getDescription());
    }
    catch(Exception e) {
      logger.error(e.getMessage(), e);
      Assert.fail("No exception should be thrown.");
    }
View Full Code Here

Examples of org.uddi.api_v3.TModelInfo

          clerk.unRegisterService(serviceKey);
         
          FindTModel findTmodelForProcessName = createFindTModelForProcessName(serviceName);
          TModelList tModelList = clerk.findTModel(findTmodelForProcessName);
          if (tModelList!=null && tModelList.getTModelInfos()!=null && tModelList.getTModelInfos().getTModelInfo()!=null) {
            TModelInfo tModelInfo = tModelList.getTModelInfos().getTModelInfo().get(0);
            String bpel4WSTModelKey = tModelInfo.getTModelKey();
            clerk.unRegisterTModel(bpel4WSTModelKey);
            // now use this key to find the portType TModels
            GetTModelDetail findAllPortTypesForProcess = createFindAllPortTypesForProcess_1(bpel4WSTModelKey);
            TModelDetail tModelDetail = clerk.getTModelDetail(findAllPortTypesForProcess);
            if (tModelDetail!=null) {
View Full Code Here

Examples of org.uddi.api_v3.TModelInfo

                if (findTModel.getTModelInfos() != null) {
                        r.setTModelInfos(new TModelInfos());
                        r.getListDescription().setIncludeCount(findTModel.getTModelInfos().getTModelInfo().size());
                        r.getListDescription().setActualCount(findTModel.getTModelInfos().getTModelInfo().size());
                        for (int i = 0; i < findTModel.getTModelInfos().getTModelInfo().size(); i++) {
                                TModelInfo x = new TModelInfo();
                                x.setName(new Name(findTModel.getTModelInfos().getTModelInfo().get(i).getName().getValue(), findTModel.getTModelInfos().getTModelInfo().get(i).getName().getLang()));
                                x.setTModelKey(findTModel.getTModelInfos().getTModelInfo().get(i).getTModelKey());

                                r.getTModelInfos().getTModelInfo().add(x);
                        }

                }
View Full Code Here

Examples of org.uddi.api_v3.TModelInfo

                        r.getBusinessInfos().getBusinessInfo().addAll(MapBusinessInfo(registeredInfo.getBusinessInfos().getBusinessInfo()));
                }
                if (registeredInfo.getTModelInfos() != null) {
                        r.setTModelInfos(new TModelInfos());
                        for (int i = 0; i < registeredInfo.getTModelInfos().getTModelInfo().size(); i++) {
                                TModelInfo x = new TModelInfo();
                                x.setTModelKey(registeredInfo.getTModelInfos().getTModelInfo().get(i).getTModelKey());
                                x.setName(new Name(registeredInfo.getTModelInfos().getTModelInfo().get(i).getName().getValue(),
                                     registeredInfo.getTModelInfos().getTModelInfo().get(i).getName().getValue()));
                                r.getTModelInfos().getTModelInfo().add(x);
                        }

                }
View Full Code Here

Examples of org.uddi.api_v3.TModelInfo

          clerk.unRegisterService(serviceKey);
         
          FindTModel findTmodelForProcessName = createFindTModelForProcessName(serviceName);
          TModelList tModelList = clerk.findTModel(findTmodelForProcessName);
          if (tModelList!=null && tModelList.getTModelInfos()!=null && tModelList.getTModelInfos().getTModelInfo()!=null) {
            TModelInfo tModelInfo = tModelList.getTModelInfos().getTModelInfo().get(0);
            String bpel4WSTModelKey = tModelInfo.getTModelKey();
            clerk.unRegisterTModel(bpel4WSTModelKey);
            // now use this key to find the portType TModels
            GetTModelDetail findAllPortTypesForProcess = createFindAllPortTypesForProcess_1(bpel4WSTModelKey);
            TModelDetail tModelDetail = clerk.getTModelDetail(findAllPortTypesForProcess);
            if (tModelDetail!=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.