BrightSide Workbench Full Report + Source Code
org.turro.publication.zul.www.EditBlogControl Class Reference
Inheritance diagram for org.turro.publication.zul.www.EditBlogControl:
Collaboration diagram for org.turro.publication.zul.www.EditBlogControl:

Public Member Functions

void onCategory ()
 
void onGroup ()
 
void onTitle ()
 
void onAuthor ()
 
void onDate ()
 
void onSummary ()
 
void onBody ()
 
void onSave ()
 
void onCancel ()
 
String getPath ()
 
void setPath (String path)
 
void setPublication (Publication publication)
 
- Public Member Functions inherited from org.turro.elephant.TemplateControl
void setRootTmpl (String rootTmpl)
 
void setTmpl (String tmpl)
 
void afterCompose ()
 

Protected Member Functions

void doFinally ()
 

Detailed Description

Author
Lluis TurrĂ³ Cutiller lluis.nosp@m.@tur.nosp@m.ro.or.nosp@m.g

Definition at line 43 of file EditBlogControl.java.

Member Function Documentation

◆ doFinally()

void org.turro.publication.zul.www.EditBlogControl.doFinally ( )
protected

Reimplemented from org.turro.elephant.TemplateControl.

Definition at line 118 of file EditBlogControl.java.

118  {
119  super.doFinally();
120  checkPublication();
121  initComponents();
122  }

◆ getPath()

String org.turro.publication.zul.www.EditBlogControl.getPath ( )

Definition at line 105 of file EditBlogControl.java.

105  {
106  return path;
107  }

◆ onAuthor()

void org.turro.publication.zul.www.EditBlogControl.onAuthor ( )

Definition at line 72 of file EditBlogControl.java.

72  {
73  publication.setAuthor(author.getValue());
74  }
Here is the call graph for this function:

◆ onBody()

void org.turro.publication.zul.www.EditBlogControl.onBody ( )

Definition at line 87 of file EditBlogControl.java.

87  {
88  publication.setWikiBody(body.getValue());
89  }
Here is the call graph for this function:

◆ onCancel()

void org.turro.publication.zul.www.EditBlogControl.onCancel ( )

Definition at line 101 of file EditBlogControl.java.

101  {
102  Application.getApplication().sendRedirect(path + publication.getId());
103  }
Here is the call graph for this function:

◆ onCategory()

void org.turro.publication.zul.www.EditBlogControl.onCategory ( )

Definition at line 57 of file EditBlogControl.java.

57  {
58  publication.setPublicationCategory(category.getObjectValue());
59  }
void setPublicationCategory(PublicationCategory publicationCategory)
Here is the call graph for this function:

◆ onDate()

void org.turro.publication.zul.www.EditBlogControl.onDate ( )

Definition at line 77 of file EditBlogControl.java.

77  {
78  publication.setDate(date.getValue());
79  }
Here is the call graph for this function:

◆ onGroup()

void org.turro.publication.zul.www.EditBlogControl.onGroup ( )

Definition at line 62 of file EditBlogControl.java.

62  {
63  publication.setPublicationGroup(group.getObjectValue());
64  }
void setPublicationGroup(PublicationGroup publicationGroup)
Here is the call graph for this function:

◆ onSave()

void org.turro.publication.zul.www.EditBlogControl.onSave ( )

Definition at line 92 of file EditBlogControl.java.

92  {
93  PublicationWrapper dw = new PublicationWrapper(publication);
94  if(!publication.isEmpty()) {
95  publication = dw.save();
96  Application.getApplication().sendRedirect(path + publication.getId());
97  }
98  }
Here is the call graph for this function:

◆ onSummary()

void org.turro.publication.zul.www.EditBlogControl.onSummary ( )

Definition at line 82 of file EditBlogControl.java.

82  {
83  publication.setWikiSummary(summary.getValue());
84  }
void setWikiSummary(String wikiSummary)
Here is the call graph for this function:

◆ onTitle()

void org.turro.publication.zul.www.EditBlogControl.onTitle ( )

Definition at line 67 of file EditBlogControl.java.

67  {
68  publication.setTitle(title.getValue());
69  }
Here is the call graph for this function:

◆ setPath()

void org.turro.publication.zul.www.EditBlogControl.setPath ( String  path)

Definition at line 109 of file EditBlogControl.java.

109  {
110  this.path = path;
111  }

◆ setPublication()

void org.turro.publication.zul.www.EditBlogControl.setPublication ( Publication  publication)

Definition at line 113 of file EditBlogControl.java.

113  {
114  this.publication = publication;
115  }

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