if (LifeCycleManager.CLASSIFICATION_SCHEME.equalsIgnoreCase(objectType))
{
try
{
TModelDetail tmodeldetail = registry.getTModelDetail(keys);
List<TModel> tmodelList = tmodeldetail.getTModel();
for (TModel tModel: tmodelList)
{
col.add(ScoutUddiJaxrHelper.getConcept(tModel, lcm));
}
} catch (RegistryException e)
{
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());
if (ri != null) {
for (String key:keys) {
BusinessDetail detail = registry.getBusinessDetail(key);
col.add(registryService.getLifeCycleManagerImpl().createOrganization(detail));
}
}
} catch (RegistryException e) {
throw new JAXRException(e.getLocalizedMessage());
}
}
else if (LifeCycleManager.CONCEPT.equalsIgnoreCase(objectType))
{
try {
TModelDetail tmodeldetail = registry.getTModelDetail(keys);
List<TModel> tmodelList = tmodeldetail.getTModel();
for (TModel tmodel: tmodelList)
{
col.add(ScoutUddiJaxrHelper.getConcept(tmodel, lcm));
}