4A Server -
2.0
|
Backbean for page with administration of uploaded documents. More...
Public Member Functions | |
Documents () | |
HtmlDataTable | getListTable () |
void | setListTable (HtmlDataTable listTable) |
List< StoredDocument > | getDocumentsList () |
String | actionDelete () |
List< UserGroup > | getSelGroups () |
String | getBaseUri () |
void | setSelGroups (List< UserGroup > selGroups) |
List< UserGroup > | getSelGroupsS () |
void | setSelGroupsS (List< String > selGroupsStrings) |
List< SelectItem > | getAllGroups () |
List< User > | getSelUsers () |
void | setSelUsers (List< User > selUsers) |
List< User > | getSelUsersS () |
void | setSelUsersS (List< String > selUsersStrings) |
List< SelectItem > | getAllUsers () |
StoredDocument | getDoc () |
void | setDoc (StoredDocument doc) |
String | getErrorMessage () |
void | setErrorMessage (String errorMessage) |
Private Attributes | |
HtmlDataTable | listTable |
StoredDocument | doc |
List< UserGroup > | selGroups = null |
List< User > | selUsers = null |
String | errorMessage = "" |
Backbean for page with administration of uploaded documents.
Backbean for page with administration of uploaded documents
Definition at line 38 of file Documents.java.
cz.vutbr.fit.knot.annotations.web.Documents.Documents | ( | ) |
Constructor
Definition at line 65 of file Documents.java.
String cz.vutbr.fit.knot.annotations.web.Documents.actionDelete | ( | ) |
Action listener for delete links in table
Definition at line 145 of file Documents.java.
List<SelectItem> cz.vutbr.fit.knot.annotations.web.Documents.getAllGroups | ( | ) |
Gets all user groups
Definition at line 271 of file Documents.java.
List<SelectItem> cz.vutbr.fit.knot.annotations.web.Documents.getAllUsers | ( | ) |
Gets all users
Definition at line 362 of file Documents.java.
String cz.vutbr.fit.knot.annotations.web.Documents.getBaseUri | ( | ) |
Gets base URI of stored documents
Definition at line 200 of file Documents.java.
StoredDocument cz.vutbr.fit.knot.annotations.web.Documents.getDoc | ( | ) |
Gets document selected in the table
Definition at line 382 of file Documents.java.
List<StoredDocument> cz.vutbr.fit.knot.annotations.web.Documents.getDocumentsList | ( | ) |
Gets list of documents to display in the table
Definition at line 99 of file Documents.java.
String cz.vutbr.fit.knot.annotations.web.Documents.getErrorMessage | ( | ) |
Gets error message displayed in page
Definition at line 400 of file Documents.java.
HtmlDataTable cz.vutbr.fit.knot.annotations.web.Documents.getListTable | ( | ) |
Gets table with documents
Definition at line 81 of file Documents.java.
List<UserGroup> cz.vutbr.fit.knot.annotations.web.Documents.getSelGroups | ( | ) |
Gets selected user groups
Definition at line 191 of file Documents.java.
List<UserGroup> cz.vutbr.fit.knot.annotations.web.Documents.getSelGroupsS | ( | ) |
Gets selected user groups
Definition at line 218 of file Documents.java.
List<User> cz.vutbr.fit.knot.annotations.web.Documents.getSelUsers | ( | ) |
List<User> cz.vutbr.fit.knot.annotations.web.Documents.getSelUsersS | ( | ) |
Gets selected users
Definition at line 309 of file Documents.java.
void cz.vutbr.fit.knot.annotations.web.Documents.setDoc | ( | StoredDocument | doc | ) |
Sets document selected in the table
doc | Document selected in the table |
Definition at line 391 of file Documents.java.
void cz.vutbr.fit.knot.annotations.web.Documents.setErrorMessage | ( | String | errorMessage | ) |
Sets error message to be displayed in page
errorMessage | Error message to be displayed in page |
Definition at line 409 of file Documents.java.
void cz.vutbr.fit.knot.annotations.web.Documents.setListTable | ( | HtmlDataTable | listTable | ) |
Sets table with documents
listTable | Table with documents |
Definition at line 90 of file Documents.java.
void cz.vutbr.fit.knot.annotations.web.Documents.setSelGroups | ( | List< UserGroup > | selGroups | ) |
Sets selected user groups
selGroups | Selected user groups |
Definition at line 209 of file Documents.java.
void cz.vutbr.fit.knot.annotations.web.Documents.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 229 of file Documents.java.
void cz.vutbr.fit.knot.annotations.web.Documents.setSelUsers | ( | List< User > | selUsers | ) |
Sets selected users
selUsers | Selected users |
Definition at line 300 of file Documents.java.
void cz.vutbr.fit.knot.annotations.web.Documents.setSelUsersS | ( | List< String > | selUsersStrings | ) |
Sets selected users from strings with users
selUsersStrings | List of strings with selected user groups in format "cz.vutbr.fit.knot.annotations.entity.User[id=N]" (cz.vutbr.fit.knot.annotations.entity.User.toString()) |
Definition at line 320 of file Documents.java.
|
private |
Document selected in the table
Definition at line 46 of file Documents.java.
|
private |
Error message displayed in page
Definition at line 58 of file Documents.java.
|
private |
Table with documents
Definition at line 42 of file Documents.java.
|
private |
Selected user groups
Definition at line 50 of file Documents.java.
|
private |
Selected users
Definition at line 54 of file Documents.java.