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

    return query.getResultList();
  }
Find all blueprints.

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