Difference between revisions of "Extensions.DiagDataBrowsingPlus.GetDbParameterAudienceStates"
Jump to navigation
Jump to search
(Created page with "{{DISPLAYTITLE:OTX '''GetDbParameterAudienceStates'''}}Category:DiagDataBrowsingPlus == Classification == {{ClassificationActivity | GetDbParameterAudienceStates | UPDATIN...") |
|||
(8 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{DISPLAYTITLE:OTX '''GetDbParameterAudienceStates'''}}[[Category:DiagDataBrowsingPlus]] | {{DISPLAYTITLE:OTX '''GetDbParameterAudienceStates'''}}[[Category:DiagDataBrowsingPlus]] | ||
== Classification == | == Classification == | ||
− | {{ClassificationActivity | GetDbParameterAudienceStates | | + | {{ClassificationActivity | GetDbParameterAudienceStates| Gets the Audiences of the [[Extensions.DiagDataBrowsingPlus.DbParameter|DbParameter]] | [[Term]] | [[Extensions.DiagDataBrowsingPlus|OTX DiagDataBrowsingPlus extension]] | [[Extensions.DiagDataBrowsingPlus#Terms|DbParameter 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 DiagDataBrowsingPlus.GetDbParameterAudienceStates(DbParameterTerm dbParameter); | |
</syntaxhighlight> | </syntaxhighlight> | ||
− | |||
== Description == | == Description == | ||
− | + | '''GetDbParameterAudienceStates''' returns a [[Core.DataTypes.ComplexDataType.ContainerDataType.List|list]] of [[Core.DataTypes.SimpleDataType.String|strings]] of all Audiences (Valid names are "isAfterMarket", "isAfterSales", "isDevelopment", "isManufacturing", "isSupplier") which are true. | |
− | + | ||
− | {{ | + | {{Note|The appropriate MVCI system operation is MCDDbTableParameter::getAudienceState}} |
− | {{ | + | |
− | + | {{TermReturnValue| [[Core.DataTypes.ComplexDataType.ContainerDataType.List|List]] | Returns the list of [[Core.DataTypes.SimpleDataType.String|strings]] of all Audiences.}} | |
== Properties == | == Properties == | ||
− | |||
{| {{TableHeader}} | {| {{TableHeader}} | ||
{{TableRowPropertiesHeader}} | {{TableRowPropertiesHeader}} | ||
− | {{ | + | {{TableRowPropertie2| DbParameter | [[Extensions.DiagDataBrowsingPlus.DbParameter|DbParameter]] | [[Term]] | - | [1..1] |The element addresses the '''DbParameter''' (MCDDbTableParameter) which Audiences 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;"> | ||
− | DiagCom. | + | /// Local Declarations |
+ | |||
+ | DiagCom.Request Request; | ||
+ | DiagCom.Parameter Parameter; | ||
+ | DiagDataBrowsingPlus.DbParameter DbParameter; | ||
+ | List<String> List_String; | ||
− | + | /// Flow | |
− | + | Request = DiagCom.GetRequest(DiagCom.CreateDiagServiceByName(DiagCom.GetComChannel("LL_GatewUDS", "", false), "DiagnServi_ReadDataByIdentGatewCompoList")); | |
− | + | Parameter = DiagCom.GetParameterByPath(Request, {"Param_RecorDataIdent"}); | |
− | DiagCom. | + | DbParameter = DiagDataBrowsingPlus.GetParameterDbParameter(Parameter); |
+ | List_String = DiagDataBrowsingPlus.GetDbParameterAudienceStates(DbParameter); | ||
</syntaxhighlight> | </syntaxhighlight> | ||
− | |||
== See also == | == See also == | ||
− | + | [[Extensions.DiagCom.GetComChannel|GetComChannel]] <br/> | |
+ | [[Extensions.DiagCom.CreateDiagServiceByName|CreateDiagServiceByName]] <br/> | ||
+ | [[Extensions.DiagCom.ExecuteDiagService|ExecuteDiagService]] <br/> | ||
+ | [[Extensions.DiagCom.GetFirstResponse|GetFirstResponse]] <br/> | ||
+ | [[Extensions.DiagCom.GetRequest|GetRequest]] <br/> | ||
+ | [[Extensions.DiagCom.GetParameterByPath|GetParameterByPath]] <br/> | ||
+ | [[Extensions.DiagDataBrowsingPlus.GetParameterDbParameter|GetParameterDbParameter]] |
Latest revision as of 09:01, 2 November 2018
Contents
Classification
Name | GetDbParameterAudienceStates |
Short Description | Gets the Audiences of the DbParameter |
Class | Term |
Extension | OTX DiagDataBrowsingPlus extension |
Group | DbParameter related terms |
Exceptions | NONE |
Checker Rules | - |
Standard Compliant | Yes |
OTL Syntax
ListTerm DiagDataBrowsingPlus.GetDbParameterAudienceStates(DbParameterTerm dbParameter);
Description
GetDbParameterAudienceStates returns a list of strings of all Audiences (Valid names are "isAfterMarket", "isAfterSales", "isDevelopment", "isManufacturing", "isSupplier") which are true.
![]()
The appropriate MVCI system operation is MCDDbTableParameter::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 the list of strings of all Audiences. |
Properties
Name | Data Type | Class | Default | Cardinality | Description |
DbParameter | DbParameter | Term | - | [1..1] | The element addresses the DbParameter (MCDDbTableParameter) which Audiences shall be returned. |
OTL Examples
/// Local Declarations
DiagCom.Request Request;
DiagCom.Parameter Parameter;
DiagDataBrowsingPlus.DbParameter DbParameter;
List<String> List_String;
/// Flow
Request = DiagCom.GetRequest(DiagCom.CreateDiagServiceByName(DiagCom.GetComChannel("LL_GatewUDS", "", false), "DiagnServi_ReadDataByIdentGatewCompoList"));
Parameter = DiagCom.GetParameterByPath(Request, {"Param_RecorDataIdent"});
DbParameter = DiagDataBrowsingPlus.GetParameterDbParameter(Parameter);
List_String = DiagDataBrowsingPlus.GetDbParameterAudienceStates(DbParameter);
See also
GetComChannel
CreateDiagServiceByName
ExecuteDiagService
GetFirstResponse
GetRequest
GetParameterByPath
GetParameterDbParameter