@RequiresSession
  public List<RemoteAmbariClusterEntity> findAll() {
    TypedQuery<RemoteAmbariClusterEntity> query = entityManagerProvider.get().
        createNamedQuery("allRemoteAmbariClusters", RemoteAmbariClusterEntity.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/RemoteAmbariClusterDAO.java