Difference between revisions of "Extensions.DiagDataBrowsingPlus.GetDbDiagServiceAudienceStates"
Jump to navigation
Jump to search
(9 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{DISPLAYTITLE:OTX '''GetDbDiagServiceAudienceStates'''}}[[Category:DiagDataBrowsingPlus]] | {{DISPLAYTITLE:OTX '''GetDbDiagServiceAudienceStates'''}}[[Category:DiagDataBrowsingPlus]] | ||
== Classification == | == Classification == | ||
− | {{ClassificationActivity | GetDbDiagServiceAudienceStates | | + | {{ClassificationActivity | GetDbDiagServiceAudienceStates | Gets all audience attribute names of the [[Extensions.DiagDataBrowsingPlus.DbDiagService|DbDiagService]] | [[Term]] | [[Extensions.DiagDataBrowsingPlus|OTX DiagDataBrowsingPlus extension]] | [[Extensions.DiagDataBrowsingPlus#Terms|DbDiagService related terms]] | NONE | - }} |
== OTL Syntax == | == OTL Syntax == | ||
<syntaxhighlight lang="java" enclose="div" style="font-size: medium;"> | <syntaxhighlight lang="java" enclose="div" style="font-size: medium;"> | ||
− | ListTerm | + | ListTerm DiagDataBrowsingPlus.GetDbDiagServiceAudienceStates(DbDiagServiceTerm dbDiagService); |
</syntaxhighlight> | </syntaxhighlight> | ||
== Description == | == Description == | ||
− | '''GetDbDiagServiceAudienceStates''' returns a list of [[Core.DataTypes.SimpleDataType.String|strings]] of all audience attribute names, whose are set to true for this [[Extensions.DiagCom.DiagService|DiagService]] in ODX. Valid names are "isAfterMarket", "isAfterSales", "isDevelopment", "isManufacturing", "isSupplier". | + | '''GetDbDiagServiceAudienceStates''' returns a [[Core.DataTypes.ComplexDataType.ContainerDataType.List|list]] of [[Core.DataTypes.SimpleDataType.String|strings]] of all audience attribute names, whose are set to true for this [[Extensions.DiagCom.DiagService|DiagService]] in ODX. Valid names are "isAfterMarket", "isAfterSales", "isDevelopment", "isManufacturing", "isSupplier". |
− | {{Note| | + | {{Note|The appropriate MVCI system operation is MCDDbDataPrimitive::getAudienceState}} |
{{TermReturnValue| [[Core.DataTypes.ComplexDataType.ContainerDataType.List|List]] | Returns a list of [[Core.DataTypes.SimpleDataType.String|strings]] of all audience attribute names}} | {{TermReturnValue| [[Core.DataTypes.ComplexDataType.ContainerDataType.List|List]] | Returns a list of [[Core.DataTypes.SimpleDataType.String|strings]] of all audience attribute names}} | ||
Line 18: | Line 18: | ||
{| {{TableHeader}} | {| {{TableHeader}} | ||
{{TableRowPropertiesHeader}} | {{TableRowPropertiesHeader}} | ||
− | {{ | + | {{TableRowPropertie2| DbDiagService | [[Extensions.DiagDataBrowsingPlus.DbDiagService|DbDiagService]] | [[Term]] | - | [1..1] | The element addresses the '''DbDiagService''' whose audience states shall be returned.}} |
|} | |} | ||
== OTL Examples == | == OTL Examples == | ||
<syntaxhighlight lang="java" enclose="div" style="font-size: medium;"> | <syntaxhighlight lang="java" enclose="div" style="font-size: medium;"> | ||
+ | /// Local Declarations | ||
+ | |||
DiagCom.ComChannel ComChannel; | DiagCom.ComChannel ComChannel; | ||
DiagCom.DiagService DiagService; | DiagCom.DiagService DiagService; | ||
+ | DiagDataBrowsingPlus.DbDiagService DbDiagService; | ||
List<String> List_String; | List<String> List_String; | ||
− | |||
/// Flow | /// Flow |
Latest revision as of 09:14, 2 November 2018
Contents
Classification
Name | GetDbDiagServiceAudienceStates |
Short Description | Gets all audience attribute names of the DbDiagService |
Class | Term |
Extension | OTX DiagDataBrowsingPlus extension |
Group | DbDiagService related terms |
Exceptions | NONE |
Checker Rules | - |
Standard Compliant | Yes |
OTL Syntax
ListTerm DiagDataBrowsingPlus.GetDbDiagServiceAudienceStates(DbDiagServiceTerm dbDiagService);
Description
GetDbDiagServiceAudienceStates returns a list of strings of all audience attribute names, whose are set to true for this DiagService in ODX. Valid names are "isAfterMarket", "isAfterSales", "isDevelopment", "isManufacturing", "isSupplier".
![]()
The appropriate MVCI system operation is MCDDbDataPrimitive::getAudienceState
Return Value
The Term returns the value, see table below.
![]()
In OTX, Terms are categorized according to its return data type!
Data Type | Description |
List | Returns a list of strings of all audience attribute names |
Properties
Name | Data Type | Class | Default | Cardinality | Description |
DbDiagService | DbDiagService | Term | - | [1..1] | The element addresses the DbDiagService whose audience states shall be returned. |
OTL Examples
/// Local Declarations
DiagCom.ComChannel ComChannel;
DiagCom.DiagService DiagService;
DiagDataBrowsingPlus.DbDiagService DbDiagService;
List<String> List_String;
/// Flow
ComChannel = DiagCom.GetComChannel("LL_GatewUDS", NULL, false);
DiagService = DiagCom.CreateDiagServiceByName(ComChannel, "DiagnServi_ReadDataByIdentActuaTestStatu");
DbDiagService = DiagDataBrowsingPlus.GetDiagServiceDbDiagService(DiagService);
List_String = DiagDataBrowsingPlus.GetDbDiagServiceAudienceStates(DbDiagService);
See also
GetComChannel
CreateDiagServiceByName
CreateDiagServiceBySemantic
GetDiagServiceDbDiagService
GetComChannelDbComChannel
GetDbComChannel
GetDbComChannelDbDiagServices