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

    return daoUtils.selectList(query);
  }
Get all items.
@return List of all of the UpgradeEntity items.
ambari-server/src/main/java/org/apache/ambari/server/orm/dao/UpgradeDAO.java