4A Server -
2.0
|
Backbean for page with attributes from ontology. More...
Public Member Functions | |
AttrO () | |
String | actionRemoveAttr (Integer id) |
String | actionEditAttr (Integer id) |
String | actionAddAttr () |
List< TypeAttrOnto > | getAttrList () |
TypeAttrOnto | getAttr () |
void | setAttr (TypeAttrOnto attr) |
HtmlDataTable | getListTable () |
void | setListTable (HtmlDataTable listTable) |
String | getErrorMessage () |
void | setErrorMessage (String errorMessage) |
List< UserGroup > | getSelGroups () |
void | setSelGroups (List< UserGroup > selGroups) |
List< UserGroup > | getSelGroupsS () |
void | setSelGroupsS (List< String > selGroupsStrings) |
List< SelectItem > | getAllGroups () |
Private Attributes | |
HtmlDataTable | listTable |
List< UserGroup > | selGroups = null |
TypeAttrOnto | attr |
String | errorMessage = "" |
Backbean for page with attributes from ontology.
Backbean for page with attributes from ontology
Definition at line 41 of file AttrO.java.
cz.vutbr.fit.knot.annotations.web.AttrO.AttrO | ( | ) |
Constructor
Definition at line 65 of file AttrO.java.
String cz.vutbr.fit.knot.annotations.web.AttrO.actionAddAttr | ( | ) |
Action listener for link for add attribute
Definition at line 119 of file AttrO.java.
String cz.vutbr.fit.knot.annotations.web.AttrO.actionEditAttr | ( | Integer | id | ) |
Action listener for link for edit attribute
id | Id of edited attribute |
Definition at line 105 of file AttrO.java.
String cz.vutbr.fit.knot.annotations.web.AttrO.actionRemoveAttr | ( | Integer | id | ) |
Action listener for link for remove attribute
id | Id of removed attribute |
Definition at line 77 of file AttrO.java.
List<SelectItem> cz.vutbr.fit.knot.annotations.web.AttrO.getAllGroups | ( | ) |
Gets all user groups
Definition at line 283 of file AttrO.java.
TypeAttrOnto cz.vutbr.fit.knot.annotations.web.AttrO.getAttr | ( | ) |
Gets selected attribute in table
Definition at line 154 of file AttrO.java.
List<TypeAttrOnto> cz.vutbr.fit.knot.annotations.web.AttrO.getAttrList | ( | ) |
Gets list of attributes from ontology
Definition at line 129 of file AttrO.java.
String cz.vutbr.fit.knot.annotations.web.AttrO.getErrorMessage | ( | ) |
Gets error message displayed in form
Definition at line 190 of file AttrO.java.
HtmlDataTable cz.vutbr.fit.knot.annotations.web.AttrO.getListTable | ( | ) |
Gets table with attributes of given type of annotation
Definition at line 172 of file AttrO.java.
List<UserGroup> cz.vutbr.fit.knot.annotations.web.AttrO.getSelGroups | ( | ) |
Gets selected user groups
Definition at line 208 of file AttrO.java.
List<UserGroup> cz.vutbr.fit.knot.annotations.web.AttrO.getSelGroupsS | ( | ) |
Gets selected user groups
Definition at line 226 of file AttrO.java.
void cz.vutbr.fit.knot.annotations.web.AttrO.setAttr | ( | TypeAttrOnto | attr | ) |
Sets selected attribute in table
attr | Selected attribute in table |
Definition at line 163 of file AttrO.java.
void cz.vutbr.fit.knot.annotations.web.AttrO.setErrorMessage | ( | String | errorMessage | ) |
Sets error message to be displayed in form
errorMessage | Error message to be displayed in form |
Definition at line 199 of file AttrO.java.
void cz.vutbr.fit.knot.annotations.web.AttrO.setListTable | ( | HtmlDataTable | listTable | ) |
Sets table with attributes of given type of annotation
listTable | Table with attributes of given type of annotation |
Definition at line 181 of file AttrO.java.
void cz.vutbr.fit.knot.annotations.web.AttrO.setSelGroups | ( | List< UserGroup > | selGroups | ) |
Sets selected user groups
selGroups | Selected user groups |
Definition at line 217 of file AttrO.java.
void cz.vutbr.fit.knot.annotations.web.AttrO.setSelGroupsS | ( | List< String > | selGroupsStrings | ) |
Sets selected user groups from strings with groups
selGroupsStrings | List of strings with selected user groups in format "cz.vutbr.fit.knot.annotations.entity.UserGroup[id=N]" (cz.vutbr.fit.knot.annotations.entity.UserGroup.toString()) |
Definition at line 237 of file AttrO.java.
|
private |
Attribute selected in the table
Definition at line 53 of file AttrO.java.
|
private |
Error message displayed in form
Definition at line 58 of file AttrO.java.
|
private |
Table with attributes of given type of annotation
Definition at line 45 of file AttrO.java.
|
private |
Selected user groups
Definition at line 49 of file AttrO.java.