code: public CmsLink addLink(CmsRelationType type, String targetUri, boolean internal) {
  
          CmsLink link = new CmsLink(LINK_PREFIX + m_linkTable.size(), type, targetUri, internal);
          m_linkTable.put(link.getName(), link);
          return link;
      }
docs: Adds a new link to the link table.<p>
  
  @param type type of the link
  @param targetUri link destination
  @param internal flag to indicate if the link is a local link
  
  @return the new link entry