org.olat.course.condition
Class NoOpCourseEnvironment

java.lang.Object
  extended by org.olat.course.condition.NoOpCourseEnvironment
All Implemented Interfaces:
CourseEnvironment

Deprecated.

public class NoOpCourseEnvironment
extends java.lang.Object
implements CourseEnvironment

Description:

Author:
Felix Jost

Constructor Summary
NoOpCourseEnvironment()
          Deprecated. Default constructor for the No Op course environment.
 
Method Summary
 AssessmentManager getAssessmentManager()
          Deprecated. Get the assessment manager for this course
 UserNodeAuditManager getAuditManager()
          Deprecated. Get the audit manager for this course
 OlatRootFolderImpl getCourseBaseContainer()
          Deprecated. Return the course base path.
 CourseConfig getCourseConfig()
          Deprecated.  
 VFSContainer getCourseFolderContainer()
          Deprecated. Get the course folder path.
 CourseGroupManager getCourseGroupManager()
          Deprecated. Get the course group management environment
 CoursePropertyManager getCoursePropertyManager()
          Deprecated. Get a course property manager for this course
 java.lang.Long getCourseResourceableId()
          Deprecated. Get the resourceable id of this course.
 java.lang.String getCourseTitle()
          Deprecated.  
 long getCurrentTimeMillis()
          Deprecated. Get the current time in milli seconds
 Structure getRunStructure()
          Deprecated. Return the course run structure
 boolean isNoOpMode()
          Deprecated. if true then all ConditionInterpreter functions should return true/1 immediately without e.g.
 void setCourseConfig(CourseConfig cc)
          Deprecated.  
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NoOpCourseEnvironment

public NoOpCourseEnvironment()
Deprecated. 
Default constructor for the No Op course environment. This is only used for for syntax validating

Method Detail

isNoOpMode

public boolean isNoOpMode()
Deprecated. 
Description copied from interface: CourseEnvironment
if true then all ConditionInterpreter functions should return true/1 immediately without e.g. accessing the database. We use this as validating of the syntax before saving it, so that there are only grammatically correct expressions which are saved and therefore are evaluated in the run mode later.

Specified by:
isNoOpMode in interface CourseEnvironment
Returns:
true if no op mode
See Also:
CourseEnvironment.isNoOpMode()

getCurrentTimeMillis

public long getCurrentTimeMillis()
Deprecated. 
Description copied from interface: CourseEnvironment
Get the current time in milli seconds

Specified by:
getCurrentTimeMillis in interface CourseEnvironment
Returns:
The current time in millis
See Also:
This is not implemented in NoOpCourseEnvironment

getCourseGroupManager

public CourseGroupManager getCourseGroupManager()
Deprecated. 
Description copied from interface: CourseEnvironment
Get the course group management environment

Specified by:
getCourseGroupManager in interface CourseEnvironment
Returns:
The course group management
See Also:
CourseEnvironment.getCourseGroupManager()

getCourseResourceableId

public java.lang.Long getCourseResourceableId()
Deprecated. 
Description copied from interface: CourseEnvironment
Get the resourceable id of this course. This is the repository entry id.

Specified by:
getCourseResourceableId in interface CourseEnvironment
Returns:
The course resourceable id
See Also:
This is not implemented in NoOpCourseEnvironment

getCoursePropertyManager

public CoursePropertyManager getCoursePropertyManager()
Deprecated. 
Description copied from interface: CourseEnvironment
Get a course property manager for this course

Specified by:
getCoursePropertyManager in interface CourseEnvironment
Returns:
The course property manager
See Also:
This is not implemented in NoOpCourseEnvironment

getAssessmentManager

public AssessmentManager getAssessmentManager()
Deprecated. 
Description copied from interface: CourseEnvironment
Get the assessment manager for this course

Specified by:
getAssessmentManager in interface CourseEnvironment
Returns:
The course assessment manager
See Also:
CourseEnvironment.getAssessmentManager()

getAuditManager

public UserNodeAuditManager getAuditManager()
Deprecated. 
Description copied from interface: CourseEnvironment
Get the audit manager for this course

Specified by:
getAuditManager in interface CourseEnvironment
Returns:
The course audit manager
See Also:
CourseEnvironment.getAuditManager()

getRunStructure

public Structure getRunStructure()
Deprecated. 
Description copied from interface: CourseEnvironment
Return the course run structure

Specified by:
getRunStructure in interface CourseEnvironment
Returns:
the runstructure
See Also:
CourseEnvironment.getRunStructure()

getCourseTitle

public java.lang.String getCourseTitle()
Deprecated. 
Specified by:
getCourseTitle in interface CourseEnvironment
Returns:
the courseTitle
See Also:
CourseEnvironment.getCourseTitle()

getCourseConfig

public CourseConfig getCourseConfig()
Deprecated. 
Specified by:
getCourseConfig in interface CourseEnvironment
Returns:
course config of this course

setCourseConfig

public void setCourseConfig(CourseConfig cc)
Deprecated. 
See Also:
org.olat.course.run.environment.CourseEnvironment#setCourseConfig()

getCourseFolderContainer

public VFSContainer getCourseFolderContainer()
Deprecated. 
Description copied from interface: CourseEnvironment
Get the course folder path. This is the same as the path you would get from course.getCourseFolderPath()

Specified by:
getCourseFolderContainer in interface CourseEnvironment
Returns:
The course folder path for this course

getCourseBaseContainer

public OlatRootFolderImpl getCourseBaseContainer()
Deprecated. 
Description copied from interface: CourseEnvironment
Return the course base path.

Specified by:
getCourseBaseContainer in interface CourseEnvironment
Returns:
the course base path