Package org.olat.course.repository

Examples of org.olat.course.repository.CreateNewCourseController


  /**
   * @see org.olat.repository.handlers.RepositoryHandler#getAddController(org.olat.repository.controllers.RepositoryAddCallback, java.lang.Object, org.olat.core.gui.UserRequest, org.olat.core.gui.control.WindowControl)
   */
  public IAddController getAddController(RepositoryAddCallback callback, Object userObject, UserRequest ureq, WindowControl wControl) {
    if (userObject == null || userObject.equals(PROCESS_CREATENEW))
      return new CreateNewCourseController(callback, ureq, wControl);
    else if (userObject.equals(PROCESS_IMPORT))
      return new ImportCourseController(callback, ureq, wControl);
    else throw new AssertException("Command " + userObject + " not supported by CourseHandler.");
  }
View Full Code Here

TOP

Related Classes of org.olat.course.repository.CreateNewCourseController

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.