@RequiresSession
  public AlertNoticeEntity findNoticeById(long noticeId) {
    return entityManagerProvider.get().find(AlertNoticeEntity.class, noticeId);
  }
Gets a notification with the specified ID.

@param noticeId
         the ID of the notification to retrieve.
@return the notification or {@code null} if none exists.
ambari-server/src/main/java/org/apache/ambari/server/orm/dao/AlertDispatchDAO.java