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...") |
|||
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|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); | |
</syntaxhighlight> | </syntaxhighlight> | ||
− | |||
== Description == | == Description == | ||
− | + | '''GetDbParameterAudienceStates''' returns a [[Core.DataTypes.ComplexDataType.ContainerDataType.List|list]] of strings of all Audiences (Valid names are "isAfterMarket", "isAfterSales", "isDevelopment", "isManufacturing", "isSupplier") which are true. | |
− | + | ||
− | {{ | + | {{Note|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 [[Extensions.DiagDataBrowsingPlus.DbParameter|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. | + | 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.GetRequest|GetRequest]] <br/> | |
+ | [[Extensions.DiagCom.GetParameterByPath|GetParameterByPath]]<br/> | ||
+ | [[Extensions.DiagDataBrowsingPlus.GetParameterDbParameter|GetParameterDbParameter]] |
Revision as of 08:09, 12 September 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);
Description
GetDbParameterAudienceStates returns a list of strings of all Audiences (Valid names are "isAfterMarket", "isAfterSales", "isDevelopment", "isManufacturing", "isSupplier") which are true.
![]()
NOTE — 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
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);