/**
  * @see
  *     org.olat.course.nodes.CourseNode#isConfigValid(org.olat.course.run.userview.UserCourseEnvironment)
  */
 @Override
 public StatusDescription[] isConfigValid(final CourseEditorEnv cev) {
   oneClickStatusCache = null;
   // only here we know which translator to take for translating condition error messages
   final String translatorStr = Util.getPackageName(WikiEditController.class);
   final List sds = isConfigValidWithTranslator(cev, translatorStr, getConditionExpressions());
   oneClickStatusCache = StatusDescriptionHelper.sort(sds);
   return oneClickStatusCache;
 }
Пример #2
0
 @Override
 public StatusDescription[] isConfigValid(final CourseEditorEnv cev) {
   oneClickStatusCache = null;
   final String translatorStr = PackageUtil.getPackageName(BlogNodeEditController.class);
   final List<StatusDescription> sds =
       isConfigValidWithTranslator(cev, translatorStr, getConditionExpressions());
   oneClickStatusCache = StatusDescriptionHelper.sort(sds);
   return oneClickStatusCache;
 }
Пример #3
0
 /**
  * @see
  *     org.olat.course.nodes.CourseNode#isConfigValid(org.olat.course.run.userview.UserCourseEnvironment)
  */
 @Override
 public StatusDescription[] isConfigValid(CourseEditorEnv cev) {
   // only here we know which translator to take for translating condition
   // error messages
   String translatorStr = Util.getPackageName(ConditionEditController.class);
   List<StatusDescription> statusDescs =
       isConfigValidWithTranslator(cev, translatorStr, getConditionExpressions());
   return StatusDescriptionHelper.sort(statusDescs);
 }