if (LifeCycleManager.CLASSIFICATION_SCHEME.equalsIgnoreCase(objectType))
{
try
{
TModelDetail tmodeldetail = registry.getTModelDetail(keys);
TModel[] tmarray = tmodeldetail.getTModelArray();
for (int i = 0; tmarray != null && i < tmarray.length; i++)
{
col.add(ScoutUddiJaxrHelper.getConcept(tmarray[i], lcm));
}
} catch (RegistryException e)
{
e.printStackTrace();
throw new JAXRException(e.getLocalizedMessage());
}
}
else if (LifeCycleManager.ORGANIZATION.equalsIgnoreCase(objectType))
{
ConnectionImpl con = ((RegistryServiceImpl)getRegistryService()).getConnection();
AuthToken auth = this.getAuthToken(con,registry);
try
{
RegisteredInfo ri = registry.getRegisteredInfo(auth.getAuthInfo());
BusinessInfos infos = null;
BusinessInfo[] biarr = null;
if (ri != null) infos = ri.getBusinessInfos();
if (infos != null) biarr = infos.getBusinessInfoArray();
for (int i = 0; i < biarr.length; i++) {
BusinessInfo info = biarr[i];
BusinessDetail detail = registry.getBusinessDetail(info.getBusinessKey());
col.add(registryService.getLifeCycleManagerImpl().createOrganization(detail));
}
} catch (RegistryException e) {
e.printStackTrace();
throw new JAXRException(e.getLocalizedMessage());
}
}
else if (LifeCycleManager.CONCEPT.equalsIgnoreCase(objectType))
{
try {
TModelDetail tmodeldetail = registry.getTModelDetail(keys);
TModel[] tmarr = tmodeldetail.getTModelArray();
for (int i = 0; tmarr != null && i < tmarr.length; i++)
{
col.add(ScoutUddiJaxrHelper.getConcept(tmarr[i], lcm));
}