List<org.apache.juddi.model.Subscription> modelSubscriptionList = (List<org.apache.juddi.model.Subscription>)FindSubscriptionByPublisherQuery.select(em, publisher.getAuthorizedName());
if (modelSubscriptionList != null && modelSubscriptionList.size() > 0) {
for (org.apache.juddi.model.Subscription modelSubscription : modelSubscriptionList) {
Subscription apiSubscription = new Subscription();
MappingModelToApi.mapSubscription(modelSubscription, apiSubscription);
result.add(apiSubscription);
}