ヘッダーをスキップ
Oracle® Fusion Middleware Oracle WebCenter Portal開発者ガイド
11g リリース1 (11.1.1.7.0)
B72084-02
  ドキュメント・ライブラリへ移動
ライブラリ
製品リストへ移動
製品
目次へ移動
目次
索引へ移動
索引

前
 
次
 

47 リスト・サービスの統合

この章では、リスト・サービスの概要と、リスト・サービスをFrameworkアプリケーションに統合する方法を説明します。次の項が含まれます:

47.1 リスト・サービスの概要

この項では、リスト・サービスの機能と要件の概要を説明します。次のサブセクションが含まれます:

47.1.1 リスト・サービスの理解

リスト・サービスを使用すると、実行時にリストを作成し、それらを公開してアプリケーション・ページ上に配置できます。実行時にリソース・カタログで使用可能なリスト・タスク・フローは設計時に作成できます。実行時、ユーザーはタスク・フローをカタログからページに追加し、そのタスク・フローを使用してリストを作成できます。

設計時にコード・スニペットをリソース・カタログに追加することによって、実行時に値が移入されたリストをカタログに追加し、アプリケーション・ページ上に配置できるようになります。

デフォルトでは、シード・ロールAdministratorが割り当てられたユーザーにのみ、リストの管理権限が付与されます。つまり、これらのユーザーは、実行時にリストを作成、編集および削除したり、リスト・データを編集したりできます。デフォルトの権限は、デプロイ時にjazn-data.xml内で変更するか、Enterprise ManagerまたはApplication Policy Managerを使用して変更できます。認可されたユーザーは、この権限を実行時にコンポーネント・レベルで変更できます(詳細は、第23章「コンポーザ・コンポーネントのデフォルトのセキュリティ動作の変更」を参照)。サポートされるのは、ロール・ベースの権限のみです。

47.1.2 リスト・サービスの実行時の処理

実行時、リスト・タスク・フローによって、リストの作成とリスト・データの追加に使用できるコントロールが提供されます。これらのコントロールの詳細は、『Oracle Fusion Middleware Oracle WebCenter Portal: Spacesユーザーズ・ガイド』のリストの作成と管理に関する項およびリスト・データの追加と作成に関する項を参照してください。


ヒント:

ユーザーが実行時にリストを使用できるようにするには、その操作を明示的にユーザーに許可する必要があります。詳細は、第47.2.3項「実行時のユーザーによるリストの使用の有効化」を参照してください。


47.2 リスト・サービスの基本構成

この項では、アプリケーションにリスト・サービスを追加するために必要な手順について説明します。次のサブセクションが含まれます:

47.2.1 リスト・サービスの接続の設定

リスト・サービスには、WEBCENTERスキーマがインストールされたデータベースへの接続が必要です。リスト・サービスは、すべてのリスト・データをデータベースに格納します。WEBCENTERスキーマがインストールされたデータベースへのデータベース接続の設定の詳細は、第7.2.2項「データベース接続の設定」を参照してください。


注意:

データベースとWEBCENTERスキーマのインストールの詳細は、『Oracle Fusion Middleware Oracle WebCenter Portalインストレーション・ガイド』を参照してください。


47.2.2 リスト・サービスの設計時の追加

この項では、リスト・サービスの基本的な統合について説明します。次のサブセクションが含まれます:

47.2.2.1 リスト・サービス・タスク・フロー

リスト・サービスにはリストという1つのタスクフローが含まれます(図47-1)。

図47-1 リスト・タスク・フローにレンダリングされたリスト

リスト・タスク・フローにレンダリングされたリスト
「図47-1 リスト・タスク・フローにレンダリングされたリスト」の説明

リスト・タスク・フローの詳細は、第47.1.2項「リスト・サービスの実行時の処理」を参照してください。

47.2.2.2 リスト・サービスをアプリケーションに追加する方法

リスト・タスク・フローをFrameworkアプリケーションに追加するには:

  1. 第7.2項「サービスを利用するためのフレームワーク・アプリケーションの準備」の手順に従い、アプリケーションでセキュリティを実装し、カスタマイズ可能な新しいページを作成します。

  2. リスト・タスク・フローの追加先となるJSFページを作成します。

  3. ページのセキュリティを構成します。

  4. リソース・パレットで、「カタログ」「WebCenter Portal - サービス・カタログ」「タスク・フロー」フォルダの順に開きます。

  5. 「リスト」タスク・フローをドラッグしてページ上にドロップし、コンテキスト・メニューから「リージョン」を選択します。

  6. ページを保存し、ブラウザで実行します。

47.2.3 実行時のユーザーによるリストの使用の有効化

デフォルトでは、アプリケーション管理者のみがリストを使用できます。ユーザーが実行時にリストを表示して使用するには、それらのユーザーに最低でも権限ListPermission:viewが明示的に付与されている必要があります。アプリケーション管理者は、実行時にロール・マネージャ・タスク・フローを通じてこの権限を付与できます。

たとえば管理者が、認証されたすべてのユーザーにリストへの表示アクセス権を付与するには、ロール・マネージャ・タスク・フローでロールAllUsersを作成し、authenticated-roleをメンバーとして追加した後、リストへの表示アクセス権を付与します。

リスト・サービスをアプリケーションに追加する場合は、ロール・マネージャ・タスク・フローも追加する必要があります。アプリケーションが「WebCenter Portal - Frameworkアプリケーション」テンプレートに基づいている場合、ロール・マネージャ・タスク・フローは「管理」ページの「セキュリティ」タブでデフォルトで使用可能です。実行時に次のURLを使用すると、このページに移動できます。

http://host:port/appcontxtroot/faces/admin

注意:

実行時にロール・マネージャを通じて作成および付与するロールと権限は、アプリケーションにパッケージ化されていないため、デプロイ後には提供されません。デプロイ後に、この項で説明したプロビジョニング手順を実行する必要があります。



関連項目:

ロール・マネージャ・タスク・フローの詳細は、第68.4項「ロール・マネージャ・タスク・フローの使用」を参照してください。


47.3 リソース・カタログへのリストの追加

適切に構成されている場合、リソース・カタログは実行時に移入されたリストを使用可能にするため、権限のあるユーザーは編集モードでそれらをページに追加できます。コンポーネントを既存のリソース・カタログに追加する手順またはカスタム・カタログを作成する手順は、第15章「リソース・カタログの作成と管理」で説明されています。この項では、リソース・カタログにリストを追加するために使用するコード・スニペットの例を示します(例47-1)。


注意:

大文字の値は、翻訳された文字列用のメッセージ・キーです。


例47-1 リソース・カタログにリストを追加するためのコード

<customFolder id="groupLists" visible="#{true}"
      factoryClass="oracle.webcenter.list.view.rc.ListServiceContextFactory">
   <attributes>
    <attribute value="LISTS_CUSTOM_FOLDER.TITLE" attributeId="Title"
      isKey="true"/>
    <attribute value="LISTS_CUSTOM_FOLDER.DESCRIPTION"
      attributeId="Description" isKey="true"/>
    <attribute value="LISTS_CUSTOM_FOLDER.KEYWORDS"
      attributeId="Subject" isKey="true"/>
    <attribute value="oracle.webcenter.list"
      attributeId="WEBCENTER_SERVICE_ID" isKey="false"/>
    <attribute value="/adf/webcenter/folderlists_qualifier.png"
      attributeId="IconURI"/>
   </attributes>
</customFolder>

47.4 リスト・サービスREST APIの使用

Oracle WebCenter Portalで提供されるREST APIを使用すると、提供されたタスク・フローを使用せずに、インタフェースを通じてリスト機能にアクセスできます。リスト・サービスREST APIを使用すると、次のアクションを実行できます。

この項では、リスト・サービスに関連付けられたREST APIについて説明します。次のサブセクションが含まれます:


関連項目:

REST APIの概要は、第53章「Oracle WebCenter Portal REST APIの使用」を参照してください。


47.4.1 リストのエントリ・ポイント

Spacesアプリケーションのスペースに含まれるリストのRESTエントリ・ポイントにアクセスするには、特定のスペースに移動して、そのスペース内のリストへのリンクを表示する必要があります。スペース内のどのリストに対しても、次のresourceTypeを持つリンク要素を探します。

urn:oracle:webcenter:space:lists

対応するhrefまたはtemplate要素によって、スペース内のリンクを取得するURIエントリ・ポイントが提供されます。


関連項目:

リソース索引の詳細は、第53.5.1項「リソース索引」を参照してください。

リソース・タイプの詳細は、第53.5.2.1項「リソース・タイプ」を参照してください。


47.4.2 リスト・リソース・タイプの分類

クライアントがエントリ・ポイントを識別すると、リソース・タイプの分類によりナビゲートして、必要な操作を実行できます。リスト・リソース・タイプの分類は、次のとおりです。

urn:oracle:webcenter:space:lists
urn:oracle:webcenter:space:list
   urn:oracle:webcenter:space:list:rows
   urn:oracle:webcenter:space:list:row
   urn:oracle:webcenter:space:list:columns
   urn:oracle:webcenter:space:list:column

47.4.3 リストのセキュリティに関する考慮事項

どのリストREST APIにアクセスする場合でも、RESTサービスにログインする必要があります。その後、基礎となるサービスによって権限が確認されます。


関連項目:

一般的なセキュリティに関する考慮事項については、第53.8項「WebCenter Portal REST APIのセキュリティに関する考慮事項」を参照してください。


47.4.4 リストのリソース・タイプ

この項では、各リソース・タイプについて知っておく必要があるすべての情報を提供します。次のサブセクションが含まれます:

47.4.4.1 urn:oracle:webcenter:space:lists

listsレスポンスでは、特定のスペース内のリストを取得する方法(GET)、およびリストをスペースに追加する方法(POST)が提供されます。この項には次のサブセクションが含まれます:

47.4.4.1.1 listsへのナビゲーション・パス

この項では、クライアントがハイパーメディアを経由してlistsリソースにアクセスする方法を示します。

urn:oracle:webcenter:resourceindex
   urn:oracle:webcenter:spaces
      urn:oracle:webcenter:space:resourceindex
         urn:oracle:webcenter:space:lists
47.4.4.1.2 listsでサポートされるメソッド

listsリソース・タイプでは、次のメソッドがサポートされます。

メソッド(lists): GET

このメソッドは、スペース内のリストを取得します。

  • リソースURI。例:

    http://host:port/rest/api/spaces/vs1/lists?q=name:equals:ProjectIssues&utoken=FKld8lalI3QRdi8TgQkOCGEzxL5x_w**
    
  • リクエスト本体: なし

  • リクエスト・ヘッダー: [Accept = application/xml | application/json]

  • リクエスト・パラメータ - startIndexitemsPerPageqprojection

    • 問合せ用のqパラメータの形式は'q=attribute:operator:value'です。例:

      'q=name:equals:ProjectIssues'
      
      • Stringsでサポートされる演算子: equalsnot.equalscontainsstarts.with

      • Datesでサポートされる演算子: equalsnot.equalsgreater.thangreater.than.or.equalsless.thanless.than.or.equals

      • 複数の条件をセミコロン(;)で区切って指定できます。

  • 検索可能な属性(表47-1)

    表47-1 listsのGETメソッドで検索可能な属性

    要素 タイプ 説明

    name

    string

    リストの名前

    description

    string

    リストの説明

    creator

    string

    リストを作成したユーザー

    created

    date

    リストが作成された日付

    modifier

    string

    リストを変更したユーザー

    modified

    date

    最後にリストが変更された日付


  • レスポンス・ステータス: 200 [OK]

  • レスポンス本文: <lists>

  • 例:

    <lists resourceType="urn:oracle:webcenter:space:lists">
       <links>
          <link resourceType="urn:oracle:webcenter:list:lists" 
             rel="self" href="opaque"/>
          <link template="opaque?startIndex={startIndex}&
             itemsPerPage={itemsPerPage}&q={searchTerms}&
             projection={projection}
             &stoken=FDgsOu7a2NTTM1cLJvnpkDXfihtHx5Q*"          resourceType="urn:oracle:webcenter:list:lists"/>
       </links>
       <items>
          <list resourceType="urn:oracle:webcenter:space:list">
             <links>
                <link resourceType="urn:oracle:webcenter:list" rel="self" 
                   href="opaque" 
                   capabilities="urn:oracle:webcenter:update 
                   urn:oracle:webcenter:delete"/>
                <link resourceType="urn:oracle:webcenter:list:rows" 
                   href="opaque" 
                   capabilities="urn:oracle:webcenter:create"/>
                <link template="opaque?
                   startIndex={startIndex}&
                   itemsPerPage={itemsPerPage}&q={searchTerms}&
                   stoken=FDgsOu7a2NTTM1cLJvnpkDXfihtHx5Q*" 
                   resourceType="urn:oracle:webcenter:list:rows"/>
                <link resourceType="urn:oracle:webcenter:list:columns" 
                   href="opaque"
                   capabilities="urn:oracle:webcenter:create"/>
             </links>
             <id>/oracle/webcenter/list/scopedMD/
                se0dea180_e2c1_45ac_b08b_
                ba2c0b26aa72/lists/ProjectIssues.xml</id>
             <name>Project Issues</name>
             <description/>
          </list>
       </items>
    </lists>
    

メソッド(lists): POST

このメソッドは、スペース内にリストを作成します。

  • リソースURI。例:

    http://host:port/rest/api/spaces/vs1/lists?utoken=FKld8lalI3QRdi8TgQkOCGEzxL5x_w**
    
  • リクエスト本文: <list>

  • 書込み可能要素(表47-2)

    表47-2 リスト作成の書込み可能要素

    要素 タイプ 制約 説明

    name脚注1  

    string

    -


    リストの名前

    description

    string

    -


    リストの説明

    columns脚注1 

    urn:oracle:webcenter:space:list:columns


    1から30

    リストの列


    脚注1  必須要素を示しています

  • 例:

    <list>
       <name>RestExample</name>
       <description>Created using rest api</description>
       <columns>
          <items>
             <metaColumn>
                <name>No.</name>
                <dataType>number</dataType>
             </metaColumn>
             <metaColumn>
                <name>Description</name>
                <dataType>string</dataType>
             </metaColumn>
          </items>
       </columns>
    </list>
    
  • リクエスト・ヘッダー: Content-Type = application/xml | application/json, [Accept = application/xml | application/json]

  • レスポンス・ステータス: 201 [Created]

  • レスポンス本文: <list>

  • 取得される要素(表47-3)

    表47-3 listsから取得される要素

    要素 タイプ 説明

    id

    string

    リストのID

    name

    string

    リストの名前

    description

    string

    リストの説明

    scope.guid

    string

    リストが属するスペースのGUID

    scope.name

    string

    リストが属するスペースの名前

    creator

    string

    リストを作成したユーザーの名前

    created

    date

    リストが作成された日付

    modifier

    string

    最後にリストを変更したユーザーの名前

    modified

    date

    最後にリストが変更された日付

    columns

    urn:oracle:webcenter:space:list:columns


    リストの列


  • 例:

    <list resourceType="urn:oracle:webcenter:space:list">
       <links>
          <link resourceType="urn:oracle:webcenter:space:list" rel="self" 
             href="http://host:port/rest/api/spaces/vs1/
             lists/(/oracle/webcenter/list/scopedMD/s355923f0_2f04_4fd0_
             83ad_f7dac2a7ceed/lists/ls_c9cecbc7_756b_417b_a35f_
             fb03874979c0.xml)?utoken=FKld8lalI3QRdi8TgQkOCGEzxL5x_w**" 
             capabilities="urn:oracle:webcenter:read 
             urn:oracle:webcenter:update urn:oracle:webcenter:delete"/>
          <link template="http://host:port
             /rest/api/spaces/vs1/lists/(/oracle/webcenter/list/scopedMD/
             s355923f0_2f04_4fd0_83ad_f7dac2a7ceed/lists/ls_c9cecbc7_756b_
             417b_a35f_fb03874979c0.xml)/rows?
             utoken=FKld8lalI3QRdi8TgQkOCGEzxL5x_
             w**&startIndex={startIndex}&itemsPerPage={itemsPerPage}
             &q={searchTerms}&utoken=FKld8lalI3QRdi8TgQkOCGEzxL5x_w**" 
             resourceType="urn:oracle:webcenter:space:list:rows" 
             href="http://host:port/rest/api/spaces/
             vs1/lists/(/oracle/webcenter/list/scopedMD/s355923f0_2f04_4fd0_
             83ad_f7dac2a7ceed/lists/ls_c9cecbc7_756b_417b_a35f_
             fb03874979c0.xml)/rows?utoken=FKld8lalI3QRdi8TgQkOCGEzxL5x_w**" 
             capabilities="urn:oracle:webcenter:read 
             urn:oracle:webcenter:create"/>
          <link resourceType="urn:oracle:webcenter:space:list:columns" 
             href="http://host:port/rest/api/spaces/
             vs1/lists/(/oracle/webcenter/list/scopedMD/s355923f0_2f04_4fd0_
             83ad_f7dac2a7ceed/lists/ls_c9cecbc7_756b_417b_a35f_
             fb03874979c0.xml)/columns?utoken=FKld8lalI3QRdi8TgQkOCGEzxL5x_
             w**" capabilities="urn:oracle:webcenter:read 
             urn:oracle:webcenter:create"/>
       </links>
       <id>/oracle/webcenter/list/scopedMD/s355923f0_2f04_4fd0_83ad_
          f7dac2a7ceed/lists/ls_c9cecbc7_756b_417b_a35f_fb03874979c0.xml</id>
       <name>RestExample</name>
       <description>Created using rest api</description>
       <scope>
          <guid>s355923f0_2f04_4fd0_83ad_f7dac2a7ceed</guid>
          <name>vs1</name>
       </scope>
       <creator>weblogic</creator>
       <author>
          <links>
             <link resourceType="urn:oracle:webcenter:people:person" 
                rel="via" href="http://host:port/
                rest/api/people/E9A35E80F0BC11DFBFBE0FE339E55B21/lists/
                @self?utoken=FKld8lalI3QRdi8TgQkOCGEzxL5x_w**" 
                capabilities="urn:oracle:webcenter:read"/>
             <link type="image/png" 
                template="http://host:port/
                webcenter/profilephoto/45394133354538304630424
                33131444642464245304645333339453535423231/{size}?
                _xResourceMethod=wsrp" 
                resourceType="urn:oracle:webcenter:people:person" 
                rel="urn:oracle:webcenter:people:icon" 
                href="http://host:port/webcenter/
                profilephoto/4539413335453830463042433131444642464245304645
                333339453535423231/SMALL?_xResourceMethod=wsrp" 
                capabilities="urn:oracle:webcenter:read"/>
             <link type="text/html"
                resourceType="urn:oracle:webcenter:spaces:profile" 
                rel="alternate" href="http://host:port/
                webcenter/faces/oracle/webcenter/webcenterapp/view/pages/
                peopleconn/UserProfileGallery.jspx?wc.username=weblogic" 
                capabilities="urn:oracle:webcenter:read"/>
          </links>
          <displayName>weblogic</displayName>
          <guid>E9A35E80F0BC11DFBFBE0FE339E55B21</guid>
          <id>weblogic</id>
       </author>
       <created>2010-11-18T06:10:32.250-08:00</created>
       <modifier>weblogic</modifier>
       <modifiedByUser>
          <displayName>weblogic</displayName>
          <guid>E9A35E80F0BC11DFBFBE0FE339E55B21</guid>
          <id>weblogic</id>
       </modifiedByUser>
       <modified>2010-11-18T06:10:32.250-08:00</modified>
       <columns resourceType="urn:oracle:webcenter:space:list:columns">
          <links>
             <link resourceType="urn:oracle:webcenter:space:list:columns" 
                rel="self" 
                href="http://host:port/rest/api/spaces
                /vs1/lists/(/oracle/webcenter/list/scopedMD/
                s355923f0_2f04_4fd0_83ad_
                f7dac2a7ceed/lists/ls_c9cecbc7_756b_417b_a35f_
                fb03874979c0.xml)/columns?utoken=
                FKld8lalI3QRdi8TgQkOCGEzxL5x_w**" 
                capabilities="urn:oracle:webcenter:read 
                urn:oracle:webcenter:create"/>
             <link resourceType="urn:oracle:webcenter:space:list"
                rel="urn:oracle:webcenter:parent" 
                href="http://host:port/
                rest/api/spaces/vs1/lists/(/oracle/webcenter/list/scopedMD/
                s355923f0_2f04_4fd0_83ad_f7dac2a7ceed/lists/
                ls_c9cecbc7_756b_417b_a35f_fb03874979c0.xml)?
                utoken=FKld8lalI3QRdi8TgQkOCGEzxL5x_w**"/>
             </links>
             <items>
                <metaColumn resourceType=
                   "urn:oracle:webcenter:space:list:column">
                   <links>
                      <link resourceType="urn:oracle:webcenter:space:
                         list:column" rel="self 
                         "href="http://host:port/
                         rest/api/spaces/vs1/lists/
                         (/oracle/webcenter/list/scopedMD/
                         s355923f0_2f04_4fd0_83ad_f7dac2a7ceed/
                         lists/ls_c9cecbc7_756b_417b_a35f_
                         fb03874979c0.xml)/columns/
                         (lco_9bdd1418_6004_40ba_a052_04e8335b7ee8)?
                         utoken=FKld8lalI3QRdi8TgQkOCGEzxL5x_w**" 
                         capabilities="urn:oracle:webcenter:read 
                         urn:oracle:webcenter:update 
                         urn:oracle:webcenter:delete"/>
                   </links>
                   <id>lco_9bdd1418_6004_40ba_a052_04e8335b7ee8</id>
                   <name>No.</name>
                   <dataType>number</dataType>
                   <required>false</required>
                   <displayLength>10</displayLength>
                   <format>number</format>
                   <allowLinks>false</allowLinks>
                </metaColumn>
                <metaColumn resourceType=
                   "urn:oracle:webcenter:space:list:column">
                   <links>
                      <link resourceType=
                         "urn:oracle:webcenter:space:list:column" 
                         rel="self"
                         href="http://host:port/
                         rest/api/spaces/vs1/lists/(/oracle/
                         webcenter/list/scopedMD/
                         s355923f0_2f04_4fd0_83ad_
                         f7dac2a7ceed/lists/ls_c9cecbc7_756b_
                         417b_a35f_fb03874979c0.xml)/columns/
                         (lco_3a31fd20_24f1_4422_99fd_c00d7bed4b24)?
                         utoken=FKld8lalI3QRdi8TgQkOCGEzxL5x_w**" 
                         capabilities="urn:oracle:webcenter:read 
                         urn:oracle:webcenter:update
                         urn:oracle:webcenter:delete"/>
                </links>
                <id>lco_3a31fd20_24f1_4422_99fd_c00d7bed4b24</id>
                <name>Description</name>
                <dataType>string</dataType>
                <required>false</required>
                <maxLength>500</maxLength>
                <displayLength>20</displayLength>
                <allowLinks>false</allowLinks>
                <editLines>1</editLines>
             </metaColumn>
          </items>
       </columns>
    </list>
    
47.4.4.1.3 listsからリンクされるリソース・タイプ

表47-4は、クライアントがlistsリソースからリンクできるリソース・タイプをリストしています。

表47-4 listsからリンクされるリソース・タイプ

rel リソース・タイプ

self

urn:oracle:webcenter:space:lists


urn:oracle:webcenter:space:list



47.4.4.2 urn:oracle:webcenter:space:list

listレスポンスでは、個々のリストを取得、更新および削除する方法が提供されます。この項には次のサブセクションが含まれます:

47.4.4.2.1 listへのナビゲーション・パス

この項では、クライアントがハイパーメディアを経由してlistリソースにアクセスする方法を示します。

urn:oracle:webcenter:resourceindex 
   urn:oracle:webcenter:spaces 
      urn:oracle:webcenter:space:resourceindex 
         urn:oracle:webcenter:space:lists 
            urn:oracle:webcenter:space:list 
47.4.4.2.2 listでサポートされるメソッド

listリソース・タイプでは、次のメソッドがサポートされます。

メソッド(list): GET

リストを取得するには、このメソッドを使用します。

  • リソースURI。例:

    http://host:port/rest/api/spaces/vs1/lists/(/oracle/webcenter/list/scopedMD/s355923f0_2f04_4fd0_83ad_f7dac2a7ceed/lists/ls_bb806754_0652_4d49_9354_5fb62dc3514d.xml)?utoken=FKld8lalI3QRdi8TgQkOCGEzxL5x_w**
    
  • リクエスト本体: なし

  • リクエスト・ヘッダー: [Accept = application/xml | application/json]

  • レスポンス・ステータス: 200 [OK]

  • レスポンス本文: <list>

  • 取得される要素(表47-5)

    表47-5 listで取得される要素

    要素 タイプ 説明

    id

    string

    リストのID

    name

    string

    リストの名前

    description

    string

    リストの説明

    scope.guid

    string

    リストが属するスペースのGUID

    scope.name

    string

    リストが属するスペースの名前

    creator

    string

    リストを作成したユーザー

    created

    日付

    リストが作成された日付

    modifier

    string

    最後にリストを変更したユーザー

    modified

    日付

    リストが最後に変更された日付

    columns

    urn:oracle:webcenter:space:list:columns


    リストを構成する列


  • 例:

    <list resourceType="urn:oracle:webcenter:space:list">
       <links>
          <link resourceType="urn:oracle:webcenter:space:list" rel="self" 
             href="http://host:port/rest/api/spaces/vs1/
             lists/(/oracle/webcenter/list/scopedMD/s355923f0_2f04_4fd0_83ad_
             f7dac2a7ceed/lists/ls_c9cecbc7_756b_417b_a35f_
             fb03874979c0.xml)?utoken=FKld8lalI3QRdi8TgQkOCGEzxL5x_w**" 
             capabilities="urn:oracle:webcenter:read 
             urn:oracle:webcenter:update 
             urn:oracle:webcenter:delete"/>
          <link template="http://host:port
             /rest/api/spaces/vs1/lists/(/oracle/webcenter/list/scopedMD/
             s355923f0_2f04_4fd0_83ad_f7dac2a7ceed/lists/ls_c9cecbc7_756b_
             417b_a35f_fb03874979c0.xml)/rows?
             utoken=FKld8lalI3QRdi8TgQkOCGEzxL5x_w**&
             startIndex={startIndex}&itemsPerPage={itemsPerPage}&q=
             {searchTerms}&utoken=FKld8lalI3QRdi8TgQkOCGEzxL5x_w**"
             resourceType="urn:oracle:webcenter:space:list:rows" 
             href="http://host:port/rest/api/
             spaces/vs1/lists/(/oracle/webcenter/list/scopedMD/s355923f0_
             2f04_4fd0_83ad_f7dac2a7ceed/lists/ls_c9cecbc7_756b_417b_a35f_
             fb03874979c0.xml)/rows?utoken=FKld8lalI3QRdi8TgQkOCGEzxL5x_w**" 
             capabilities="urn:oracle:webcenter:read 
             urn:oracle:webcenter:create"/>
          <link resourceType="urn:oracle:webcenter:space:list:columns" 
             href="http://host:port/rest/api/spaces/
             vs1/lists/(/oracle/webcenter/list/scopedMD/s355923f0_2f04_4fd0_
             83ad_f7dac2a7ceed/lists/ls_c9cecbc7_756b_417b_a35f_
             fb03874979c0.xml)/columns?utoken=FKld8lalI3QRdi8TgQkOCGEzxL5x_
             w**" capabilities="urn:oracle:webcenter:read 
             urn:oracle:webcenter:create"/>
       </links>
       <id>/oracle/webcenter/list/scopedMD/s355923f0_2f04_4fd0_83ad_
          f7dac2a7ceed/lists/ls_c9cecbc7_756b_417b_a35f_fb03874979c0.xml</id>
       <name>RestExample</name>
       <description>Created using rest api</description>
       <scope>
          <guid>s355923f0_2f04_4fd0_83ad_f7dac2a7ceed</guid>
          <name>vs1</name>
       </scope>
       <creator>weblogic</creator>
       <author>
          <links>
             <link resourceType="urn:oracle:webcenter:people:person" 
                rel="via" href="http://host:port/
                rest/api/people/E9A35E80F0BC11DFBFBE0FE339E55B21/lists/
                @self?utoken=FKld8lalI3QRdi8TgQkOCGEzxL5x_w**"
                capabilities="urn:oracle:webcenter:read"/>
             <link type="image/png"
                template="http://host:port/
                webcenter/profilephoto/4539413335453830463042433131444
                642464245304645333339453535423231/{size}?
                _xResourceMethod=wsrp" 
                resourceType="urn:oracle:webcenter:people:person" 
                rel="urn:oracle:webcenter:people:icon" 
                href="http://host:port/
                webcenter/profilephoto/4539413335453830463042433131444
                642464245304645333339453535423231/SMALL?
                _xResourceMethod=wsrp" 
                capabilities="urn:oracle:webcenter:read"/>
             <link type="text/html" 
                resourceType="urn:oracle:webcenter:spaces:profile" 
                rel="alternate" href="http://host:port/
                webcenter/faces/oracle/webcenter/webcenterapp/view/pages/
                peopleconn/UserProfileGallery.jspx?wc.username=weblogic" 
                capabilities="urn:oracle:webcenter:read"/>
          </links>
          <displayName>weblogic</displayName>
          <guid>E9A35E80F0BC11DFBFBE0FE339E55B21</guid>
          <id>weblogic</id>
       </author>
       <created>2010-11-18T06:10:32.250-08:00</created>
       <modifier>weblogic</modifier>
       <modifiedByUser>
          <displayName>weblogic</displayName>
          <guid>E9A35E80F0BC11DFBFBE0FE339E55B21</guid>
          <id>weblogic</id>
       </modifiedByUser>
       <modified>2010-11-18T06:10:32.250-08:00</modified>
       <columns resourceType="urn:oracle:webcenter:space:list:columns">
          <links>
             <link resourceType="urn:oracle:webcenter:space:list:columns" 
                rel="self" href="http://host:port/
                rest/api/spaces/vs1/lists/(/oracle/webcenter/list/scopedMD/
                s355923f0_2f04_4fd0_83ad_f7dac2a7ceed/lists/ls_c9cecbc7_
                756b_417b_a35f_fb03874979c0.xml)/
                columns?utoken=FKld8lalI3QRdi8TgQkOCGEzxL5x_w**" 
                capabilities="urn:oracle:webcenter:read 
                urn:oracle:webcenter:create"/>
             <link resourceType="urn:oracle:webcenter:space:list" 
                rel="urn:oracle:webcenter:parent" 
                href="http://host:port/rest/api/spaces/
                vs1/lists/(/oracle/webcenter/list/scopedMD/s355923f0_2f04_
                4fd0_83ad_f7dac2a7ceed/lists/ls_c9cecbc7_756b_417b_a35f_
                fb03874979c0.xml)?utoken=
                FKld8lalI3QRdi8TgQkOCGEzxL5x_w**"/>
          </links>
          <items>
             <metaColumn resourceType=
                "urn:oracle:webcenter:space:list:column">
                <links>
                   <link resourceType=
                      "urn:oracle:webcenter:space:list:column" 
                      rel="self" 
                       href="http://host:port/
                      rest/api/spaces/vs1/lists/(/oracle/webcenter/
                      list/scopedMD/s355923f0_2f04_4fd0_83ad_
                      f7dac2a7ceed/lists/ls_c9cecbc7_
                      756b_417b_a35f_fb03874979c0.xml)/columns/(lco_
                      9bdd1418_6004_40ba_a052_04e8335b7ee8)?
                      utoken=FKld8lalI3QRdi8TgQkOCGEzxL5x_w**" 
                      capabilities="urn:oracle:webcenter:read 
                      urn:oracle:webcenter:update 
                      urn:oracle:webcenter:delete"/>
                </links>
                <id>lco_9bdd1418_6004_40ba_a052_04e8335b7ee8</id>
                <name>No.</name>
                <dataType>number</dataType>
                <required>false</required>
                <displayLength>10</displayLength>
                <format>number</format>
                <allowLinks>false</allowLinks>
             </metaColumn>
             <metaColumn resourceType=
                "urn:oracle:webcenter:space:list:column">
                <links>
                   <link resourceType=
                      "urn:oracle:webcenter:space:list:column" 
                      rel="self" 
                      href="http://host:port
                      /rest/api/spaces/vs1/lists/(/oracle/webcenter/
                      list/scopedMD/s355923f0_2f04_4fd0_83ad_
                      f7dac2a7ceed/lists/ls_c9cecbc7_756b_417b_a35f_
                      fb03874979c0.xml)/columns/(lco_3a31fd20_24f1_
                      4422_99fd_c00d7bed4b24)?
                      utoken=FKld8lalI3QRdi8TgQkOCGEzxL5x_w**" 
                      capabilities="urn:oracle:webcenter:read
                      urn:oracle:webcenter:update                   urn:oracle:webcenter:delete"/>
                </links>
                <id>lco_3a31fd20_24f1_4422_99fd_c00d7bed4b24</id>
                <name>Description</name>
                <dataType>string</dataType>
                <required>false</required>
                <maxLength>500</maxLength>
                <displayLength>20</displayLength>
                <allowLinks>false</allowLinks>
                <editLines>1</editLines>
             </metaColumn>
          </items>
       </columns>
    </list>
    

メソッド(list): PUT

リストの名前または説明を更新するには、このメソッドを使用します。

  • リソースURI。例:

    http://host:port/rest/api/spaces/vs1/lists/(/oracle/webcenter/list/scopedMD/s355923f0_2f04_4fd0_83ad_f7dac2a7ceed/lists/ls_bb806754_0652_4d49_9354_5fb62dc3514d.xml)?utoken=FKld8lalI3QRdi8TgQkOCGEzxL5x_w**
    
  • リクエスト本文: <list>

  • listの書込み可能要素(表47-6)

    表47-6 listの書込み可能要素

    要素 タイプ 必須 制約 説明

    name脚注1  

    string

    はい

    1文字以上の文字

    このリストの名前

    description

    string

    いいえ

    なし

    このリストの説明


    脚注1  必須要素を示しています

  • 例:

    <list>
       <name>RestExampleUpdate</name>
       <description>Updated using rest api</description>
    </list>
    
  • リクエスト・ヘッダー: Content-Type = application/xml | application/json, [Accept = application/xml | application/json]

  • レスポンス・ステータス: 200 [OK]

  • レスポンス本文: <list>

メソッド(list): DELETE

リストを削除するには、このメソッドを使用します。

  • リソースURI。例:

    http://host:port/rest/api/spaces/vs1/lists/(/oracle/webcenter/list/scopedMD/s355923f0_2f04_4fd0_83ad_f7dac2a7ceed/lists/ls_bb806754_0652_4d49_9354_5fb62dc3514d.xml)?utoken=FKld8lalI3QRdi8TgQkOCGEzxL5x_w**
    
  • リクエスト本体: なし

  • レスポンス・ステータス: 204 [No Content]

  • レスポンス本体: なし

47.4.4.2.3 listからリンクされるリソース・タイプ

表47-7は、クライアントがlistリソースからリンクできるリソース・タイプを示しています。

表47-7 listからリンクされるリソース・タイプ

rel リソース・タイプ

self

urn:oracle:webcenter:space:list


urn:oracle:webcenter:space:list:rows



urn:oracle:webcenter:space:list:columns



47.4.4.3 urn:oracle:webcenter:space:list:rows

rowsレスポンスでは、列をリストから取得またはリストに追加する方法が提供されます。この項には次のサブセクションが含まれます:

47.4.4.3.1 rowsへのナビゲーション・パス

この項では、クライアントがハイパーメディアを経由してrowsリソースにアクセスする方法を示します。

urn:oracle:webcenter:resourceindex
   urn:oracle:webcenter:spaces
      urn:oracle:webcenter:space:resourceindex
         urn:oracle:webcenter:space:lists
            urn:oracle:webcenter:space:list
               urn:oracle:webcenter:space:list:rows
47.4.4.3.2 rowsでサポートされるメソッド

rowsリソース・タイプでは、次のメソッドがサポートされます。

メソッド(rows): GET

リスト行を取得するには、このメソッドを使用します。

  • リソースURI。例:

    http://host:port/rest/api/spaces/vs1/lists/(/oracle/webcenter/list/scopedMD/s355923f0_2f04_4fd0_83ad_f7dac2a7ceed/lists/ls_bb806754_0652_4d49_9354_5fb62dc3514d.xml)/rows?q=lco_9bdd1418_6004_40ba_a052_04e8335b7ee8:equals:2&utoken=FKld8lalI3QRdi8TgQkOCGEzxL5x_w**
    
  • リクエスト本体: なし

  • リクエスト・ヘッダー: [Accept = application/xml | application/json]

  • リクエスト・パラメータ - startIndexitemsPerPageqprojection

    • 問合せ用のqパラメータの形式は'q=columnId:operator:value'です。例:

      'q=lco_9bdd1418_6004_40ba_a052_04e8335b7ee8:equals:2'
      
      • Stringsでサポートされる演算子: equalsnot.equalscontainsstarts.with

      • NumbersDatesでサポートされる演算子: equalsnot.equalsgreater.thangreater.than.or.equalsless.thanless.than.or.equals

      • 複数の条件をセミコロン(;)で区切って指定できます。

  • rowsで検索可能な属性: 行は列の値で検索可能です。

  • レスポンス・ステータス: 200 [OK]

  • レスポンス本文: <rows>

  • 例:

    <rows resourceType="urn:oracle:webcenter:space:list:rows">
       <links>
          <link template="http://host:port/
             rest/api/spaces/vs1/lists/(/oracle/webcenter/list/
             scopedMD/s355923f0_2f04_4fd0_83ad_f7dac2a7ceed/lists/ls_
             c9cecbc7_756b_417b_a35f_fb03874979c0.xml)/rows?
             utoken=FKld8lalI3QRdi8TgQkOCGEzxL5x_w**&
             startIndex={startIndex}&itemsPerPage={itemsPerPage}&
             q={searchTerms}&utoken=FKld8lalI3QRdi8TgQkOCGEzxL5x_w**" 
             resourceType="urn:oracle:webcenter:space:list:rows" rel="self" 
             href="http://host:port/rest/api/spaces/
             vs1/lists/(/oracle/webcenter/list/scopedMD/s355923f0_2f04_4fd0_
             83ad_f7dac2a7ceed/lists/ls_c9cecbc7_756b_417b_a35f_
             fb03874979c0.xml)/rows?utoken=FKld8lalI3QRdi8TgQkOCGEzxL5x_w**" 
             capabilities="urn:oracle:webcenter:read 
             urn:oracle:webcenter:create"/>
          <link resourceType="urn:oracle:webcenter:space:list" 
             rel="urn:oracle:webcenter:parent" 
             href="http://host:port/rest/api/spaces/
             vs1/lists/(/oracle/webcenter/list/scopedMD/s355923f0_2f04_4fd0_
             83ad_f7dac2a7ceed/lists/ls_c9cecbc7_756b_417b_a35f_
             fb03874979c0.xml)?utoken=FKld8lalI3QRdi8TgQkOCGEzxL5x_w**"/>
       </links>
       <itemsPerPage>1</itemsPerPage>
       <startIndex>0</startIndex>
       <items>
          <row resourceType="urn:oracle:webcenter:space:list:row">
             <links>
                <link resourceType="urn:oracle:webcenter:space:list:row" 
                   rel="self" href="http://host:port/
                   rest/api/spaces/vs1/lists/(/oracle/webcenter/list/
                   scopedMD/s355923f0_2f04_4fd0_83ad_
                   f7dac2a7ceed/lists/ls_c9cecbc7_756b_417b_a35f_
                   fb03874979c0.xml)/rows/(lr_a14d427f_8515_4c82_956f_
                   a60e6e08668c)?utoken=FKld8lalI3QRdi8TgQkOCGEzxL5x_w**" 
                   capabilities="urn:oracle:webcenter:read 
                   urn:oracle:webcenter:update 
                   urn:oracle:webcenter:delete"/>
             </links>
             <id>lr_a14d427f_8515_4c82_956f_a60e6e08668c</id>
             <listId>/oracle/webcenter/list/scopedMD/s355923f0_2f04_4fd0_
                83ad_f7dac2a7ceed/lists/ls_c9cecbc7_756b_417b_a35f_
                fb03874979c0.xml</listId>
             <scope>s355923f0_2f04_4fd0_83ad_f7dac2a7ceed</scope>
             <creator>weblogic</creator>
             <author>
                <links>
                   <link resourceType=
                      "urn:oracle:webcenter:people:person" 
                      rel="via" 
                      href="http://host:port/
                      rest/api/people/E9A35E80F0BC11DFBFBE0FE339E55B21/
                      lists/@self?utoken=FKld8lalI3QRdi8TgQkOCGEzxL5x_
                      w**" capabilities="urn:oracle:webcenter:read"/>
                   <link type="image/png" 
                      template="http://host:port/
                      webcenter/profilephoto/45394133354538304630424
                      33131444642464245304645333339453535423231/
                      {size}?_xResourceMethod=wsrp" 
                      resourceType="urn:oracle:webcenter:people:person" 
                      rel="urn:oracle:webcenter:people:icon" 
                      href="http://host:port/
                      webcenter/profilephoto/45394133354538304630424
                      33131444642464245304645333339453535423231/SMALL?
                      _xResourceMethod=wsrp" 
                      capabilities="urn:oracle:webcenter:read"/>
                   <link type="text/html" 
                      resourceType="urn:oracle:webcenter:spaces:
                      profile" rel="alternate" 
                      href="http://host:port/
                      webcenter/faces/oracle/webcenter/webcenterapp/
                      view/pages/peopleconn/UserProfileGallery.jspx?
                      wc.username=weblogic" 
                      capabilities="urn:oracle:webcenter:read"/>
                </links>
                <displayName>weblogic</displayName>
                <guid>E9A35E80F0BC11DFBFBE0FE339E55B21</guid>
                <id>weblogic</id>
             </author>
             <created>2010-11-18T07:12:06.599-08:00</created>
             <modifier>weblogic</modifier>
             <modifiedByUser>
                <links>
                   <link resourceType=
                      "urn:oracle:webcenter:people:person" rel="via" 
                      href="http://host:port/rest/
                      api/people/E9A35E80F0BC11DFBFBE0FE339E55B21/lists
                      /@self?utoken=FKld8lalI3QRdi8TgQkOCGEzxL5x_w**" 
                      capabilities="urn:oracle:webcenter:read"/>
                   <link type="image/png" 
                      template="http://host:port/
                      webcenter/profilephoto/45394133354538304630424
                      33131444642464245304645333339453535423231/
                      {size}?_xResourceMethod=wsrp" 
                      resourceType="urn:oracle:webcenter:people:person" 
                      rel="urn:oracle:webcenter:people:icon" 
                      href="http://host:port/
                      webcenter/profilephoto/45394133354538304630424
                      33131444642464245304645333339453535423231/SMALL?
                      _xResourceMethod=wsrp" 
                      capabilities="urn:oracle:webcenter:read"/>
                   <link type="text/html" 
                      resourceType="urn:oracle:webcenter:spaces:
                      profile" rel="alternate" 
                      href="http://host:port/
                      webcenter/faces/oracle/webcenter/webcenterapp/
                      view/pages/peopleconn/UserProfileGallery.jspx?
                      wc.username=weblogic" 
                      capabilities="urn:oracle:webcenter:read"/>
                </links>
                <displayName>weblogic</displayName>
                <guid>E9A35E80F0BC11DFBFBE0FE339E55B21</guid>
                <id>weblogic</id>
             </modifiedByUser>
             <modified>2010-11-18T07:12:06.599-08:00</modified>
             <columns>
                <column>
                   <id>lco_9bdd1418_6004_40ba_a052_04e8335b7ee8</id>
                   <name>No.</name>
                   <value>1.0</value>
                </column>
                <column>
                   <id>lco_3a31fd20_24f1_4422_99fd_c00d7bed4b24</id>
                   <name>Description</name>
                   <value>test</value>
                </column>
             </columns>
          </row>
       </items>
    </rows>
    

メソッド(rows): POST

リスト内に行を作成するには、このメソッドを使用します。

  • リソースURI。例:

    http://host:port/rest/api/spaces/vs1/lists/(/oracle/webcenter/list/scopedMD/s355923f0_2f04_4fd0_83ad_f7dac2a7ceed/lists/ls_bb806754_0652_4d49_9354_5fb62dc3514d.xml)/rows?utoken=FKld8lalI3QRdi8TgQkOCGEzxL5x_w**
    
  • リクエスト本文: <row>

  • 書込み可能要素(表47-8)

    表47-8 rowの書込み可能要素

    要素 タイプ 制約 説明

    columns.column.id脚注1  

    string

    -


    列のID

    columns.column.value脚注1 

    string

    列のデータ型として有効な値

    列の値


    脚注1  必須要素を示しています

  • 例:

    <row>
       <columns>
          <column>
             <id>lco_9bdd1418_6004_40ba_a052_04e8335b7ee8</id>
             <value>1</value>
          </column>
          <column>
             <id>lco_3a31fd20_24f1_4422_99fd_c00d7bed4b24</id>
             <value>test</value>
          </column>
       </columns>
    </row>
    
  • リクエスト・ヘッダー: Content-Type = application/xml | application/json, [Accept = application/xml | application/json]

  • レスポンス・ステータス: 201 [Created]

  • レスポンス本文: <row>

  • 取得される要素(表47-9)

    表47-9 rowsで取得される要素

    要素 タイプ 説明

    id

    string

    行のID

    list id

    string

    リストのID

    scope

    string

    リストが属するスペースのGUID

    creator

    string

    リストを作成したユーザー

    created

    date

    リストが作成された日付

    modifier

    string

    最後にリストを変更したユーザー

    modified

    date

    最後にリストが変更された日付

    columns

    -


    列の値


  • 例:

    <row resourceType="urn:oracle:webcenter:space:list:row">
       <links>
          <link resourceType="urn:oracle:webcenter:space:list:row" rel="self" 
             href="http://host:port/rest/api/spaces/vs1/
             lists/(/oracle/webcenter/list/scopedMD/s355923f0_2f04_4fd0_83ad_
             f7dac2a7ceed/lists/ls_bb806754_0652_4d49_9354_
             5fb62dc3514d.xml)/rows/(lr_4cc07327_49cb_4cd5_a270_
             182ddcc8db4a)?utoken=FKld8lalI3QRdi8TgQkOCGEzxL5x_w**" 
             capabilities="urn:oracle:webcenter:read 
             urn:oracle:webcenter:update urn:oracle:webcenter:delete"/>
       </links>
       <id>lr_4cc07327_49cb_4cd5_a270_182ddcc8db4a</id>
       <listId>/oracle/webcenter/list/scopedMD/s355923f0_2f04_4fd0_83ad_
          f7dac2a7ceed/lists/ls_bb806754_0652_4d49_9354_
          5fb62dc3514d.xml</listId>
       <scope>s355923f0_2f04_4fd0_83ad_f7dac2a7ceed</scope>
       <creator>weblogic</creator>
       <author>
          <links>
             <link resourceType="urn:oracle:webcenter:people:person" 
                rel="via" href="http://host:port
                /rest/api/people/E9A35E80F0BC11DFBFBE0FE339E55B21/lists/
                @self?utoken=FKld8lalI3QRdi8TgQkOCGEzxL5x_w**" 
                capabilities="urn:oracle:webcenter:read"/>
             <link type="image/png" 
                template="http://host:port/
                webcenter/profilephoto/4539413335453830463042433131
                444642464245304645333339453535423231/{size}?
                _xResourceMethod=wsrp" 
                resourceType="urn:oracle:webcenter:people:person" 
                rel="urn:oracle:webcenter:people:icon" 
                href="http://host:port/webcenter/
                profilephoto/453941333545383046304243313144464246424530
                4645333339453535423231/SMALL?_xResourceMethod=wsrp" 
                capabilities="urn:oracle:webcenter:read"/>
             <link type="text/html" 
                resourceType="urn:oracle:webcenter:spaces:profile" 
                rel="alternate" href="http://host:port/
                webcenter/faces/oracle/webcenter/webcenterapp/view/pages/
                peopleconn/UserProfileGallery.jspx?wc.username=weblogic" 
                capabilities="urn:oracle:webcenter:read"/>
          </links>
          <displayName>weblogic</displayName>
          <guid>E9A35E80F0BC11DFBFBE0FE339E55B21</guid>
          <id>weblogic</id>
       </author>
       <created>2010-11-17T06:34:25.042-08:00</created>
       <modifier>weblogic</modifier>
       <modifiedByUser>
          <links>
             <link resourceType="urn:oracle:webcenter:people:person" 
                rel="via" href="http://host:port/
                rest/api/people/E9A35E80F0BC11DFBFBE0FE339E55B21/lists/
                @self?utoken=FKld8lalI3QRdi8TgQkOCGEzxL5x_w**" 
                capabilities="urn:oracle:webcenter:read"/>
             <link type="image/png" 
                template="http://host:port/
                webcenter/profilephoto/4539413335453830463042433131
                444642464245304645333339453535423231/{size}?
                _xResourceMethod=wsrp" 
                resourceType="urn:oracle:webcenter:people:person" 
                rel="urn:oracle:webcenter:people:icon" 
                href="http://host:port/webcenter/
                profilephoto/453941333545383046304243313144464246424530
                4645333339453535423231/SMALL?_xResourceMethod=wsrp" 
                capabilities="urn:oracle:webcenter:read"/>
             <link type="text/html" 
                resourceType="urn:oracle:webcenter:spaces:profile" 
                rel="alternate" href="http://host:port/
                webcenter/faces/oracle/webcenter/webcenterapp/view/pages/
                peopleconn/UserProfileGallery.jspx?wc.username=weblogic" 
                capabilities="urn:oracle:webcenter:read"/>
          </links>
          <displayName>weblogic</displayName>
          <guid>E9A35E80F0BC11DFBFBE0FE339E55B21</guid>
          <id>weblogic</id>
       </modifiedByUser>
          <modified>2010-11-17T06:34:25.042-08:00</modified>
       <columns>
          <column>
             <id>lco_9bdd1418_6004_40ba_a052_04e8335b7ee8</id>
             <name>No.</name>
             <value>1.0</value>
          </column>
          <column>
             <id>lco_3a31fd20_24f1_4422_99fd_c00d7bed4b24</id>
             <name>Description</name>
             <value>test</value>
          </column>
       </columns>
    </row>
    
47.4.4.3.3 rowsからリンクされるリソース・タイプ

表47-10は、クライアントがrowsリソースからリンクできるリソース・タイプを示しています。

表47-10 rowsからリンクされるリソース・タイプ

rel リソース・タイプ

self

urn:oracle:webcenter:space:list.rows

parent

urn:oracle:webcenter:space:list



urn:oracle:webcenter:space:list:row



47.4.4.4 urn:oracle:webcenter:space:list:row

rowレスポンスでは、個々のリスト行を取得、追加および削除する方法が提供されます。この項には次のサブセクションが含まれます:

47.4.4.4.1 rowへのナビゲーション・パス

この項では、クライアントがハイパーメディアを経由してrowリソースにアクセスする方法を示します。

urn:oracle:webcenter:resourceindex
   urn:oracle:webcenter:spaces
      urn:oracle:webcenter:space:resourceindex
         urn:oracle:webcenter:space:lists
            urn:oracle:webcenter:space:list
               urn:oracle:webcenter:space:list:rows
                  urn:oracle:webcenter:space:list:row
47.4.4.4.2 rowでサポートされるメソッド

rowリソース・タイプでは、次のメソッドがサポートされます。

メソッド(row): GET

リスト行からデータを取得するには、このメソッドを使用します。

  • リソースURI。例:

    http://host:port/rest/api/spaces/vs1/lists/(/oracle/webcenter/list/scopedMD/s355923f0_2f04_4fd0_83ad_f7dac2a7ceed/lists/ls_c9cecbc7_756b_417b_a35f_fb03874979c0.xml)/rows/(lr_a14d427f_8515_4c82_956f_a60e6e08668c)?utoken=FKld8lalI3QRdi8TgQkOCGEzxL5x_w**
    
  • リクエスト本体: なし

  • リクエスト・ヘッダー: [Accept = application/xml | application/json]

  • レスポンス・ステータス: 200 [OK]

  • レスポンス本文: <row>

  • 取得される要素(表47-11)

    表47-11 rowで取得される要素

    要素 タイプ 説明

    id

    string

    行のID

    listId

    string

    親リストのID

    scope

    string

    リストが属するスペースのGUID

    creator

    string

    行を作成したユーザー

    created

    日付

    行が作成された日付

    modifier

    string

    最後に行を変更したユーザー

    modified

    日付

    最後に行が変更された日付

    columns

    urn:oracle:webcenter:space:list:columns

    列の値


  • 例:

    <row resourceType="urn:oracle:webcenter:space:list:row">
       <links>
          <link resourceType="urn:oracle:webcenter:space:list:row" 
             rel="self" href="http://host:port/
             rest/api/spaces/vs1/lists/(/oracle/webcenter/list/scopedMD
             /s355923f0_2f04_4fd0_83ad_f7dac2a7ceed/lists/ls_bb806754_0652_
             4d49_9354_5fb62dc3514d.xml)/rows/(lr_4cc07327_49cb_4cd5_a270_
             182ddcc8db4a)?utoken=FKld8lalI3QRdi8TgQkOCGEzxL5x_w**" 
             capabilities="urn:oracle:webcenter:read 
             urn:oracle:webcenter:update urn:oracle:webcenter:delete"/>
       </links>
       <id>lr_4cc07327_49cb_4cd5_a270_182ddcc8db4a</id>
       <listId>/oracle/webcenter/list/scopedMD/s355923f0_2f04_4fd0_83ad_
          f7dac2a7ceed/lists/ls_bb806754_0652_4d49_9354_
          5fb62dc3514d.xml</listId>
       <scope>s355923f0_2f04_4fd0_83ad_f7dac2a7ceed</scope>
       <creator>weblogic</creator>
       <author>
          <links>
             <link resourceType="urn:oracle:webcenter:people:person" 
                rel="via" href="http://host:port/
                rest/api/people/E9A35E80F0BC11DFBFBE0FE339E55B21/lists/
                @self?utoken=FKld8lalI3QRdi8TgQkOCGEzxL5x_w**" 
                capabilities="urn:oracle:webcenter:read"/>
             <link type="image/png" 
                template="http://host:port/webcenter/
                profilephoto/453941333545383046304243313144464246424530
                4645333339453535423231/{size}?_xResourceMethod=wsrp" 
                resourceType="urn:oracle:webcenter:people:person" 
                rel="urn:oracle:webcenter:people:icon" 
                href="http://host:port/webcenter/
                profilephoto/453941333545383046304243313144464246424530
                4645333339453535423231/SMALL?_xResourceMethod=wsrp" 
                capabilities="urn:oracle:webcenter:read"/>
             <link type="text/html" 
                resourceType="urn:oracle:webcenter:spaces:profile" 
                rel="alternate" href="http://host:port/
                webcenter/faces/oracle/webcenter/webcenterapp/view/pages/
                peopleconn/UserProfileGallery.jspx?wc.username=weblogic" 
                capabilities="urn:oracle:webcenter:read"/>
          </links>
          <displayName>weblogic</displayName>
          <guid>E9A35E80F0BC11DFBFBE0FE339E55B21</guid>
          <id>weblogic</id>
       </author>
       <created>2010-11-17T06:34:25.042-08:00</created>
       <modifier>weblogic</modifier>
       <modifiedByUser>
          <links>
             <link resourceType="urn:oracle:webcenter:people:person" 
                rel="via" href="http://host:port/
                rest/api/people/E9A35E80F0BC11DFBFBE0FE339E55B21/lists/
                @self?utoken=FKld8lalI3QRdi8TgQkOCGEzxL5x_w**" 
                capabilities="urn:oracle:webcenter:read"/>
             <link type="image/png" 
                template="http://host:port/webcenter/
                profilephoto/453941333545383046304243313144464246424530
                4645333339453535423231/{size}?_xResourceMethod=wsrp" 
                resourceType="urn:oracle:webcenter:people:person" 
                rel="urn:oracle:webcenter:people:icon" 
                href="http://host:port/webcenter/
                profilephoto/453941333545383046304243313144464246424530
                4645333339453535423231/SMALL?_xResourceMethod=wsrp" 
                capabilities="urn:oracle:webcenter:read"/>
             <link type="text/html" 
                resourceType="urn:oracle:webcenter:spaces:profile" 
                rel="alternate" href="http://host:port/
                webcenter/faces/oracle/webcenter/webcenterapp/view/pages/
                peopleconn/UserProfileGallery.jspx?wc.username=weblogic" 
                capabilities="urn:oracle:webcenter:read"/>
          </links>
          <displayName>weblogic</displayName>
          <guid>E9A35E80F0BC11DFBFBE0FE339E55B21</guid>
          <id>weblogic</id>
       </modifiedByUser>
       <modified>2010-11-17T06:34:25.042-08:00</modified>
       <columns>
          <column>
             <id>lco_9bdd1418_6004_40ba_a052_04e8335b7ee8</id>
             <name>No.</name>
             <value>1.0</value>
          </column>
          <column>
             <id>lco_3a31fd20_24f1_4422_99fd_c00d7bed4b24</id>
             <name>Description</name>
             <value>test</value>
          </column>
       </columns>
    </row>
    

メソッド(row): PUT

行のデータを更新するには、このメソッドを使用します。

  • リソースURI。例:

    http://host:port/rest/api/spaces/vs1/lists/(/oracle/webcenter/list/scopedMD/s355923f0_2f04_4fd0_83ad_f7dac2a7ceed/lists/ls_c9cecbc7_756b_417b_a35f_fb03874979c0.xml)/rows/(lr_a14d427f_8515_4c82_956f_a60e6e08668c)?utoken=FKld8lalI3QRdi8TgQkOCGEzxL5x_w**
    
  • リクエスト本文: <row>

  • 書込み可能要素(表47-12)

    表47-12 rowの書込み可能要素

    要素 タイプ 制約 説明

    columns.column.id脚注1  

    string

    -


    列のID

    columns.column.value脚注1 

    string

    列のデータ型として有効な値

    列の値


    脚注1  必須要素を示しています

  • 例:

    <row>
       <columns>
          <column>
             <id>lco_9bdd1418_6004_40ba_a052_04e8335b7ee8</id>
             <value>1</value>
          </column>
          <column>
             <id>lco_3a31fd20_24f1_4422_99fd_c00d7bed4b24</id>
             <value>test</value>
          </column>
       </columns>
    </row>
    
  • リクエスト・ヘッダー: Content-Type = application/xml | application/json, [Accept = application/xml | application/json]

  • レスポンス・ステータス: 200 [OK]

  • レスポンス本文: <row>

メソッド(row): DELETE

リスト行を削除するには、このメソッドを使用します。

  • リソースURI。例:

    http://host:port/rest/api/spaces/vs1/lists/(/oracle/webcenter/list/scopedMD/s355923f0_2f04_4fd0_83ad_f7dac2a7ceed/lists/ls_c9cecbc7_756b_417b_a35f_fb03874979c0.xml)/rows/(lr_a14d427f_8515_4c82_956f_a60e6e08668c)?utoken=FKld8lalI3QRdi8TgQkOCGEzxL5x_w**
    
  • リクエスト本体: なし

  • レスポンス・ステータス: 204 [No Content]

  • レスポンス本体: なし

47.4.4.4.3 rowからリンクされるリソース・タイプ

表47-13は、クライアントがrowリソースからリンクできるリソース・タイプを示しています。

表47-13 rowからリンクされるリソース・タイプ

rel リソース・タイプ

self

urn:oracle:webcenter:space:list:row


47.4.4.5 urn:oracle:webcenter:space:list:columns

columnsレスポンスでは、リスト列を取得または追加する方法が提供されます。この項には次のサブセクションが含まれます:

47.4.4.5.1 columnsへのナビゲーション・パス

この項では、クライアントがハイパーメディアを経由してcolumnsリソースにアクセスする方法を示します。

urn:oracle:webcenter:resourceindex
   urn:oracle:webcenter:spaces
      urn:oracle:webcenter:space:resourceindex
         urn:oracle:webcenter:space:lists
            urn:oracle:webcenter:space:list
               urn:oracle:webcenter:space:list:columns
47.4.4.5.2 columnsでサポートされるメソッド

columnsリソース・タイプでは、次のメソッドがサポートされます。

メソッド(columns): GET

リスト内の列を取得するには、このメソッドを使用します。

  • リソースURI。例:

    http://host:port/rest/api/spaces/vs1/lists/(/oracle/webcenter/list/scopedMD/s355923f0_2f04_4fd0_83ad_f7dac2a7ceed/lists/ls_c9cecbc7_756b_417b_a35f_fb03874979c0.xml)/columns?utoken=FKld8lalI3QRdi8TgQkOCGEzxL5x_w**
    
  • リクエスト本体: なし

  • リクエスト・ヘッダー: [Accept = application/xml | application/json]

  • リクエスト・パラメータ: なし

  • レスポンス・ステータス: 200 [OK]

  • レスポンス本文: <metaColumns>

  • 例:

    <metaColumns resourceType="urn:oracle:webcenter:space:list:columns">
       <links>
          <link resourceType="urn:oracle:webcenter:space:list:columns" 
             rel="self" href="http://host:port/
             rest/api/spaces/vs1/lists/(/oracle/webcenter/list/scopedMD/
             s355923f0_2f04_4fd0_83ad_f7dac2a7ceed/lists/ls_c9cecbc7_756b_
             417b_a35f_fb03874979c0.xml)/columns?
             utoken=FKld8lalI3QRdi8TgQkOCGEzxL5x_w**" 
             capabilities="urn:oracle:webcenter:read 
             urn:oracle:webcenter:create"/>
          <link resourceType="urn:oracle:webcenter:space:list" 
             rel="urn:oracle:webcenter:parent" 
             href="http://host:port/rest/api/spaces/vs1/
             lists/(/oracle/webcenter/list/scopedMD/s355923f0_2f04_4fd0_83ad_
             f7dac2a7ceed/lists/ls_c9cecbc7_756b_417b_a35f_
             fb03874979c0.xml)?utoken=FKld8lalI3QRdi8TgQkOCGEzxL5x_w**"/>
       </links>
       <items>
          <metaColumn resourceType="urn:oracle:webcenter:space:list:column">
             <links>
                <link resourceType="urn:oracle:webcenter:space:list:column" 
                   rel="self" href="http://host:port/
                   rest/api/spaces/vs1/lists/(/oracle/webcenter/list/
                   scopedMD/s355923f0_2f04_4fd0_83ad_
                   f7dac2a7ceed/lists/ls_c9cecbc7_756b_417b_a35f_
                   fb03874979c0.xml)/columns/(lco_9bdd1418_6004_40ba_
                   a052_04e8335b7ee8)?
                   utoken=FKld8lalI3QRdi8TgQkOCGEzxL5x_w**" 
                   capabilities="urn:oracle:webcenter:read 
                   urn:oracle:webcenter:update 
                   urn:oracle:webcenter:delete"/>
             </links>
             <id>lco_9bdd1418_6004_40ba_a052_04e8335b7ee8</id>
             <name>No.</name>
             <dataType>number</dataType>
             <required>false</required>
             <displayLength>10</displayLength>
             <format>number</format>
             <allowLinks>false</allowLinks>
          </metaColumn>
          <metaColumn resourceType="urn:oracle:webcenter:space:list:column">
             <links>
                <link resourceType="urn:oracle:webcenter:space:list:column" 
                   rel="self" href="http://host:port/
                   rest/api/spaces/vs1/lists/(/oracle/webcenter/list/
                   scopedMD/s355923f0_2f04_4fd0_83ad_
                   f7dac2a7ceed/lists/ls_c9cecbc7_756b_417b_a35f_
                   fb03874979c0.xml)/columns/(lco_3a31fd20_24f1_4422_
                   99fd_c00d7bed4b24)?
                   utoken=FKld8lalI3QRdi8TgQkOCGEzxL5x_w**" 
                   capabilities="urn:oracle:webcenter:read 
                   urn:oracle:webcenter:update 
                   urn:oracle:webcenter:delete"/>
             </links>
             <id>lco_3a31fd20_24f1_4422_99fd_c00d7bed4b24</id>
             <name>Description</name>
             <dataType>string</dataType>
             <required>false</required>
             <maxLength>500</maxLength>
             <displayLength>20</displayLength>
             <allowLinks>false</allowLinks>
             <editLines>1</editLines>
          </metaColumn>
       </items>
    </metaColumns>
    

メソッド(columns): POST

リスト内に列を作成するには、このメソッドを使用します。

  • リソースURI。例:

    http://host:port/rest/api/spaces/vs1/lists/(/oracle/webcenter/list/scopedMD/s355923f0_2f04_4fd0_83ad_f7dac2a7ceed/lists/ls_c9cecbc7_756b_417b_a35f_fb03874979c0.xml)/columns?utoken=FKld8lalI3QRdi8TgQkOCGEzxL5x_w**
    
  • リクエスト本文: <metaColumn>

  • 書込み可能要素(表47-14)

    表47-14 columnsの書込み可能要素

    要素 タイプ 制約 説明

    name脚注1  

    string

    -


    列の名前

    dataType脚注1 

    string

    • string

    • number

    • datetime

    • boolean

    • person

    • image

    • richtext

    列のデータ型

    required

    boolean

    • true

    • false

    列の値が必須かどうか

    defaultValue

    列のデータ型

    オブジェクトがデータ型と一致する必要がある

    列のデフォルト値

    maxLength

    int

    stringデータ型でのみ有効

    文字列値の最大長

    rangeLow

    int

    numberデータ型でのみ有効

    numberデータ型の範囲の最小値

    rangeHigh

    int

    numberデータ型でのみ有効

    numberデータ型の範囲の最大値

    format

    string

    次のnumberデータ型:

    • 数値

    • 通貨

    • パーセント

    次のdatetimeデータ型:

    • date

    • 時間

    • 両方

    列の形式

    allowLinks

    boolean

    • true

    • false

    stringデータ型でのみ有効

    ハイパーリンクを列の値に指定できるかどうか

    linkTarget

    string

    • _blank

    • _self

    allowLinks=trueの場合のみ有効

    _blankはリンクを新しいウィンドウに開き、_selfはリンクを同じウィンドウ内に開きます

    editLines

    int

    stringデータ型でのみ有効

    列値を編集する際の行数(デフォルトは1)

    peopleScope

    string

    • GLOBAL

    • SUB_SCOPE

    personデータ型でのみ有効

    ディレクトリ内のすべてのユーザーを有効とするか、あるいはリストを含むスペースのメンバーを有効とするかどうか

    displayWidth

    int

    -


    列のピクセル単位での表示幅

    hint

    string

    -


    列値を入力する際にユーザーに表示されるヒント


    脚注1  必須要素を示しています

  • 例:

    <metaColumn>
       <name>Notes</name>
       <dataType>richtext</dataType>
    </metaColumn
    
  • リクエスト・ヘッダー: Content-Type = application/xml | application/json, [Accept = application/xml | application/json]

  • レスポンス・ステータス: 201 [Created]

  • レスポンス本文: <metaColumn>

  • 取得される要素(表47-15)

    表47-15 columnsから取得される要素

    要素 タイプ 説明

    id

    string

    列のID

    name

    string

    列の名前

    dataType

    string

    列のデータ型

    required

    boolean

    列の値が必須かどうか

    defaultValue

    列のデータ型

    列のデフォルト値

    maxLength

    int

    文字列値の最大長

    rangeLow

    int

    numberデータ型の範囲の最小値

    rangeHigh

    int

    numberデータ型の範囲の最大値

    format

    string

    列の形式

    allowLinks

    boolean

    ハイパーリンクを列の値に指定できるかどうか

    linkTarget

    string

    _blankはリンクを新しいウィンドウに開き、_selfはリンクを同じウィンドウ内に開きます

    editLines

    int

    列値を編集する際の行数(デフォルトは1)

    peopleScope

    string

    ディレクトリ内のすべてのユーザーを有効とするか、あるいはリストを含むスペースのメンバーを有効とするかどうか

    displayWidth

    int

    列のピクセル単位での表示幅

    hint

    string

    列値を入力する際にユーザーに表示されるヒント


  • 例:

    <metaColumn resourceType="urn:oracle:webcenter:space:list:column">
       <links>
          <link resourceType="urn:oracle:webcenter:space:list:column" 
             rel="self" href="http://host:port/
             rest/api/spaces/vs1/lists/(/oracle/webcenter/list/scopedMD/
             s355923f0_2f04_4fd0_83ad_f7dac2a7ceed/lists/
             ls_c9cecbc7_756b_417b_a35f_fb03874979c0.xml)/columns/
             (lco_fe2b9856_32f3_449a_a277_18dc7f6a779e)?
             utoken=FKld8lalI3QRdi8TgQkOCGEzxL5x_w**" 
             capabilities="urn:oracle:webcenter:read 
             urn:oracle:webcenter:update urn:oracle:webcenter:delete"/>
       </links>
       <id>lco_fe2b9856_32f3_449a_a277_18dc7f6a779e</id>
       <name>Notes</name>
       <dataType>richtext</dataType>
       <required>false</required>
       <displayLength>20</displayLength>
       <allowLinks>false</allowLinks>
    </metaColumn>
    
47.4.4.5.3 columnsからリンクされるリソース・タイプ

表47-16は、クライアントがcolumnsリソースからリンクできるリソース・タイプを示しています。

表47-16 columnsからリンクされるリソース・タイプ

rel リソース・タイプ

self

urn:oracle:webcenter:space:list.columns

parent

urn:oracle:webcenter:space:list



urn:oracle:webcenter:space:list:column



47.4.4.6 urn:oracle:webcenter:space:list:column

columnレスポンスでは、個々のリスト列を取得、追加および削除する方法が提供されます。この項には次のサブセクションが含まれます:

47.4.4.6.1 columnへのナビゲーション・パス

この項では、クライアントがハイパーメディアを経由してcolumnリソースにアクセスする方法を示します。

urn:oracle:webcenter:resourceindex
   urn:oracle:webcenter:spaces
      urn:oracle:webcenter:space:resourceindex
         urn:oracle:webcenter:space:lists
            urn:oracle:webcenter:space:list
               urn:oracle:webcenter:space:list:columns
                  urn:oracle:webcenter:space:list:column
47.4.4.6.2 columnでサポートされるメソッド

columnリソース・タイプでは、次のメソッドがサポートされます。

メソッド(column): GET

リスト列を取得するには、このメソッドを使用します。

  • リソースURI。例:

    http://host:port/rest/api/spaces/vs1/lists/(/oracle/webcenter/list/scopedMD/s355923f0_2f04_4fd0_83ad_f7dac2a7ceed/lists/ls_c9cecbc7_756b_417b_a35f_fb03874979c0.xml)/columns/(lco_fe2b9856_32f3_449a_a277_18dc7f6a779e)?utoken=FKld8lalI3QRdi8TgQkOCGEzxL5x_w**
    
  • リクエスト本体: なし

  • リクエスト・ヘッダー: [Accept = application/xml | application/json]

  • レスポンス・ステータス: 200 [OK]

  • レスポンス本文: <metaColumn>

  • 取得される要素(表47-17)

    表47-17 columnで取得される要素

    要素 タイプ 説明

    id

    string

    列のID

    name

    string

    列の名前

    dataType

    string

    列のデータ型

    required

    boolean

    列の値が必須かどうか

    defaultValue

    列のデータ型

    列のデフォルト値

    maxLength

    int

    文字列値の最大長

    rangeLow

    int

    numberデータ型の範囲の最小値

    rangeHigh

    int

    numberデータ型の範囲の最大値

    format

    string

    列の形式

    allowLinks

    boolean

    ハイパーリンクを列の値に指定できるかどうか

    linkTarget

    string

    _blankはリンクを新しいウィンドウに開き、_selfはリンクを同じウィンドウ内に開きます

    editLines

    int

    列値を編集する際の行数(デフォルトは1)

    peopleScope

    string

    ディレクトリ内のすべてのユーザーを有効とするか、あるいはリストを含むスペースのメンバーを有効とするかどうか

    displayWidth

    int

    列のピクセル単位での表示幅

    hint

    string

    列値を入力する際にユーザーに表示されるヒント


  • 例:

    <metaColumn resourceType="urn:oracle:webcenter:space:list:column">
       <links>
          <link resourceType="urn:oracle:webcenter:space:list:column" 
             rel="self" href="http://host:port/
             rest/api/spaces/vs1/lists/(/oracle/webcenter/list/scopedMD/
             s355923f0_2f04_4fd0_83ad_f7dac2a7ceed/lists/
             ls_c9cecbc7_756b_417b_a35f_fb03874979c0.xml)/
             columns/(lco_fe2b9856_32f3_449a_a277_18dc7f6a779e)?
             utoken=FKld8lalI3QRdi8TgQkOCGEzxL5x_w**" 
             capabilities="urn:oracle:webcenter:read 
             urn:oracle:webcenter:update urn:oracle:webcenter:delete"/>
       </links>
       <id>lco_fe2b9856_32f3_449a_a277_18dc7f6a779e</id>
       <name>Notes</name>
       <dataType>richtext</dataType>
       <required>false</required>
       <displayLength>20</displayLength>
       <allowLinks>false</allowLinks>
    </metaColumn>
    

メソッド(column): PUT

列のデータを更新するには、このメソッドを使用します。

  • リソースURI。例:

    http://host:port/rest/api/spaces/vs1/lists/(/oracle/webcenter/list/scopedMD/s355923f0_2f04_4fd0_83ad_f7dac2a7ceed/lists/ls_c9cecbc7_756b_417b_a35f_fb03874979c0.xml)/columns/(lco_fe2b9856_32f3_449a_a277_18dc7f6a779e)?utoken=FKld8lalI3QRdi8TgQkOCGEzxL5x_w**
    
  • リクエスト本文: <metacolumn>

  • 書込み可能要素(表47-18)

    表47-18 columnの書込み可能要素

    要素 タイプ 制約 説明

    name脚注1  

    string

    -


    列の名前

    dataType脚注1 

    string

    • string

    • number

    • datetime

    • boolean

    • person

    • image

    • richtext

    列のデータ型

    required

    boolean

    • true

    • false

    列の値が必須かどうか

    defaultValue

    列のデータ型

    オブジェクトがデータ型と一致する必要がある

    列のデフォルト値

    maxLength

    int

    stringデータ型でのみ有効

    文字列値の最大長

    rangeLow

    int

    numberデータ型でのみ有効

    numberデータ型の範囲の最小値

    rangeHigh

    int

    numberデータ型でのみ有効

    numberデータ型の範囲の最大値

    format

    string

    次のnumberデータ型:

    • 数値

    • 通貨

    • パーセント

    次のdatetimeデータ型:

    • date

    • 時間

    • 両方

    列の形式

    allowLinks

    boolean

    • true

    • false

    stringデータ型でのみ有効

    ハイパーリンクを列の値に指定できるかどうか

    linkTarget

    string

    • _blank

    • _self

    allowLinks=trueの場合のみ有効

    _blankはリンクを新しいウィンドウに開き、_selfはリンクを同じウィンドウ内に開きます

    editLines

    int

    stringデータ型でのみ有効

    列値を編集する際の行数(デフォルトは1)

    peopleScope

    string

    • GLOBAL

    • SUB_SCOPE

    personデータ型でのみ有効

    ディレクトリ内のすべてのユーザーを有効とするか、あるいはリストを含むスペースのメンバーを有効とするかどうか

    displayWidth

    int

    -


    列のピクセル単位での表示幅

    hint

    string

    -


    列値を入力する際にユーザーに表示されるヒント


    脚注1  必須要素を示しています

  • 例:

    <metaColumn>
       <name>Comments</name>
       <dataType>richtext</dataType>
    </metaColumn>
    
  • リクエスト・ヘッダー: Content-Type = application/xml | application/json, [Accept = application/xml | application/json]

  • レスポンス・ステータス: 200 [OK]

  • レスポンス本文: <metaColumn>

メソッド(column): DELETE

リスト列を削除するには、このメソッドを使用します。

  • リソースURI。例:

    http://host:port/rest/api/spaces/vs1/lists/(/oracle/webcenter/list/scopedMD/s355923f0_2f04_4fd0_83ad_f7dac2a7ceed/lists/ls_c9cecbc7_756b_417b_a35f_fb03874979c0.xml)/columns/(lco_fe2b9856_32f3_449a_a277_18dc7f6a779e)?utoken=FKld8lalI3QRdi8TgQkOCGEzxL5x_w**
    
  • リクエスト本体: なし

  • レスポンス・ステータス: 204 [No Content]

  • レスポンス本体: なし

47.4.4.6.3 columnからリンクされるリソース・タイプ

表47-19は、クライアントがcolumnリソースからリンクできるリソース・タイプを示しています。

表47-19 columnからリンクされるリソース・タイプ

rel リソース・タイプ

self

urn:oracle:webcenter:space:list:column


47.5 リスト・サービスのトラブルシューティング

問題

リスト・タスク・フローで、WebCenter Portalのリポジトリが使用できないことを示すエラーが発生します。

解決方法

データベース接続が構成されていない可能性があります。詳細は、第7.2.2項「データベース接続の設定」を参照してください。

問題

401 Unauthorizedエラーが発生します。

解決方法

アプリケーションのセキュリティが設定されていない可能性があります。また、試行されたタスクの実行に必要な権限が付与されていなかったことも考えられます。