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

Backbean for managing attributes from ontology. More...

Inheritance diagram for cz.vutbr.fit.knot.annotations.web.EditTAO:
Inheritance graph
Collaboration diagram for cz.vutbr.fit.knot.annotations.web.EditTAO:
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)
 
String getUriInOntology ()
 
void setUriInOntology (String uriInOntology)
 
String btnSelectSTypeAction ()
 
String btnSelectSTypeActionN ()
 
String getErrorMessage ()
 
void setErrorMessage (String errorMessage)
 
TypeAttrOnto getEditedTAO ()
 
String getGroup ()
 
void setGroup (String group)
 
List< SelectItem > getSimpleTypes ()
 

Private Member Functions

TypeAttrOnto createBackup ()
 
TypeAttrOnto getBackup ()
 

Private Attributes

String name = null
 
String group = null
 
TypeAttrOnto editedTAO = null
 
String simpleType = null
 
String structuredType = null
 
String comment = null
 
String uriInOntology = null
 
String errorMessage = ""
 
boolean adding = false
 

Detailed Description

Backbean for managing attributes from ontology.

Backbean for managing attributes from ontology

Author
idytrych

Definition at line 42 of file EditTAO.java.

Member Function Documentation

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

Action listener for cancel button

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

Definition at line 322 of file EditTAO.java.

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

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

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

Definition at line 85 of file EditTAO.java.

Here is the call graph for this function:

String cz.vutbr.fit.knot.annotations.web.EditTAO.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 168 of file EditTAO.java.

Here is the call graph for this function:

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

Action listener for button for selecting structured type of attribute

Returns
Returns page outcome (identificator of next page)

Definition at line 477 of file EditTAO.java.

Here is the call graph for this function:

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

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

Returns
Returns page outcome (identificator of next page)

Definition at line 497 of file EditTAO.java.

Here is the call graph for this function:

TypeAttrOnto cz.vutbr.fit.knot.annotations.web.EditTAO.createBackup ( )
private

Creates backup of form data

Returns
Returns backup of form data

Definition at line 270 of file EditTAO.java.

Here is the call graph for this function:

Here is the caller graph for this function:

TypeAttrOnto cz.vutbr.fit.knot.annotations.web.EditTAO.getBackup ( )
private

Gets backup of form data If user came from another page, gets edited attribute 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 519 of file EditTAO.java.

Here is the call graph for this function:

Here is the caller graph for this function:

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

Gets value of comment field in form

Returns
Returns value of comment field in form

Definition at line 425 of file EditTAO.java.

Here is the call graph for this function:

TypeAttrOnto cz.vutbr.fit.knot.annotations.web.EditTAO.getEditedTAO ( )

Gets edited attribute from ontology

Returns
Returns edited attribute from ontology

Definition at line 571 of file EditTAO.java.

Here is the call graph for this function:

Here is the caller graph for this function:

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

Gets error message displayed in form

Returns
Returns error message displayed in form

Definition at line 553 of file EditTAO.java.

String cz.vutbr.fit.knot.annotations.web.EditTAO.getGroup ( )

Gets value of group field in form

Returns
Returns value of group field in form

Definition at line 581 of file EditTAO.java.

Here is the call graph for this function:

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

Gets value of name field in form

Returns
Returns value of name field in form

Definition at line 333 of file EditTAO.java.

Here is the call graph for this function:

Here is the caller graph for this function:

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

Gets value of simple type field in form

Returns
Returns value of simple type field in form

Definition at line 359 of file EditTAO.java.

Here is the call graph for this function:

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

Gets simple types of attribute

Returns
Returns simple types of attribute

Definition at line 612 of file EditTAO.java.

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

Gets value of structured type field in form

Returns
Returns value of structured type field in form

Definition at line 395 of file EditTAO.java.

Here is the call graph for this function:

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

Gets value of uri field in form

Returns
Returns value of uri field in form

Definition at line 451 of file EditTAO.java.

Here is the call graph for this function:

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

Sets value of comment field in form

Parameters
commentValue of comment field in form

Definition at line 442 of file EditTAO.java.

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

Sets error message to be displayed in form

Parameters
errorMessageError message to be displayed in form

Definition at line 562 of file EditTAO.java.

void cz.vutbr.fit.knot.annotations.web.EditTAO.setGroup ( String  group)

Sets value of group field in form

Parameters
groupValue of group field in form

Definition at line 602 of file EditTAO.java.

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

Sets value of name field in form

Parameters
nameValue of name field in form

Definition at line 350 of file EditTAO.java.

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

Sets value of simple type field in form

Parameters
simpleTypeValue of simple type field in form

Definition at line 386 of file EditTAO.java.

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

Sets value of structured type field in form

Parameters
structuredTypeValue of structured type field in form

Definition at line 416 of file EditTAO.java.

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

Sets value of uri field in form

Parameters
uriInOntologyValue of uri field in form

Definition at line 468 of file EditTAO.java.

Member Data Documentation

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

Differ between page for adding and between page for editing attribute

Definition at line 78 of file EditTAO.java.

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

Value of comment field in form

Definition at line 66 of file EditTAO.java.

TypeAttrOnto cz.vutbr.fit.knot.annotations.web.EditTAO.editedTAO = null
private

Edited attribute of type of annotation

Definition at line 54 of file EditTAO.java.

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

Error message displayed in form

Definition at line 74 of file EditTAO.java.

String cz.vutbr.fit.knot.annotations.web.EditTAO.group = null
private

Value of group field in form

Definition at line 50 of file EditTAO.java.

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

Value of name field in form

Definition at line 46 of file EditTAO.java.

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

Value of simple type field in form

Definition at line 58 of file EditTAO.java.

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

Value of structured type field in form

Definition at line 62 of file EditTAO.java.

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

Value of uri field in form

Definition at line 70 of file EditTAO.java.


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