Package org.olat.core.commons.services.search.ui

Examples of org.olat.core.commons.services.search.ui.ResultControllerCreator


 
  @Override
  public ResultController createController(UserRequest ureq, WindowControl wControl, Form mainForm, ResultDocument document) {
    String documentType = document.getDocumentType();
    if(resultControllerCreator.containsKey(documentType)) {
      ResultControllerCreator creator = resultControllerCreator.get(documentType);
      return creator.createController(ureq, wControl, mainForm, document);
    }
   
    ResultController ctrl;
    if(ContextHelpDocument.TYPE.equals(documentType)) {
      ctrl = new ContextHelpResultController(ureq, wControl, mainForm, document);
View Full Code Here

TOP

Related Classes of org.olat.core.commons.services.search.ui.ResultControllerCreator

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.