Difference between revisions of "Extensions.DiagDataBrowsingPlus.GetDbParameterAudienceStates"

From emotive
Jump to navigation Jump to search
 
(One intermediate revision by the same user not shown)
Line 5: Line 5:
 
== OTL Syntax ==
 
== OTL Syntax ==
 
<syntaxhighlight lang="java" enclose="div" style="font-size: medium;">
 
<syntaxhighlight lang="java" enclose="div" style="font-size: medium;">
/// Local Declarations
+
ListTerm DiagDataBrowsingPlus.GetDbParameterAudienceStates(DbParameterTerm dbParameter);
List<String> ListVariable;
 
/// Flow
 
ListVariable = DiagDataBrowsingPlus.GetDbParameterAudienceStates(DbParameterTerm);
 
 
</syntaxhighlight>
 
</syntaxhighlight>
  
Line 14: 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}}
+
{{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 21: Line 18:
 
{| {{TableHeader}}
 
{| {{TableHeader}}
 
{{TableRowPropertiesHeader}}
 
{{TableRowPropertiesHeader}}
{{TableRowPropertie2| dbParameter | [[Extensions.DiagDataBrowsingPlus.DbParameter|DbParameter]] | [[Term]] | - | [1..1] |The element addresses the '''DbParameter''' (MCDDbTableParameter) which Audiences shall be returned.}}
+
{{TableRowPropertie2| DbParameter | [[Extensions.DiagDataBrowsingPlus.DbParameter|DbParameter]] | [[Term]] | - | [1..1] |The element addresses the '''DbParameter''' (MCDDbTableParameter) which Audiences shall be returned.}}
 
|}
 
|}
  

Latest revision as of 09:01, 2 November 2018

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.

Icons Note.png The appropriate MVCI system operation is MCDDbTableParameter::getAudienceState

Return Value

The Term returns the value, see table below.

Icons Note.png 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