public class ChildLevelController extends ListController<CompetenceRow>
ListController.SelectionType
Constructor and Description |
---|
ChildLevelController(java.lang.String idString,
ListController.SelectionType type)
Instantiates a new child level controller.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
addCompetenceSubLevel()
Show competence lookup screen and reset the list.
|
java.lang.String |
changeLevel()
Change level of a selected competenceRow.
|
void |
competenceOnChange(javax.faces.event.ValueChangeEvent event)
Competence on change.
|
void |
deleteSelectedCompetenceLevels(javax.faces.event.ActionEvent event)
Delete selected competence levels.
|
java.util.List<javax.faces.model.SelectItem> |
getCompetences()
Gets the competences.
|
java.util.List<javax.faces.model.SelectItem> |
getLevels()
Gets the levels.
|
java.lang.String |
getSelectedCompetence()
Gets the selected competence.
|
org.tencompetence.generated.model.CompetenceLevel |
getSelectedCompetenceLevel()
Gets the selected competence level.
|
java.lang.String |
getSelectedLevel()
Gets the selected level.
|
CompetenceRow |
getSelectedRow()
Gets the selected row.
|
boolean |
isAddPressed()
Checks if is adds the pressed.
|
boolean |
isDirty()
Checks if is dirty.
|
boolean |
isDisabled()
Checks if is disabled.
|
void |
moveItemsDown(javax.faces.event.ActionEvent event)
Move selected items down.
|
void |
moveItemsUp(javax.faces.event.ActionEvent event)
Move selected items up.
|
void |
setDisabled(boolean disabled)
Sets the disabled.
|
void |
setSelectedCompetence(java.lang.String value)
Sets the selected competence.
|
void |
setSelectedLevel(java.lang.String value)
Sets the selected level.
|
getEnhancedMultiple, getIds, getMultiple, getRowItems, getSelection, resetSelection, selectedListener, setInput
public ChildLevelController(java.lang.String idString, ListController.SelectionType type)
idString
- the id stringtype
- the typepublic boolean isAddPressed()
public boolean isDisabled()
public void setDisabled(boolean disabled)
disabled
- the new disabledpublic boolean isDirty()
public java.lang.String addCompetenceSubLevel()
public void deleteSelectedCompetenceLevels(javax.faces.event.ActionEvent event)
event
- the eventpublic void moveItemsUp(javax.faces.event.ActionEvent event)
event
- the eventpublic void moveItemsDown(javax.faces.event.ActionEvent event)
event
- the eeventpublic java.lang.String changeLevel()
public java.util.List<javax.faces.model.SelectItem> getCompetences()
public java.util.List<javax.faces.model.SelectItem> getLevels()
public CompetenceRow getSelectedRow()
public void setSelectedCompetence(java.lang.String value)
value
- the new selected competencepublic void setSelectedLevel(java.lang.String value)
value
- the new selected levelpublic void competenceOnChange(javax.faces.event.ValueChangeEvent event)
event
- the eventpublic java.lang.String getSelectedCompetence()
public java.lang.String getSelectedLevel()
public org.tencompetence.generated.model.CompetenceLevel getSelectedCompetenceLevel()