Esempio n. 1
0
 public void add(int index, ContentId contentId, ContentId referenceMetaDataId) {
   try {
     contentList.add(index, new ContentReference(contentId, referenceMetaDataId));
   } catch (CMException e) {
     throw new CMRuntimeException(
         "While adding "
             + contentId.getContentIdString()
             + " to "
             + this
             + ": "
             + e.getMessage(),
         e);
   }
 }