Package org.olat.repository.controllers

Examples of org.olat.repository.controllers.AddFileResourceController


  /**
   * @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) {
    return new AddFileResourceController(callback, supportedTypes, ureq, wControl);
  }
View Full Code Here


   *      org.olat.core.gui.control.WindowControl)
   */
  public IAddController getAddController(RepositoryAddCallback callback, Object userObject, UserRequest ureq, WindowControl wControl) {
    IAddController addCtr = null;
    if (userObject == null || userObject.equals(PROCESS_UPLOAD)) {
      addCtr = new AddFileResourceController(callback, supportedTypes, new String[] { "zip" }, ureq, wControl);
    } else {
      addCtr = BlogUIFactory.getInstance(ureq.getLocale()).createAddController(callback, ureq, wControl);
    }
    return addCtr;
  }
View Full Code Here

   *      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(WikiHandler.PROCESS_UPLOAD))
      return new AddFileResourceController(callback, supportedTypes, new String[] {"zip"}, ureq, wControl);
    else
      return new WikiCreateController(callback, ureq, wControl);
  }
View Full Code Here

   *      org.olat.core.gui.control.WindowControl)
   */
  public IAddController getAddController(RepositoryAddCallback callback, Object userObject, UserRequest ureq, WindowControl wControl) {
    if (userObject == null)
      // assume add
      return new AddFileResourceController(callback, supportedTypes, new String[] {"zip"}, ureq, wControl);
    else
      // assume create
      return new CreateNewGlossaryController(callback, ureq, wControl);
  }
View Full Code Here

   *      org.olat.core.gui.control.WindowControl)
   */
  public IAddController getAddController(RepositoryAddCallback callback, Object userObject, UserRequest ureq, WindowControl wControl) {
    IAddController addCtr = null;
    if (userObject == null || userObject.equals(PROCESS_UPLOAD)) {
      addCtr = new AddFileResourceController(callback, supportedTypes, new String[] { "zip" }, ureq, wControl);
    } else {
      addCtr = PodcastUIFactory.getInstance(ureq.getLocale()).createAddController(callback, ureq, wControl);
    }
    return addCtr;
  }
View Full Code Here

  /**
   * @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) {
    return new AddFileResourceController(callback, getSupportedTypes(), new String[] {"zip"}, ureq, wControl);
  }
View Full Code Here

  /**
   * @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(QTIHandler.PROCESS_UPLOAD))
      return new AddFileResourceController(callback, supportedTypes, new String[] {"zip"}, ureq, wControl);
    else
      return new AddNewQTIDocumentController(AssessmentInstance.QMD_ENTRY_TYPE_ASSESS, callback, ureq, wControl);
  }
View Full Code Here

  /**
   * @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(QTIHandler.PROCESS_UPLOAD))
      return new AddFileResourceController(callback, supportedTypes, new String[] {"zip"}, ureq, wControl);
    else
      return new AddNewQTIDocumentController(AssessmentInstance.QMD_ENTRY_TYPE_SURVEY, callback, ureq, wControl);
  }
View Full Code Here

TOP

Related Classes of org.olat.repository.controllers.AddFileResourceController

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.