code: private void removeEntry(CmsUUID entryId, CmsUUID parentId) {
  
          CmsClientSitemapEntry entry = getEntryById(entryId);
          CmsClientSitemapEntry deleteParent = getEntryById(parentId);
          removeAllChildren(entry);
          deleteParent.removeSubEntry(entry.getPosition());
          m_entriesById.remove(entryId);
          m_entriesByPath.remove(entry.getSitePath());
          // apply to detailpage table
          CmsDetailPageTable detailPageTable = getData().getDetailPageTable();
          if (detailPageTable.contains(entryId)) {
              detailPageTable.remove(entryId);
          }
      }
docs: Removes the given entry from the data model.<p>
  
  @param entryId the id of the entry to remove
  @param parentId the parent entry id