About this task
Following modes are provided to create a new service instance:
- Mode I: Using API BTTUtil.Workarea.addService with a
service ID parameter, a new service instance is added at the end of the current
column, and the added row ID is returned.
Table 1. Mode I Input |
Output |
P1(service ID) |
A new service instance is added at the end of the current
column. And the added row ID is returned. |
- Mode II: Using API BTTUtil.Workarea.addService with a
row attribute parameter and a service attribute parameter, a new service instance
is added in the specified row, and the added row ID is returned.
Table 2. Mode
IIInput |
Output |
P1(row attribute), P2(service attribute) |
A new service instance is added in the specified row.
And the added row ID is returned. |
- Mode III: Using API BTTUtil.Workarea.addService with
a column ID parameter and a service ID parameter, a new service instance is
added at the end of the specified column, and the added row ID is returned.
Table 3. Mode IIIInput |
Output |
P1(column ID) , P2(service ID) |
A new service instance is added at the end of the specified
column. And the added row ID is returned. |
- Mode IV: Using API BTTUtil.Workarea.addService with a
column ID parameter, a row attribute parameter and a service attribute, a
new service instance is added at the end of the specified column, and the
added row ID is returned.
Table 4. Mode IVInput |
Output |
P1(column ID), P2(row attribute), P3(service attribute) |
A new service instance is added at the end of the specified
column. And the added row ID is returned. |
- Mode V: Using API BTTUtil.Workarea.addService with a
row ID parameter, an index parameter and a service ID parameter, a new service
instance is added at the relative position against the specified row, and
the added row ID is returned.
Table 5. Mode VInput |
Output |
P1(row ID), P3(index), P3(service ID) |
A new service instance is added at the relative position
against the specified row. And the added row ID is returned. |
- Mode VI: Using API BTTUtil.Workarea.addService with a
column ID parameter, an index parameter, and a service ID parameter, a new
service instance is added at the specified position of the column, and the
added row ID is returned.
Table 6. Mode VIInput |
Output |
P2(column ID), P3(index), P4(service ID) |
A new service instance is added at the specified position
of the column. And the added row ID is returned. |
- Mode VII: Using API BTTUtil.Workarea.addService with
a column ID parameter, an index parameter, a row attribute parameter and a
service attribute parameter, a new service instance is added before or after
the corresponding service instance, and the added row ID is returned.
Table 7. Mode VIIInput |
Output |
P1(column ID), P2(index), P3(row attribute), P4(service
attribute) |
A new service instance is added before or after the
corresponding service instance. And the added row ID is returned. |
- Mode VIII: Using API BTTUtil.Workarea.addService with
a row ID parameter, an index parameter, a row attribute parameter and a service
attribute parameter, a new service instance is added in the corresponding
column, and the added row ID is returned.
Table 8. Mode VIIIInput |
Output |
P1(row ID), P2(index), P3(row attribute), P4(service
attribute) |
A new service instance is added in the corresponding
column. And the added row ID is returned. |