org.olat.repository
Class RepositoyUIFactory

java.lang.Object
  extended by org.olat.repository.RepositoyUIFactory

public class RepositoyUIFactory
extends java.lang.Object

Description:
TODO: patrickb Class Description for RepositoyUIFactory

Initial Date: 03.12.2007

Author:
patrickb

Constructor Summary
RepositoyUIFactory()
           
 
Method Summary
static MainLayoutController createLaunchController(RepositoryEntry re, java.lang.String initialViewIdentifier, UserRequest ureq, WindowControl wControl)
          Create a launch sontroller used to launch the given repo entry.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RepositoyUIFactory

public RepositoyUIFactory()
Method Detail

createLaunchController

public static MainLayoutController createLaunchController(RepositoryEntry re,
                                                          java.lang.String initialViewIdentifier,
                                                          UserRequest ureq,
                                                          WindowControl wControl)
Create a launch sontroller used to launch the given repo entry.

Parameters:
re -
initialViewIdentifier - if null the default view will be started, otherwise a controllerfactory type dependant view will be activated (subscription subtype)
ureq -
wControl -
Returns:
null if no entry was found, a no access message controller if not allowed to launch or the launch controller if successful.