public class Course extends Object
| Constructor and Description |
|---|
Course()
Constructor for Course.
|
| Modifier and Type | Method and Description |
|---|---|
List |
getCategories()
Gets the categories attribute of the Course object
|
AbstractLesson |
getFirstLesson()
Gets the firstLesson attribute of the Course object
|
AbstractLesson |
getLesson(int lessonId)
getLesson.
|
AbstractLesson |
getLesson(WebSession s,
int lessonId,
List<String> roles)
Gets the lesson attribute of the Course object
|
AbstractLesson |
getLesson(WebSession s,
int lessonId,
String role)
getLesson.
|
List<AbstractLesson> |
getLessons(WebSession s,
Category category,
List<String> roles)
Getter for the field
lessons. |
List |
getLessons(WebSession s,
Category category,
String role)
Getter for the field
lessons. |
List<AbstractLesson> |
getLessons(WebSession s,
List<String> roles)
Gets the lessons attribute of the Course object
|
List<AbstractLesson> |
getLessons(WebSession s,
String role)
Getter for the field
lessons. |
void |
loadCourses(WebgoatContext webgoatContext,
javax.servlet.ServletContext context,
String path)
Description of the Method
|
void |
loadLessonFromPlugin(javax.servlet.ServletContext context)
loadLessonFromPlugin.
|
public List getCategories()
public AbstractLesson getFirstLesson()
public AbstractLesson getLesson(WebSession s, int lessonId, List<String> roles)
s - a WebSession object.lessonId - Description of the Parameterroles - a List object.public AbstractLesson getLesson(WebSession s, int lessonId, String role)
getLesson.
s - a WebSession object.lessonId - a int.role - a String object.AbstractLesson object.public List<AbstractLesson> getLessons(WebSession s, String role)
Getter for the field lessons.
s - a WebSession object.role - a String object.List object.public List<AbstractLesson> getLessons(WebSession s, List<String> roles)
s - a WebSession object.roles - a List object.public List getLessons(WebSession s, Category category, String role)
Getter for the field lessons.
s - a WebSession object.category - a Category object.role - a String object.List object.public List<AbstractLesson> getLessons(WebSession s, Category category, List<String> roles)
Getter for the field lessons.
s - a WebSession object.category - a Category object.roles - a List object.List object.public AbstractLesson getLesson(int lessonId)
getLesson.
lessonId - a int.AbstractLesson object.public void loadLessonFromPlugin(javax.servlet.ServletContext context)
loadLessonFromPlugin.
context - a ServletContext object.public void loadCourses(WebgoatContext webgoatContext, javax.servlet.ServletContext context, String path)
webgoatContext - a WebgoatContext object.path - Description of the Parametercontext - Description of the ParameterCopyright © 2006–2016 OWASP. All rights reserved.