Difference between revisions of "Excel-call"
(→Sheet) |
(→{{VULCON}} / {{GVCONSOLE}} Configuration) |
||
| Line 6: | Line 6: | ||
The excel-call Element is used by [[Channel]] and [[routed-call]]. It has the following attributes: | The excel-call Element is used by [[Channel]] and [[routed-call]]. It has the following attributes: | ||
| − | + | {|class="gvtable" | |
| − | + | ! Attribute !! Type !! Description | |
| − | + | |- | |
| − | + | | type || fixed || This attribute must assume the value '''call'''. | |
| − | + | |- | |
| + | | class || fixed || This attribute must assume the value '''it.greenvulcano.gvesb.virtual.excel.GVExcelCallOperation'''. | ||
| + | |- | ||
| + | | name || required || Operation name. Used in the [[Flow]] section to associate workflow nodes to VCL operations. | ||
| + | |- | ||
| + | | group || optional || Reports group name. | ||
| + | |- | ||
| + | | report || optional || Report name. | ||
| + | |} | ||
and the subelements: | and the subelements: | ||
| Line 19: | Line 27: | ||
Defines the configuration elements of an Excel report. It is used by '''excel-call''' and [[excelreader-call]] and has the following attributes: | Defines the configuration elements of an Excel report. It is used by '''excel-call''' and [[excelreader-call]] and has the following attributes: | ||
| − | + | {|class="gvtable" | |
| − | + | ! Attribute !! Type !! Description | |
| − | + | |- | |
| − | + | | name || required ||Report name | |
| + | |- | ||
| + | | group || optional || Report group. Default Generic. | ||
| + | |- | ||
| + | | jdbc-connection || required || JNDI name of a DataSource. | ||
| + | |- | ||
| + | | format || optional || Name of the style of the report. Default ''default''. | ||
| + | |} | ||
Its subelements are: | Its subelements are: | ||
| Line 31: | Line 46: | ||
This element defines the configuration of each sheet of the Report. | This element defines the configuration of each sheet of the Report. | ||
| − | |||
| − | |||
The Sheet Element is used by '''GVExcelReport'''. Its attributes are: | The Sheet Element is used by '''GVExcelReport'''. Its attributes are: | ||
| − | + | {|class="gvtable" | |
| − | + | ! Attribute !! Type !! Description | |
| − | + | |- | |
| − | + | | id || required || Sheet id. | |
| + | |- | ||
| + | | name || required || Sheet name. | ||
| + | |- | ||
| + | | title || optional || Sheet title. | ||
| + | |- | ||
| + | | jdbc-connection || optional || JNDI name of a DataSource. Default to Report connection. | ||
| + | |} | ||
and its subelements: | and its subelements: | ||
| Line 50: | Line 70: | ||
Its attributes are: | Its attributes are: | ||
| − | + | {|class="gvtable" | |
| − | + | ! Attribute !! Type !! Description | |
| − | + | |- | |
| − | + | | type || required || Must be "Excel Sheet : insert|update|callsp". The attribute's admitted values are: | |
| − | + | * select | |
| − | + | * insert | |
| + | * update | ||
| + | * callsp | ||
| + | |- | ||
| + | | id || optional || prep-statement Id. | ||
| + | |} | ||
Revision as of 16:58, 9 February 2012
Contents
Description
The GreenVulcano® ESB plugin excell-call allows you to define the information needed to generate Excel reports from a select on the DB.
VulCon / GV Console Configuration
The excel-call Element is used by Channel and routed-call. It has the following attributes:
| Attribute | Type | Description |
|---|---|---|
| type | fixed | This attribute must assume the value call. |
| class | fixed | This attribute must assume the value it.greenvulcano.gvesb.virtual.excel.GVExcelCallOperation. |
| name | required | Operation name. Used in the Flow section to associate workflow nodes to VCL operations. |
| group | optional | Reports group name. |
| report | optional | Report name. |
and the subelements:
- Description
- GVExcelReport
GVExcelReport
Defines the configuration elements of an Excel report. It is used by excel-call and excelreader-call and has the following attributes:
| Attribute | Type | Description |
|---|---|---|
| name | required | Report name |
| group | optional | Report group. Default Generic. |
| jdbc-connection | required | JNDI name of a DataSource. |
| format | optional | Name of the style of the report. Default default. |
Its subelements are:
- Description
- Sheet(s)
Sheet
This element defines the configuration of each sheet of the Report.
The Sheet Element is used by GVExcelReport. Its attributes are:
| Attribute | Type | Description |
|---|---|---|
| id | required | Sheet id. |
| name | required | Sheet name. |
| title | optional | Sheet title. |
| jdbc-connection | optional | JNDI name of a DataSource. Default to Report connection. |
and its subelements:
- Description
- prep-statement
- statement
prep-statement
Preparation statement for Excel report generation. Are executed after the report statement. Can contains placeholders.
Its attributes are:
| Attribute | Type | Description |
|---|---|---|
| type | required | update|callsp". The attribute's admitted values are:
|
| id | optional | prep-statement Id. |