public class PdpSmallView
extends java.lang.Object
implements com.icesoft.faces.async.render.Renderable, com.icesoft.faces.context.DisposableBean
Constructor and Description |
---|
PdpSmallView()
Instantiates a new pdp small view.
|
Modifier and Type | Method and Description |
---|---|
void |
dispose()
Dispose callback called due to a view closing or session invalidation/timeout.
|
java.lang.String |
doBack()
Handle the back button by navigating to main screen.
|
java.lang.String |
doGeneratePlan()
Generates a new learning plan for the selected goal.
|
java.lang.String |
doHide()
Hides the feedback window.
|
java.lang.String |
doOptions()
Handle the options button by showing the options screen.
|
java.lang.String |
doView()
Handle the view route button by showing the view screen.
|
PathDetailsController |
getActivityController()
Gets the controller for the view activity screen.
|
java.lang.String |
getFeedback()
Gets the feedback describing the outcome of the route generation.
|
java.lang.String |
getMessage()
Gets the message.
|
FilterController |
getOptionsController()
Gets the controller for the options screen.
|
com.icesoft.faces.webapp.xmlhttp.PersistentFacesState |
getState() |
java.util.List<Task> |
getTasks()
getTasks returns all tasks for the current plan.
|
ViewScreenController |
getViewController()
Gets the controller for the view route screen.
|
boolean |
isActivityActive()
Checks if the view activity screen is active.
|
boolean |
isEmptyProfile()
Checks if the targeted competence profile has associated competence levels.
|
boolean |
isFeedbackRendered()
Checks if the feedback should be rendered.
|
boolean |
isGoalAttained()
Checks if the user has attained the goal.
|
boolean |
isMainActive()
Checks if the main screen is active.
|
boolean |
isOptionsActive()
Checks if the options screen is active.
|
boolean |
isPlanAvailable()
Checks if a learning plan is available.
|
boolean |
isSmallViewAvailable()
Checks if is small view button available.
|
boolean |
isTasksCompleted()
Checks if all tasks are completed.
|
boolean |
isViewActive()
Checks if the view route screen is active.
|
void |
renderingException(com.icesoft.faces.webapp.xmlhttp.RenderingException e) |
void |
setGoalManager(GoalManager goalManager)
Sets the goal manager.
|
void |
setSelectedGoal(java.lang.String value)
Dummy setter.
|
public java.util.List<Task> getTasks()
public FilterController getOptionsController()
public ViewScreenController getViewController()
public PathDetailsController getActivityController()
public java.lang.String getMessage()
public java.lang.String getFeedback()
public void setGoalManager(GoalManager goalManager)
goalManager
- the new goal managerpublic void setSelectedGoal(java.lang.String value)
value
- the valuepublic boolean isSmallViewAvailable()
public boolean isFeedbackRendered()
public boolean isMainActive()
public boolean isOptionsActive()
public boolean isViewActive()
public boolean isActivityActive()
public boolean isEmptyProfile()
public boolean isPlanAvailable()
public boolean isGoalAttained()
public boolean isTasksCompleted()
public java.lang.String doGeneratePlan()
public java.lang.String doView()
public java.lang.String doOptions()
public java.lang.String doBack()
public java.lang.String doHide()
public com.icesoft.faces.webapp.xmlhttp.PersistentFacesState getState()
getState
in interface com.icesoft.faces.async.render.Renderable
public void renderingException(com.icesoft.faces.webapp.xmlhttp.RenderingException e)
renderingException
in interface com.icesoft.faces.async.render.Renderable
public void dispose() throws java.lang.Exception
dispose
in interface com.icesoft.faces.context.DisposableBean
java.lang.Exception
- the exception