|
Public Member Functions inherited from org.turro.plugin.command.CustomerSummaryPlugin |
| CustomerSummaryPlugin () |
|
| CustomerSummaryPlugin () |
|
Public Member Functions inherited from org.turro.plugin.command.SummaryPlugin |
| SummaryPlugin (String name) |
|
String | getName () |
|
boolean | stopPropagating () |
|
void | execute () |
|
| SummaryPlugin (String name) |
|
String | getName () |
|
boolean | stopsPropagating () |
|
void | setParams (Object params) |
|
Object | execute (Context context) |
|
void | setContext (Map< String, Object > params, Map< String, Object > results) |
|
Object | getParam (String key) |
|
boolean | itsMe (String name) |
|
Object | addResult (String key, Object value) |
|
Static Public Member Functions inherited from org.turro.plugin.command.CustomerSummaryPlugin |
static Collection< Object > | getSummaryFor (IContact contact) |
|
static Collection< Object > | getSummaryFor (Application app, IContact contact) |
|
Static Public Member Functions inherited from org.turro.plugin.command.SummaryPlugin |
static Collection< Object > | getSummaryFor (IContact contact, String name) |
|
static Collection< Object > | getSummaryFor (Application app, IContact contact, String name) |
|
Static Public Attributes inherited from org.turro.plugin.command.CustomerSummaryPlugin |
static final String | NAME = "CustomerSummary" |
|
Protected Attributes inherited from org.turro.plugin.command.SummaryPlugin |
String | name |
|
IContact | contact |
|
Collection< Object > | result |
|
Map< String, Object > | params |
|
Map< String, Object > | results |
|
◆ executePlugin()
void org.turro.dossier.command.DossierCustomerSummary.executePlugin |
( |
| ) |
|
|
protected |
Reimplemented from org.turro.plugin.command.SummaryPlugin.
Definition at line 47 of file DossierCustomerSummary.java.
48 Application app = Application.getApplication();
50 if(!active.isEmpty()) {
51 GroupboxArrow gba =
new GroupboxArrow() {
53 protected void doFillContent() {
56 Hlayout hbox =
new Hlayout();
58 hbox.setSclass(
"z-valign-middle");
59 hbox.setValign(
"middle");
60 hbox.appendChild(
new Image(Images.getImage(
"dossier")));
61 hbox.appendChild(LabelTypes.getSoftLabel(I_.get(
"Dossiers") +
":"));
62 hbox.appendChild(LabelTypes.getPreLabel(active.size() +
" " + I_.get(
"Opened")));
63 Include report =
new Include(
"/WEB-INF/_zul/dossier/customerSummary.zul");
64 report.setDynamicProperty(
"active", active);
65 gba.appendChild(report);
Object addResult(String key, Object value)
The documentation for this class was generated from the following file: