機械翻訳について

getDfltObjAttrHints操作

この操作は、サービス・データ・オブジェクトのラベル、およびサービス定義の一部であるビジネス・オブジェクト属性の特定のロケールに対応するラベルとUIヒントを返します。

次の表は、getDfltObjAttrHints操作の戻り値に関する情報のリストです。

レベル キー
サービス・データ・オブジェクト LABEL オブジェクトの名前(単数形)
サービス・データ・オブジェクト LABEL_PLURAL オブジェクトの名前(複数形)
サービス・データ・オブジェクト属性 LABEL_ResId リソース・バンドルからキーを取得するための式

サービス・データ・オブジェクトの内部名をパラメータとして渡す必要があります。 これらの内部名を取得するには、そのサービスに対して定義されたgetEntityList操作を呼び出します。

操作のシグネチャ

getDfltObjAttrHints操作は、次の2つのパラメータを受け取ります。

  • viewName: サービス・データ・オブジェクトの内部名である、サービス・ビュー使用名に対応します。 getEntityList応答ペイロード内の<name>要素の値を指定します。

  • localeName: ロケールベースのUIヒントを評価します。 この値の形式はISO 639-1です。

getDfltObjAttrHints操作のシグネチャは次のとおりです。

<element name="getDfltObjAttrHints">
    <complexType>
        <sequence>
            <element name="viewName" type="string"/>
            <element name="localeName" type="string"/>
        </sequence>
    </complexType>
</element>

応答ペイロードには、オブジェクトのラベルとUIヒントとともに、オブジェクトの属性が名前と値のペアの形式で格納されます。 ObjAttrHints型の定義は、BC4JService.xsdのサンプルを参照してください。

<element name="getDfltObjAttrHintsResponse">
    <complexType>
        <sequence>
            <element name="result" type="ns0:ObjAttrHints"/>
        </sequence>
    </complexType>
</element>

この例は、営業リード・オブジェクトの使用名とenロケールを指定し、ラベルとUIヒントを要求する要求ペイロードを示しています。

<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
    <soap:Body>
        <ns1:getDfltObjAttrHints
xmlns:ns1="http://xmlns.oracle.com/apps/marketing/leadMgmt/leads/leadService/types/">
            <ns1:viewName>SalesLead</ns1:viewName>
            <ns1:localeName>en</ns1:localeName>
        </ns1:getDfltObjAttrHints>
    </soap:Body>
</soap:Envelope>

応答ペイロードには、サービス・データ・オブジェクト属性に関する情報が格納されます。 このペイロードの例では、オブジェクト・エンティティ・レベルと3つの属性レベルのヒントのみを示しています。

<ns0:getDfltObjAttrHintsResponse xmlns="" xmlns:env="http://schemas.xmlsoap.org/soap/envelope/" 
xmlns:ns0="http://xmlns.oracle.com/apps/marketing/leadMgmt/leads/leadService/types/" 
xmlns:wsa="http://www.w3.org/2005/08/addressing"
xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd">
    <ns1:result xmlns:ns0="http://xmlns.oracle.com/adf/svc/types/"
xmlns:ns1="http://xmlns.oracle.com/apps/marketing/leadMgmt/leads/leadService/types/"
xmlns:tns="http://xmlns.oracle.com/adf/svc/errors/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="ns0:ObjAttrHints">
        <ns0:objHint>
            <ns0:key>LABEL</ns0:key>
            <ns0:value>Sales Lead</ns0:value>
        </ns0:objHint>
        <ns0:objHint>
            <ns0:key>TOOLTIP</ns0:key>
            <ns0:value>The interest or the potential interest of prospects or existing customers in
            a product or service being sold.</ns0:value>
        </ns0:objHint>
        <ns0:objHint>
            <ns0:key>LABEL_PLURAL</ns0:key>
            <ns0:value>Sales Lead</ns0:value>
        </ns0:objHint>
        <ns0:attrHints>
            <ns0:attrName>LeadId</ns0:attrName>
            <ns0:ctrlHint>
                <ns0:key>fnd:GLOBALLY_UNIQUE</ns0:key>
                <ns0:value>true</ns0:value>
            </ns0:ctrlHint>
            <ns0:ctrlHint>
                <ns0:key>LABEL_ResId</ns0:key>
                <ns0:value>${adfBundle['oracle.apps.marketing.leadMgmt.leads.resource.
                MklLeadsAttrBundle']['ColAttr.Identifier.LeadIdentifier.MKLLMLEADS.LEADID']}
                </ns0:value>
            </ns0:ctrlHint>
            <ns0:ctrlHint>
                <ns0:key>ExtnEventActionProperty</ns0:key>
                <ns0:value>UpdateInFieldUpdate</ns0:value>
            </ns0:ctrlHint>
            <ns0:ctrlHint>
                <ns0:key>fnd:OSN_OBJECT_KEY</ns0:key>
                <ns0:value>true</ns0:value>
            </ns0:ctrlHint>
        </ns0:attrHints>
        <ns0:attrHints>
            <ns0:attrName>DealAmount</ns0:attrName>
            <ns0:ctrlHint>
                <ns0:key>LABEL_ResId</ns0:key>
                <ns0:value>${adfBundle['oracle.apps.marketing.leadMgmt.leads.resource.
                MklLeadsAttrBundle']['ColAttr.DealSize.LeadDealSize.MKLLMLEADS.DEALSIZE']}
                </ns0:value>
            </ns0:ctrlHint>
            <ns0:ctrlHint>
                <ns0:key>ExtnEventActionProperty</ns0:key>
                <ns0:value>UpdateInFieldUpdate</ns0:value>
            </ns0:ctrlHint>
            <ns0:ctrlHint>
                <ns0:key>fnd:OSN_ENABLED_ATTR</ns0:key>
                <ns0:value>true</ns0:value>
            </ns0:ctrlHint>
            <ns0:ctrlHint>
                <ns0:key>fnd:FND_AUDIT_ATTR_ENABLED</ns0:key>
                <ns0:value>true</ns0:value>
            </ns0:ctrlHint>
            <ns0:ctrlHint>
                <ns0:key>fnd:APPLCORE_SETID_LOOKUP_TYPE</ns0:key>
                <ns0:value>LEAD_TIMELINE</ns0:value>
            </ns0:ctrlHint>
        </ns0:attrHints>
        ...
    </ns1:result>
</ns0:getDfltObjAttrHintsResponse>

関連する操作

エンティティとその名前のリストを取得するには、getEntityList操作を使用した後、名前を要求パラメータとしてgetDfltObjAttrHints操作に渡します。

関連トピック
  • 標準のメタデータ操作
  • getServiceLastUpdateTime操作
  • getEntityList操作