@Logged
 public List<Status> getTranslationEntityStati(String modelIdentifier, String lang) {
   Set<Status> set = new LinkedHashSet<Status>();
   set.addAll(documentDAO.getDocumentStati(modelIdentifier, lang));
   set.addAll(imageDAO.getImageStati(modelIdentifier, lang));
   set.addAll(translateableTextDAO.getTextElementStati(modelIdentifier, lang));
   return new ArrayList<Status>(set);
 }
 private TranslationDocument read(TranslationDocument entry) {
   switch (entry.getType()) {
     case IMAGE:
       return imageDAO.getImage(((Image) entry).getId());
     case DOCUMENT:
       return documentDAO.getDocument(((Document) entry).getId());
     default:
       return null;
   }
 }
 public List<Image> getImages(String modelIdentifier) {
   return imageDAO.getImages(modelIdentifier);
 }
 public Image getImage(long imageId) {
   return imageDAO.getImage(imageId);
 }