code: protected Collection<CmsContentNotification> getContentNotifications() throws CmsException {
  
          // get all owners for the resource
          Iterator<CmsExtendedNotificationCause> notificationCandidates = m_resources.iterator();
          Map<CmsUser, CmsContentNotification> result = new HashMap<CmsUser, CmsContentNotification>();
          while (notificationCandidates.hasNext()) {
              CmsExtendedNotificationCause resourceInfo = notificationCandidates.next();
              CmsResource resource = resourceInfo.getResource();
              // skip, if content notification is not enabled for this resource
              String enableNotification = m_cms.readPropertyObject(
                  resource,
                  CmsPropertyDefinition.PROPERTY_ENABLE_NOTIFICATION,
                  true).getValue();
              if (Boolean.valueOf(enableNotification).booleanValue()) {
                  try {
                      Iterator<CmsUser> responsibles = m_cms.readResponsibleUsers(resource).iterator();
                      while (responsibles.hasNext()) {
                          CmsUser responsible = responsibles.next();
                          if (CmsStringUtil.isNotEmptyOrWhitespaceOnly(responsible.getEmail())) {
                              // check, if resultset already contains a content notification for the user
                              CmsContentNotification contentNotification = result.get(responsible);
  
                              // if not add a new content notification
                              if (contentNotification == null) {
                                  contentNotification = new CmsContentNotification(responsible, m_cms);
                                  result.put(responsible, contentNotification);
                              }
                              List<CmsExtendedNotificationCause> resourcesForResponsible = contentNotification.getNotificationCauses();
                              if (resourcesForResponsible == null) {
                                  resourcesForResponsible = new ArrayList<CmsExtendedNotificationCause>();
                                  contentNotification.setNotificationCauses(resourcesForResponsible);
                              }
                              resourcesForResponsible.add(resourceInfo);
                          }
                      }
                  } catch (CmsException e) {
                      if (LOG.isInfoEnabled()) {
                          LOG.error(e.getLocalizedMessage(), e);
                      }
                  }
              }
          }
          return result.values();
      }
docs: Returns a collection of CmsContentNotifications, one for each responsible that receives a notification.<p>
  
  @return the list of CmsContentNotifications, one for each responsible that receives a notification
  
  @throws CmsException if something goes wrong