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

Backbean for administration of user groups. More...

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

Public Member Functions

 UserGroupSelectionForUser ()
 
UserGroup getUserGroup ()
 
void setUserGroup (UserGroup userGroup)
 
HtmlDataTable getListTable ()
 
void setListTable (HtmlDataTable listTable)
 
List< UserGroupgetUserGroupsList ()
 
String btnSelectAction (Integer id)
 
String btnCancelAction ()
 
String getErrorMessage ()
 
void setErrorMessage (String errorMessage)
 

Private Attributes

HtmlDataTable listTable
 
UserGroup userGroup
 
String errorMessage = ""
 
User editedUser = null
 
Object formBackup = null
 

Detailed Description

Backbean for administration of user groups.

Backbean for page with administration of user groups

Author
idytrych

Definition at line 39 of file UserGroupSelectionForUser.java.

Constructor & Destructor Documentation

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

Constructor

Definition at line 64 of file UserGroupSelectionForUser.java.

Member Function Documentation

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

Action listener for cancel button

Returns
Returns page outcome (identificator of next page)

Definition at line 169 of file UserGroupSelectionForUser.java.

String cz.vutbr.fit.knot.annotations.web.UserGroupSelectionForUser.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 UserGroupSelectionForUser.java.

Here is the call graph for this function:

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

Gets error message to display

Returns
Returns error message to display

Definition at line 180 of file UserGroupSelectionForUser.java.

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

Gets table with user groups

Returns
Returns table with user groups

Definition at line 91 of file UserGroupSelectionForUser.java.

UserGroup cz.vutbr.fit.knot.annotations.web.UserGroupSelectionForUser.getUserGroup ( )

Gets user group selected in the table

Returns
Returns user group selected in the table

Definition at line 73 of file UserGroupSelectionForUser.java.

List<UserGroup> cz.vutbr.fit.knot.annotations.web.UserGroupSelectionForUser.getUserGroupsList ( )

Gets list of all existing user groups in which aren't given user

Returns
Returns list of user groups

Definition at line 109 of file UserGroupSelectionForUser.java.

Here is the call graph for this function:

Here is the caller graph for this function:

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

Sets error message to display

Parameters
errorMessageError message to display

Definition at line 189 of file UserGroupSelectionForUser.java.

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

Sets table with user groups

Parameters
listTableTable with user groups

Definition at line 100 of file UserGroupSelectionForUser.java.

void cz.vutbr.fit.knot.annotations.web.UserGroupSelectionForUser.setUserGroup ( UserGroup  userGroup)

Sets user group selected in the table

Parameters
userGroup

Definition at line 82 of file UserGroupSelectionForUser.java.

Member Data Documentation

User cz.vutbr.fit.knot.annotations.web.UserGroupSelectionForUser.editedUser = null
private

Edited user (for selection variant)

Definition at line 55 of file UserGroupSelectionForUser.java.

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

Error message to display

Definition at line 51 of file UserGroupSelectionForUser.java.

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

Backup of form data

Definition at line 59 of file UserGroupSelectionForUser.java.

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

Table with user groups

Definition at line 43 of file UserGroupSelectionForUser.java.

UserGroup cz.vutbr.fit.knot.annotations.web.UserGroupSelectionForUser.userGroup
private

User group selected in the table

Definition at line 47 of file UserGroupSelectionForUser.java.


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