code: public Collection<AlertCondition> list(Entity entity)
      {
          return list(entity.getId(), entity.getType());
      }
docs: Returns the alert conditions for the given entity.
  @param entity The entity to look up
  @return The alert conditions for the entity