public class LessonTracker extends Object
| Constructor and Description |
|---|
LessonTracker() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
getCompleted()
Gets the completed attribute of the LessonTracker object
|
Properties |
getLessonProperties()
Getter for the field
lessonProperties. |
int |
getMaxHintLevel()
Gets the maxHintLevel attribute of the LessonTracker object
|
int |
getNumVisits()
Gets the numVisits attribute of the LessonTracker object
|
static String |
getUserDir(WebSession s)
getUserDir.
|
boolean |
getViewedCookies()
Gets the viewedCookies attribute of the LessonTracker object
|
boolean |
getViewedHtml()
Gets the viewedHtml attribute of the LessonTracker object
|
boolean |
getViewedLessonPlan()
Gets the viewedLessonPlan attribute of the LessonTracker object
|
boolean |
getViewedParameters()
Gets the viewedParameters attribute of the LessonTracker object
|
boolean |
getViewedSolution()
Getter for the field
viewedSolution. |
boolean |
getViewedSource()
Gets the viewedSource attribute of the LessonTracker object
|
void |
incrementNumVisits()
Description of the Method
|
static LessonTracker |
load(WebSession s,
String user,
Screen screen)
Description of the Method
|
void |
setCompleted(boolean completed)
Sets the completed attribute of the LessonTracker object
|
void |
setLessonProperties(Properties lessonProperties)
Setter for the field
lessonProperties. |
void |
setMaxHintLevel(int maxHintLevel)
Sets the maxHintLevel attribute of the LessonTracker object
|
protected void |
setProperties(Properties props,
Screen screen)
Sets the properties attribute of the LessonTracker object
|
void |
setViewedCookies(boolean viewedCookies)
Sets the viewedCookies attribute of the LessonTracker object
|
void |
setViewedHtml(boolean viewedHtml)
Sets the viewedHtml attribute of the LessonTracker object
|
void |
setViewedLessonPlan(boolean viewedLessonPlan)
Sets the viewedLessonPlan attribute of the LessonTracker object
|
void |
setViewedParameters(boolean viewedParameters)
Sets the viewedParameters attribute of the LessonTracker object
|
void |
setViewedSolution(boolean viewedSolution)
Sets the viewedSource attribute of the LessonTracker object
|
void |
setViewedSource(boolean viewedSource)
Sets the viewedSource attribute of the LessonTracker object
|
void |
store(WebSession s,
Screen screen)
Allows the storing of properties for the logged in and a screen.
|
void |
store(WebSession s,
Screen screen,
String user)
Allows the storing of properties for a user and a screen.
|
String |
toString()
Description of the Method
|
public boolean getCompleted()
public int getMaxHintLevel()
public int getNumVisits()
public boolean getViewedCookies()
public boolean getViewedHtml()
public boolean getViewedLessonPlan()
public boolean getViewedParameters()
public boolean getViewedSource()
public boolean getViewedSolution()
Getter for the field viewedSolution.
public void incrementNumVisits()
protected void setProperties(Properties props, Screen screen)
props - The new properties valuescreen - a Screen object.public static String getUserDir(WebSession s)
getUserDir.
s - a WebSession object.String object.public static LessonTracker load(WebSession s, String user, Screen screen)
screen - Description of the Parameterscreen - Description of the Parameterscreen - Description of the Parameterscreen - Description of the Parameterscreen - Description of the Parameterscreen - Description of the Parameters - Description of the Parameteruser - a String object.public void setCompleted(boolean completed)
completed - The new completed valuepublic void setMaxHintLevel(int maxHintLevel)
maxHintLevel - The new maxHintLevel valuepublic void setViewedCookies(boolean viewedCookies)
viewedCookies - The new viewedCookies valuepublic void setViewedHtml(boolean viewedHtml)
viewedHtml - The new viewedHtml valuepublic void setViewedLessonPlan(boolean viewedLessonPlan)
viewedLessonPlan - The new viewedLessonPlan valuepublic void setViewedParameters(boolean viewedParameters)
viewedParameters - The new viewedParameters valuepublic void setViewedSource(boolean viewedSource)
viewedSource - The new viewedSource valuepublic void setViewedSolution(boolean viewedSolution)
viewedSolution - a boolean.public void store(WebSession s, Screen screen)
public void store(WebSession s, Screen screen, String user)
public String toString()
public Properties getLessonProperties()
Getter for the field lessonProperties.
public void setLessonProperties(Properties lessonProperties)
Setter for the field lessonProperties.
lessonProperties - The lessonProperties to set.Copyright © 2006–2016 OWASP. All rights reserved.