* @param ureq
* @return PortalImpl
*/
public static PortalImpl createPortal(String portalName, WindowControl wControl, UserRequest ureq) {
// create portlet controller
PortalImpl p = (PortalImpl) portals.get(portalName);
if (p == null) {
Tracing.logWarn("Could not create portal with name::" + portalName, PortalFactory.class);
return null;
}
return p.createInstance(wControl, ureq);
}