@RequiresSession
  public List<ViewURLEntity> findAll() {
    TypedQuery<ViewURLEntity> query = entityManagerProvider.get().
        createNamedQuery("allViewUrls", ViewURLEntity.class);

    return query.getResultList();
  }
Find all view instances.

@return all views or an empty List
ambari-server/src/main/java/org/apache/ambari/server/orm/dao/ViewURLDAO.java