BrightSide Workbench Full Report + Source Code
org.turro.zul.voteit.VoteItCtrl Class Reference
Inheritance diagram for org.turro.zul.voteit.VoteItCtrl:
Collaboration diagram for org.turro.zul.voteit.VoteItCtrl:

Public Member Functions

Object getEntity ()
 
void setEntity (Object entity)
 
void setEntityPath (String entityPath)
 
void setForbiden (boolean forbiden)
 
void setAllowed (ContactList allowed)
 
void setForbid (boolean forbid)
 
void afterCompose ()
 

Detailed Description

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

Definition at line 33 of file zul/voteit/VoteItCtrl.java.

Member Function Documentation

◆ afterCompose()

void org.turro.zul.voteit.VoteItCtrl.afterCompose ( )

Definition at line 65 of file zul/voteit/VoteItCtrl.java.

65  {
66  Application app = Application.getApplication();
67  IConstructor constructor = app.getConstructor();
68  if(entity != null) {
69  entityPath = Entities.getController(entity).getPath();
70  }
71  org.turro.www.voteit.VoteItCtrl voteIt =
72  new org.turro.www.voteit.VoteItCtrl(constructor);
73  voteIt.setEntityPath(entityPath);
74  voteIt.setForbiden(forbiden);
75  voteIt.setForbid(forbid);
76  voteIt.setAllowed(allowed);
77  voteIt.setForceInternalRender(true);
78  constructor.setOutputToString();
79  voteIt.renderVotes(true);
80  Html html = new Html(constructor.getOutputString());
81  appendChild(html);
82  }
Here is the call graph for this function:

◆ getEntity()

Object org.turro.zul.voteit.VoteItCtrl.getEntity ( )

Definition at line 40 of file zul/voteit/VoteItCtrl.java.

40  {
41  return entity;
42  }

◆ setAllowed()

void org.turro.zul.voteit.VoteItCtrl.setAllowed ( ContactList  allowed)

Definition at line 56 of file zul/voteit/VoteItCtrl.java.

56  {
57  this.allowed = allowed;
58  }

◆ setEntity()

void org.turro.zul.voteit.VoteItCtrl.setEntity ( Object  entity)

Definition at line 44 of file zul/voteit/VoteItCtrl.java.

44  {
45  this.entity = entity;
46  }

◆ setEntityPath()

void org.turro.zul.voteit.VoteItCtrl.setEntityPath ( String  entityPath)

Definition at line 48 of file zul/voteit/VoteItCtrl.java.

48  {
49  this.entityPath = entityPath;
50  }

◆ setForbid()

void org.turro.zul.voteit.VoteItCtrl.setForbid ( boolean  forbid)

Definition at line 60 of file zul/voteit/VoteItCtrl.java.

60  {
61  this.forbid = forbid;
62  }

◆ setForbiden()

void org.turro.zul.voteit.VoteItCtrl.setForbiden ( boolean  forbiden)

Definition at line 52 of file zul/voteit/VoteItCtrl.java.

52  {
53  this.forbiden = forbiden;
54  }

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