4A Server -  2.0
 All Classes Namespaces Files Functions Variables Enumerator
cz.vutbr.fit.knot.annotations.web.UserSelectionForGroup Class Reference

Backbean for page with selection of user. More...

Inheritance diagram for cz.vutbr.fit.knot.annotations.web.UserSelectionForGroup:
Inheritance graph
Collaboration diagram for cz.vutbr.fit.knot.annotations.web.UserSelectionForGroup:
Collaboration graph

Public Member Functions

 UserSelectionForGroup ()
 
User getUser ()
 
void setUser (User user)
 
HtmlDataTable getListTable ()
 
void setListTable (HtmlDataTable listTable)
 
List< UsergetUsersList ()
 
String btnSelectAction (Integer id)
 
String btnCancelAction ()
 
String getErrorMessage ()
 
void setErrorMessage (String errorMessage)
 

Private Attributes

HtmlDataTable listTable
 
User user
 
String errorMessage = ""
 
UserGroup editedUG = null
 
Object formBackup = null
 

Detailed Description

Backbean for page with selection of user.

Backbean for page with selection of user

Author
idytrych

Definition at line 39 of file UserSelectionForGroup.java.

Constructor & Destructor Documentation

cz.vutbr.fit.knot.annotations.web.UserSelectionForGroup.UserSelectionForGroup ( )

Constructor

Definition at line 64 of file UserSelectionForGroup.java.

Member Function Documentation

String cz.vutbr.fit.knot.annotations.web.UserSelectionForGroup.btnCancelAction ( )

Action listener for cancel button

Returns
Returns page outcome (identificator of next page)

Definition at line 167 of file UserSelectionForGroup.java.

String cz.vutbr.fit.knot.annotations.web.UserSelectionForGroup.btnSelectAction ( Integer  id)

Action listener for select links in table

Returns
Returns page outcome (identificator of next page or null to stay here)

Definition at line 131 of file UserSelectionForGroup.java.

Here is the call graph for this function:

String cz.vutbr.fit.knot.annotations.web.UserSelectionForGroup.getErrorMessage ( )

Gets error message to display

Returns
Returns error message to display

Definition at line 178 of file UserSelectionForGroup.java.

HtmlDataTable cz.vutbr.fit.knot.annotations.web.UserSelectionForGroup.getListTable ( )

Gets table with user

Returns
Returns table with user

Definition at line 91 of file UserSelectionForGroup.java.

User cz.vutbr.fit.knot.annotations.web.UserSelectionForGroup.getUser ( )

Gets user selected in the table

Returns
Returns user selected in the table

Definition at line 73 of file UserSelectionForGroup.java.

List<User> cz.vutbr.fit.knot.annotations.web.UserSelectionForGroup.getUsersList ( )

Gets list of all existing users which aren't in given group

Returns
Returns list of users

Definition at line 109 of file UserSelectionForGroup.java.

Here is the call graph for this function:

Here is the caller graph for this function:

void cz.vutbr.fit.knot.annotations.web.UserSelectionForGroup.setErrorMessage ( String  errorMessage)

Sets error message to display

Parameters
errorMessageError message to display

Definition at line 187 of file UserSelectionForGroup.java.

void cz.vutbr.fit.knot.annotations.web.UserSelectionForGroup.setListTable ( HtmlDataTable  listTable)

Sets table with user

Parameters
listTableTable with user

Definition at line 100 of file UserSelectionForGroup.java.

void cz.vutbr.fit.knot.annotations.web.UserSelectionForGroup.setUser ( User  user)

Sets user selected in the table

Parameters
user

Definition at line 82 of file UserSelectionForGroup.java.

Member Data Documentation

UserGroup cz.vutbr.fit.knot.annotations.web.UserSelectionForGroup.editedUG = null
private

Edited user group (for selection variant)

Definition at line 55 of file UserSelectionForGroup.java.

String cz.vutbr.fit.knot.annotations.web.UserSelectionForGroup.errorMessage = ""
private

Error message to display

Definition at line 51 of file UserSelectionForGroup.java.

Object cz.vutbr.fit.knot.annotations.web.UserSelectionForGroup.formBackup = null
private

Backup of form data

Definition at line 59 of file UserSelectionForGroup.java.

HtmlDataTable cz.vutbr.fit.knot.annotations.web.UserSelectionForGroup.listTable
private

Table with users

Definition at line 43 of file UserSelectionForGroup.java.

User cz.vutbr.fit.knot.annotations.web.UserSelectionForGroup.user
private

User selected in the table

Definition at line 47 of file UserSelectionForGroup.java.


The documentation for this class was generated from the following file: