Пример #1
0
  /**
   * Retrieve a service by identifier
   *
   * @param alertServiceRefId AlertServiceRef identifier
   * @return Retrieved service
   */
  public AlertServiceRef findById(Long alertServiceRefId) {
    AlertServiceRef service = null;

    log.debug("Performing service retrieve using id: " + alertServiceRefId);

    try {
      service = objectDao.findById(alertServiceRefId, AlertServiceRef.class);
    } catch (Throwable t) {
      log.error("Failure during object findById", t);
    }

    log.debug("Completed service retrieve by id");

    return service;
  }