Package org.olat.core.util.notifications.items

Examples of org.olat.core.util.notifications.items.TitleItem


    } catch (Exception e) {
      log.error("", e);
      checkPublisher(p);
      title = translator.translate("notifications.header");
    }
    return new TitleItem(title, CSSHelper.CSS_CLASS_FILETYPE_FOLDER);
  }
View Full Code Here


  }

  @Override
  public String createTitleInfo(Subscriber subscriber, Locale locale) {
    Translator translator = Util.createPackageTranslator(FolderNotificationsHandler.class, locale);
    TitleItem title = getTitleItem(subscriber.getPublisher(), translator);
    return title.getInfoContent("text/plain");
  }
View Full Code Here

          title = translator.translate("cal.notifications.header.group", new String[]{group.getName()});
        }

        if (calType != null) {
          Formatter form = Formatter.getInstance(locale);
          si = new SubscriptionInfo(new TitleItem(title, CSS_CLASS_CALENDAR_ICON), null);
         
          String bPath;
          if(StringHelper.containsNonWhitespace(p.getBusinessPath())) {
            bPath = p.getBusinessPath();
          } else if("CalendarManager.course".equals(p.getResName())) {
View Full Code Here

TOP

Related Classes of org.olat.core.util.notifications.items.TitleItem

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.