de.bps.olat.portal.institution
Class InstitutionPortlet

java.lang.Object
  extended by org.olat.core.gui.control.generic.portal.AbstractPortlet
      extended by de.bps.olat.portal.institution.InstitutionPortlet
All Implemented Interfaces:
Disposable, Portlet

public class InstitutionPortlet
extends AbstractPortlet


Field Summary
static java.lang.String HTTP_REQUEST_ATTRIBUT
           
static java.lang.String TYPE_CATALOG
           
static java.lang.String TYPE_COURSE
           
 
Constructor Summary
InstitutionPortlet()
           
 
Method Summary
 Portlet createInstance(WindowControl wControl, UserRequest ureq, java.util.Map configuration)
          Factory method to create a portlet of the current type using the given configuration
 void dispose()
          disposes the disposable
 void disposeRunComponent()
          Dispose the run component and all its resources without disposing the portlet.
 java.lang.String getCssClass()
           
 java.lang.String getDescription()
           
 Component getInitialRunComponent(WindowControl wControl, UserRequest ureq)
          Get the run component of this portlet
static de.bps.olat.portal.institution.InstitutionPortletEntry getInstitutionPortletEntry(java.lang.String institution)
           
 java.lang.String getTitle()
           
 void init()
          initializes the institution portlet config
 
Methods inherited from class org.olat.core.gui.control.generic.portal.AbstractPortlet
getConfiguration, getName, getTools, getTranslator, setConfiguration, setName, setTranslator
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

TYPE_COURSE

public static final java.lang.String TYPE_COURSE
See Also:
Constant Field Values

TYPE_CATALOG

public static final java.lang.String TYPE_CATALOG
See Also:
Constant Field Values

HTTP_REQUEST_ATTRIBUT

public static java.lang.String HTTP_REQUEST_ATTRIBUT
Constructor Detail

InstitutionPortlet

public InstitutionPortlet()
Method Detail

getTitle

public java.lang.String getTitle()
Returns:
The (translated) title for the portlet
See Also:
org.olat.gui.control.generic.portal.Portlet#getTitle()

getDescription

public java.lang.String getDescription()
Returns:
The (translated) description for the portlet
See Also:
org.olat.gui.control.generic.portal.Portlet#getDescription()

createInstance

public Portlet createInstance(WindowControl wControl,
                              UserRequest ureq,
                              java.util.Map configuration)
Description copied from interface: Portlet
Factory method to create a portlet of the current type using the given configuration

Returns:
AbstractPortlet
See Also:
org.olat.gui.control.generic.portal.AbstractPortlet#createInstance(org.olat.gui.control.WindowControl, org.olat.gui.UserRequest, java.util.Map)

getInitialRunComponent

public Component getInitialRunComponent(WindowControl wControl,
                                        UserRequest ureq)
Description copied from interface: Portlet
Get the run component of this portlet

Returns:
Component
See Also:
org.olat.gui.control.generic.portal.Portlet#getInitialRunComponent(org.olat.gui.control.WindowControl, org.olat.gui.UserRequest)

dispose

public void dispose()
Description copied from interface: Disposable
disposes the disposable

See Also:
org.olat.gui.control.Disposable#dispose(boolean)

getCssClass

public java.lang.String getCssClass()
Returns:
String name of wrapper css class that provides the portlet icon and other styles
See Also:
org.olat.gui.control.generic.portal.Portlet#getCssClass()

disposeRunComponent

public void disposeRunComponent()
Description copied from interface: Portlet
Dispose the run component and all its resources without disposing the portlet.

See Also:
org.olat.gui.control.generic.portal.Portlet#disposeRunComponent(boolean)

init

public void init()
initializes the institution portlet config


getInstitutionPortletEntry

public static de.bps.olat.portal.institution.InstitutionPortletEntry getInstitutionPortletEntry(java.lang.String institution)
Parameters:
institution -
Returns:
The entry, or null if not found