Package org.olat.course.condition

Examples of org.olat.course.condition.Condition


   *
   * @return
   */
  public Condition getPreConditionEdit() {
    if (preConditionEdit == null) {
      preConditionEdit = new Condition();
    }
    preConditionEdit.setConditionId("editarticle");
    return preConditionEdit;
  }
View Full Code Here


  /**
   * @return dropbox condition
   */
  public Condition getConditionDrop() {
    if (conditionDrop == null) {
      conditionDrop = new Condition();
    }
    conditionDrop.setConditionId("drop");
    return conditionDrop;
  }
View Full Code Here

   *
   * @return Returnbox condition
   */
  public Condition getConditionReturnbox() {
    if (conditionReturnbox == null) {
      conditionReturnbox = new Condition();
    }
    conditionReturnbox.setConditionId(ACCESS_RETURNBOX);
    return conditionReturnbox;
  }
View Full Code Here

  /**
   * @return scoring condition
   */
  public Condition getConditionScoring() {
    if (conditionScoring == null) {
      conditionScoring = new Condition();
    }
    conditionScoring.setConditionId("scoring");
    return conditionScoring;
  }
View Full Code Here

  /**
   * @return task condition
   */
  public Condition getConditionTask() {
    if (conditionTask == null) {
      conditionTask = new Condition();
    }
    conditionTask.setConditionId("task");
    return conditionTask;
  }
View Full Code Here

  /**
   * @return scoring condition
   */
  public Condition getConditionSolution() {
    if (conditionSolution == null) {
      conditionSolution = new Condition();
    }
    conditionSolution.setConditionId("solution");
    return conditionSolution;
  }
View Full Code Here

  /**
   * @return Returns the preConditionModerator.
   */
  public Condition getPreConditionModerator() {
    if (this.preConditionModerator == null) {
      this.preConditionModerator = new Condition();
      //learner should not be able to delete files by default
      this.preConditionModerator.setEasyModeCoachesAndAdmins(true);
      this.preConditionModerator.setEasyModeAlwaysAllowCoachesAndAdmins(true);
      this.preConditionModerator.setConditionExpression("(  ( isCourseCoach(0) | isCourseAdministrator(0) ) )");
    }
View Full Code Here

  /**
   * @return Returns the preConditionPoster.
   */
  public Condition getPreConditionPoster() {
    if (preConditionPoster == null) {
      preConditionPoster = new Condition();
    }
    preConditionPoster.setConditionId("poster");
    return preConditionPoster;
  }
View Full Code Here

  /**
   * @return Returns the preConditionReader.
   */
  public Condition getPreConditionReader() {
    if (preConditionReader == null) {
      preConditionReader = new Condition();
    }
    preConditionReader.setConditionId("reader");
    return preConditionReader;
  }
View Full Code Here

  /**
   * @return dropbox condition
   */
  public Condition getConditionDrop() {
    if (conditionDrop == null) {
      conditionDrop = new Condition();
    }
    conditionDrop.setConditionId("drop");
    return conditionDrop;
  }
View Full Code Here

TOP

Related Classes of org.olat.course.condition.Condition

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.