public class CompetenceEdit extends BaseEditorBean<org.tencompetence.generated.model.Competence>
BaseEditorBean.ConfirmationController
Constructor and Description |
---|
CompetenceEdit() |
Modifier and Type | Method and Description |
---|---|
java.util.List<javax.faces.model.SelectItem> |
getAllTests()
Gets the all tests.
|
ActionsMenuListController<ActionsMenuRowItem<org.tencompetence.generated.model.CompetenceLevel>> |
getController()
Gets the controller.
|
PermissionsList<org.tencompetence.generated.model.Competence> |
getPermissionsList()
Gets a list of permissions for the actual Competanceprofile instance.
|
java.lang.String |
getSelectedTest()
Gets the selected test.
|
CompetenceTypeEnum |
getType()
Gets the type.
|
java.util.List<javax.faces.model.SelectItem> |
getTypes()
Gets the types.
|
boolean |
isAddCompetenceAllowed()
Check if user is allowed to add a Competence.
|
void |
setSelectedTest(java.lang.String id)
Sets the selected test.
|
void |
setType(CompetenceTypeEnum type)
Sets the type.
|
void |
validateType(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component,
java.lang.Object value)
Validate type.
|
cancel, fetchEditorInput, getCanNavigateBack, getConfirmationController, getDescription, getEditorInput, getPageInit, getPermissionsURL, getTitle, isAddButtonVisible, isAllowDelete, isAllowPermissions, isAllowUpdate, isAllowView, isDirty, isEditable, isReadOnly, passEditorInput, permissions, save, setDescription, setDirty, setEditorInput, setTitle, valuesChanged
checkModelPermission, checkModelPermission, checkPortletPermission, checkPortletPermission, getToggleText, isExpanded, toggle
public ActionsMenuListController<ActionsMenuRowItem<org.tencompetence.generated.model.CompetenceLevel>> getController()
public CompetenceTypeEnum getType()
public void setType(CompetenceTypeEnum type)
type
- the new typepublic java.util.List<javax.faces.model.SelectItem> getTypes()
public void validateType(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component, java.lang.Object value)
context
- the contextcomponent
- the componentvalue
- the valuepublic PermissionsList<org.tencompetence.generated.model.Competence> getPermissionsList()
public boolean isAddCompetenceAllowed()
public java.util.List<javax.faces.model.SelectItem> getAllTests()
public java.lang.String getSelectedTest()
public void setSelectedTest(java.lang.String id)
id
- the new selected test