Difference between revisions of "Extensions.DiagDataBrowsingPlus.GetDbParameterAudienceStates"
Jump to navigation
Jump to search
(4 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| Gets the Audiences of the [[Extensions.DiagDataBrowsingPlus.DbParameter|DbParameter]] | [[Term]] | [[Extensions.DiagDataBrowsingPlus|OTX DiagDataBrowsingPlus extension]] | [[Extensions.DiagDataBrowsingPlus|DbParameter related terms]] | NONE | - }} | + | {{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 | + | ListTerm DiagDataBrowsingPlus.GetDbParameterAudienceStates(DbParameterTerm dbParameter); |
</syntaxhighlight> | </syntaxhighlight> | ||
Line 11: | Line 11: | ||
'''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. | '''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| | + | {{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.}} | {{TermReturnValue| [[Core.DataTypes.ComplexDataType.ContainerDataType.List|List]] | Returns the list of [[Core.DataTypes.SimpleDataType.String|strings]] of all Audiences.}} | ||
Line 18: | Line 18: | ||
{| {{TableHeader}} | {| {{TableHeader}} | ||
{{TableRowPropertiesHeader}} | {{TableRowPropertiesHeader}} | ||
− | {{TableRowPropertie2| | + | {{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;"> | ||
+ | /// Local Declarations | ||
+ | |||
DiagCom.Request Request; | DiagCom.Request Request; | ||
DiagCom.Parameter Parameter; | DiagCom.Parameter Parameter; |
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