@Transactional
  public void remove(ExtensionLinkEntity link) {
    EntityManager entityManager = entityManagerProvider.get();
    link = findById(link.getLinkId());
    if (null != link) {
      entityManager.remove(link);
    }
  }
Removes the specified extension link

@param link
         the extension link to remove.
ambari-server/src/main/java/org/apache/ambari/server/orm/dao/ExtensionLinkDAO.java