機械翻訳について

コンテンツ・アイテムのチャネルへの追加

Content Toolkit control-contentコマンドを使用して、Oracle Content Managementサーバーのチャネルにコンテンツ・アイテムを追加できます。

control-content <action>コマンドには、Oracle Content Managementチャネルにコンテンツ・アイテムを追加するためのアクションaddがあります:

cec control-content add -c Channel1 -r Repo1 -s UAT

このコマンドにより、リポジトリRepo1内のすべてのアイテムが登録済サーバーUAT上のチャネルChannel1に追加されます。

-s <server>を使用してサーバーを指定するか、cec.propertiesファイルで指定されたサーバーを使用できます。

content-usageコマンドに有効なアクションは、次のとおりです:

  • publish
  • unpublish
  • add
  • remove

content-usageコマンドのオプションは次のとおりです:

  • --channel, -c Channel [必須]
  • --repository, -r Repository [<action>addの場合は必須]
  • --server, -s登録済のOracle Content Managementサーバー
  • --help, -hヘルプの表示[ブール]

次に、control-contentコマンドの例を示します:

cec control-content publish -c Channel1

Publish all items in channel Channel1 on the server specified in the cec.properties file

cec control-content publish -c Channel1 -s UAT

Publish all items in channel Channel1 on the registered server UAT

cec control-content unpublish -c Channel1 -s UAT

Unpublish all items in channel Channel1 on the registered server UAT

cec control-content add -c Channel1 -r Repo1 -s UAT 

Add all items in repository Repo1 to channel Channel1 on the registered server UAT.

cec control-content remove -c Channel1 -s UAT

 Remove all items in channel Channel1 on the registered server UAT