Package org.olat.core.gui.control.generic.portal

Examples of org.olat.core.gui.control.generic.portal.PortletEntry


    /**
     * @see org.olat.core.gui.components.table.TableDataModel#getValueAt(int, int)
     */
    public final Object getValueAt(int row, int col) {     
      PortletEntry entry = getObject(row);
      EfficiencyStatement statement = (EfficiencyStatement)entry.getValue();
      switch (col) {
        case 0:         
          return statement.getCourseTitle();
        case 1:                 
          Date lastUpdate = new Date(statement.getLastUpdated());
View Full Code Here


    public GroupTableDataModel(List<PortletEntry> objects) {
      super(objects,2);
    }
   
    public Object getValueAt(int row, int col) {
      PortletEntry entry = getObject(row);
      BusinessGroup businessGroup = (BusinessGroup) entry.getValue();
      switch (col) {
        case 0:
          String name = businessGroup.getName();
          name = StringEscapeUtils.escapeHtml(name).toString();
          return name;
View Full Code Here

    /**
     * @see org.olat.core.gui.components.table.TableDataModel#getValueAt(int, int)
     */
    public final Object getValueAt(int row, int col) {
      PortletEntry portletEntry = getObject(row);
      BusinessGroup group = (BusinessGroup) portletEntry.getValue();
      switch (col) {
        case 0:
          return group.getName();
        case 1:
          String description = group.getDescription();
View Full Code Here

       this.locale = locale;
       this.subToSubInfo = subToSubInfo;
     }
    
     public Object getValueAt(int row, int col) {
       PortletEntry entry = getObject(row);
        Subscriber subscriber = (Subscriber)entry.getValue();
        Publisher pub = subscriber.getPublisher();
        switch (col) {
          case 0:
            Object subsInfoObj = subToSubInfo.get(subscriber);
            if(subsInfoObj instanceof SubscriptionInfo) {
View Full Code Here

      /**
       * @see org.olat.core.gui.components.table.TableDataModel#getValueAt(int, int)
       */
      public final Object getValueAt(int row, int col) {
        PortletEntry entry = getObject(row);
        Subscriber subscriber = (Subscriber) entry.getValue();
        Publisher pub = subscriber.getPublisher();
        switch (col) {
          case 0: {       
            SubscriptionInfo subsInfo = subToSubInfo.get(subscriber);
            return subsInfo.getTitle(SubscriptionInfo.MIME_PLAIN);
View Full Code Here

      super(objects, 2);
      this.locale = locale;
    }
   
    public Object getValueAt(int row, int col) {
      PortletEntry entry = getObject(row);
      Bookmark bookmark = (Bookmarkentry.getValue();
      switch (col) {
      case 0:
        String name = getBookmarkTitle(bookmark);
        name = StringEscapeUtils.escapeHtml(name).toString();
        return name;
View Full Code Here

    /**
     * @see org.olat.core.gui.components.table.TableDataModel#getValueAt(int, int)
     */
    public final Object getValueAt(int row, int col) {
      PortletEntry entry = getObject(row);
      Bookmark bm = (BookmarkImpl) entry.getValue();
      switch (col) {
        case 0:
          return bm.getTitle();
        case 1:
          String desc = bm.getDescription();
View Full Code Here

TOP

Related Classes of org.olat.core.gui.control.generic.portal.PortletEntry

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.