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

Backbean for managing attributes of types of annotations. More...

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

Public Member Functions

String btnSaveAction ()
 
String btnSaveNewAction ()
 
String btnCancelAction ()
 
String getName ()
 
void setName (String name)
 
String getSimpleType ()
 
void setSimpleType (String simpleType)
 
String getStructuredType ()
 
void setStructuredType (String structuredType)
 
String getComment ()
 
void setComment (String comment)
 
Boolean getRequired ()
 
void setRequired (Boolean required)
 
String getUriInOntology ()
 
void setUriInOntology (String uriInOntology)
 
String btnSelectSTypeAction ()
 
String btnSelectSTypeActionN ()
 
String getErrorMessage ()
 
void setErrorMessage (String errorMessage)
 
AnnotTypeAttr getAnnotTAttr ()
 
UserGroup getGroup ()
 
List< SelectItem > getSimpleTypes ()
 

Private Member Functions

AnnotTypeAttr createBackup ()
 
AnnotTypeAttr getBackup ()
 

Private Attributes

String name = null
 
AnnotTypeAttr annotTAttr = null
 
String simpleType = null
 
String structuredType = null
 
String comment = null
 
Boolean required = null
 
String uriInOntology = null
 
String errorMessage = ""
 
boolean adding = false
 

Detailed Description

Backbean for managing attributes of types of annotations.

Backbean for pages for adding and editing attributes of of types of annotations

Author
idytrych

Definition at line 45 of file EditATA.java.

Member Function Documentation

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

Action listener for cancel button

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

Definition at line 297 of file EditATA.java.

String cz.vutbr.fit.knot.annotations.web.EditATA.btnSaveAction ( )

Action listener for save button in the page for editing of the attribute of type of annotation

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

Definition at line 88 of file EditATA.java.

Here is the call graph for this function:

String cz.vutbr.fit.knot.annotations.web.EditATA.btnSaveNewAction ( )

Action listener for save button in the page for adding of the attribute of type of annotation

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

Definition at line 171 of file EditATA.java.

Here is the call graph for this function:

String cz.vutbr.fit.knot.annotations.web.EditATA.btnSelectSTypeAction ( )

Action listener for button for selecting structured type of attribute

Returns
Returns page outcome (identificator of next page)

Definition at line 475 of file EditATA.java.

Here is the call graph for this function:

String cz.vutbr.fit.knot.annotations.web.EditATA.btnSelectSTypeActionN ( )

Action listener for button for selecting structured type of attribute (used in page for adding attribute of annotation)

Returns
Returns page outcome (identificator of next page)

Definition at line 491 of file EditATA.java.

Here is the call graph for this function:

AnnotTypeAttr cz.vutbr.fit.knot.annotations.web.EditATA.createBackup ( )
private

Creates backup of form data

Returns
Returns backup of form data

Definition at line 260 of file EditATA.java.

Here is the call graph for this function:

Here is the caller graph for this function:

AnnotTypeAttr cz.vutbr.fit.knot.annotations.web.EditATA.getAnnotTAttr ( )

Gets edited attribute of type of annotation

Returns
Returns edited attribute of type of annotation

Definition at line 561 of file EditATA.java.

Here is the call graph for this function:

AnnotTypeAttr cz.vutbr.fit.knot.annotations.web.EditATA.getBackup ( )
private

Gets backup of form data If user came from another page, gets edited attribute of type of annotation from session. If user now returned from selection of type, set form field value.

Returns
If backup is available, returns backup of form data, null otherwise

Definition at line 509 of file EditATA.java.

Here is the call graph for this function:

Here is the caller graph for this function:

String cz.vutbr.fit.knot.annotations.web.EditATA.getComment ( )

Gets value of comment field in form

Returns
Returns value of comment field in form

Definition at line 398 of file EditATA.java.

Here is the call graph for this function:

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

Gets error message displayed in form

Returns
Returns error message displayed in form

Definition at line 543 of file EditATA.java.

UserGroup cz.vutbr.fit.knot.annotations.web.EditATA.getGroup ( )

Gets user group of edited type of annotation

Returns
User group of edited type of annotation

Definition at line 571 of file EditATA.java.

String cz.vutbr.fit.knot.annotations.web.EditATA.getName ( )

Gets value of name field in form

Returns
Returns value of name field in form

Definition at line 308 of file EditATA.java.

Here is the call graph for this function:

Boolean cz.vutbr.fit.knot.annotations.web.EditATA.getRequired ( )

Gets value of required checkbox

Returns
Returns value of required checkbox

Definition at line 424 of file EditATA.java.

Here is the call graph for this function:

String cz.vutbr.fit.knot.annotations.web.EditATA.getSimpleType ( )

Gets value of simple type field in form

Returns
Returns value of simple type field in form

Definition at line 334 of file EditATA.java.

Here is the call graph for this function:

List<SelectItem> cz.vutbr.fit.knot.annotations.web.EditATA.getSimpleTypes ( )

Gets simple types of attribute

Returns
Returns simple types of attribute

Definition at line 583 of file EditATA.java.

String cz.vutbr.fit.knot.annotations.web.EditATA.getStructuredType ( )

Gets value of structured type field in form

Returns
Returns value of structured type field in form

Definition at line 370 of file EditATA.java.

Here is the call graph for this function:

String cz.vutbr.fit.knot.annotations.web.EditATA.getUriInOntology ( )

Gets value of uri field in form

Returns
Returns value of uri field in form

Definition at line 450 of file EditATA.java.

Here is the call graph for this function:

void cz.vutbr.fit.knot.annotations.web.EditATA.setComment ( String  comment)

Sets value of comment field in form

Parameters
commentValue of comment field in form

Definition at line 415 of file EditATA.java.

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

Sets error message to be displayed in form

Parameters
errorMessageError message to be displayed in form

Definition at line 552 of file EditATA.java.

void cz.vutbr.fit.knot.annotations.web.EditATA.setName ( String  name)

Sets value of name field in form

Parameters
nameValue of name field in form

Definition at line 325 of file EditATA.java.

void cz.vutbr.fit.knot.annotations.web.EditATA.setRequired ( Boolean  required)

Sets value of required checkbox

Parameters
requiredValue of required checkbox

Definition at line 441 of file EditATA.java.

void cz.vutbr.fit.knot.annotations.web.EditATA.setSimpleType ( String  simpleType)

Sets value of simple type field in form

Parameters
simpleTypeValue of simple type field in form

Definition at line 361 of file EditATA.java.

void cz.vutbr.fit.knot.annotations.web.EditATA.setStructuredType ( String  structuredType)

Sets value of structured type field in form

Parameters
structuredTypeValue of structured type field in form

Definition at line 389 of file EditATA.java.

void cz.vutbr.fit.knot.annotations.web.EditATA.setUriInOntology ( String  uriInOntology)

Sets value of uri field in form

Parameters
uriInOntologyValue of uri field in form

Definition at line 466 of file EditATA.java.

Member Data Documentation

boolean cz.vutbr.fit.knot.annotations.web.EditATA.adding = false
private

Differ between page for adding and between page for editing attribute

Definition at line 81 of file EditATA.java.

AnnotTypeAttr cz.vutbr.fit.knot.annotations.web.EditATA.annotTAttr = null
private

Edited attribute of type of annotation

Definition at line 53 of file EditATA.java.

String cz.vutbr.fit.knot.annotations.web.EditATA.comment = null
private

Value of comment field in form

Definition at line 65 of file EditATA.java.

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

Error message displayed in form

Definition at line 77 of file EditATA.java.

String cz.vutbr.fit.knot.annotations.web.EditATA.name = null
private

Value of name field in form

Definition at line 49 of file EditATA.java.

Boolean cz.vutbr.fit.knot.annotations.web.EditATA.required = null
private

Value of required checkbox

Definition at line 69 of file EditATA.java.

String cz.vutbr.fit.knot.annotations.web.EditATA.simpleType = null
private

Value of simple type field in form

Definition at line 57 of file EditATA.java.

String cz.vutbr.fit.knot.annotations.web.EditATA.structuredType = null
private

Value of structured type field in form

Definition at line 61 of file EditATA.java.

String cz.vutbr.fit.knot.annotations.web.EditATA.uriInOntology = null
private

Value of uri field in form

Definition at line 73 of file EditATA.java.


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