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

Backbean for page with types of annotations. More...

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

Public Member Functions

 ATypes ()
 
String actionEdit (Integer id)
 
String actionDelete (Integer id)
 
AnnotType getSelType ()
 
void setSelType (AnnotType selType)
 
AnnotType getAnnotT ()
 
List< AnnotTypegetNodeChildren ()
 
boolean getNodeHasChildren ()
 
List< UserGroupgetSelGroups ()
 
void setSelGroups (List< UserGroup > selGroups)
 
List< UserGroupgetSelGroupsS ()
 
void setSelGroupsS (List< String > selGroupsStrings)
 
List< SelectItem > getAllGroups ()
 

Private Attributes

List< UserGroupselGroups = null
 
AnnotType selType = null
 

Detailed Description

Backbean for page with types of annotations.

Backbean for page with types of annotations

Author
idytrych

Definition at line 41 of file ATypes.java.

Constructor & Destructor Documentation

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

Constructor

  • Sets selected user groups to user's joined groups

Definition at line 55 of file ATypes.java.

Member Function Documentation

String cz.vutbr.fit.knot.annotations.web.ATypes.actionDelete ( Integer  id)

Action listener for delete links in table

Returns
Returns page outcome to go to deleting page

Definition at line 89 of file ATypes.java.

String cz.vutbr.fit.knot.annotations.web.ATypes.actionEdit ( Integer  id)

Action listener for edit links in table

Returns
Returns page outcome to go to editing page

Definition at line 66 of file ATypes.java.

List<SelectItem> cz.vutbr.fit.knot.annotations.web.ATypes.getAllGroups ( )

Gets all user groups

Returns
All user groups in list of SelectItem

Definition at line 339 of file ATypes.java.

Here is the call graph for this function:

AnnotType cz.vutbr.fit.knot.annotations.web.ATypes.getAnnotT ( )

Gets content of auxiliary variable with actual node for TreeTable

Returns
Returns actual node of tree

Definition at line 130 of file ATypes.java.

List<AnnotType> cz.vutbr.fit.knot.annotations.web.ATypes.getNodeChildren ( )

Gets children of actual node in TreeTable

Returns
Returns children of actual node

Definition at line 140 of file ATypes.java.

boolean cz.vutbr.fit.knot.annotations.web.ATypes.getNodeHasChildren ( )

Returns, whether actuall node in tree has children

Returns
If actual node has children, returns true, false otherwise

Definition at line 225 of file ATypes.java.

List<UserGroup> cz.vutbr.fit.knot.annotations.web.ATypes.getSelGroups ( )

Gets selected user groups

Returns
Returns selected user groups

Definition at line 264 of file ATypes.java.

List<UserGroup> cz.vutbr.fit.knot.annotations.web.ATypes.getSelGroupsS ( )

Gets selected user groups

Returns
Returns list of selected user groups

Definition at line 282 of file ATypes.java.

AnnotType cz.vutbr.fit.knot.annotations.web.ATypes.getSelType ( )

Gets selected type of annotation

Returns
Returns selected type of annotation

Definition at line 112 of file ATypes.java.

void cz.vutbr.fit.knot.annotations.web.ATypes.setSelGroups ( List< UserGroup selGroups)

Sets selected user groups

Parameters
selGroupsSelected user groups

Definition at line 273 of file ATypes.java.

void cz.vutbr.fit.knot.annotations.web.ATypes.setSelGroupsS ( List< String >  selGroupsStrings)

Sets selected user groups from strings with groups

Parameters
selGroupsStringsList 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 293 of file ATypes.java.

void cz.vutbr.fit.knot.annotations.web.ATypes.setSelType ( AnnotType  selType)

Sets selected type of annotation

Parameters
selTypeSelected type of annotation

Definition at line 121 of file ATypes.java.

Member Data Documentation

List<UserGroup> cz.vutbr.fit.knot.annotations.web.ATypes.selGroups = null
private

Selected user groups

Definition at line 45 of file ATypes.java.

AnnotType cz.vutbr.fit.knot.annotations.web.ATypes.selType = null
private

Selected type of annotation

Definition at line 49 of file ATypes.java.


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