Content content = (Content) em.find(Content.class, compassContentLanguage.getContentId());
ContentInfo contentInfo = formatContent(content);
vector.add(contentInfo);
}
if (object instanceof CompassItemLanguage) {
CompassItemLanguage compassItemLanguage = (CompassItemLanguage) object;
Item item = (Item) em.find(Item.class, compassItemLanguage.getItemId());
ItemInfo itemInfo = formatItem(item);
vector.add(itemInfo);
}
}
Object searchDatas[] = new Object[vector.size()];