メソッドの概要

返却値の型 メソッド名
ResultObject addItem (ItemKey itemKey)
オピニオンアイテムを追加します。
ResultObject countContribute (ItemKey itemKey)
アイテム内の各意見の票数を取得します。
ResultObject deleteItem (ItemKey itemKey)
オピニオンアイテムを削除します。
ResultObject findContribute (ItemKey itemKey)
意見を取得します。
ResultObject findContribute (ItemKey itemKey, OpinionType opinionType)
意見を取得します。
ResultObject findItem (ItemKey itemKey)
オピニオンアイテムを取得します。
ResultObject updateCloseFlag (ItemKey itemKey, Boolean isClose)
意見の締め切り状態を更新します。
ResultObject updateTheme (OpinionThemeUpdate parameter)
テーマを更新します。

メソッドの詳細

ResultObject addItem (ItemKey itemKey)
オピニオンアイテムを追加します。
パラメータ
itemKey : ItemKey
アイテムキー
返却値
ResultObject
ResultObject 処理結果オブジェクト
data プロパティには、Opinion を設定します。
ResultObject countContribute (ItemKey itemKey)
アイテム内の各意見の票数を取得します。
パラメータ
itemKey : ItemKey
アイテムキー
返却値
ResultObject
ResultObject 処理結果オブジェクト
data プロパティには、ContributeTotals を設定します。
ResultObject deleteItem (ItemKey itemKey)
オピニオンアイテムを削除します。
パラメータ
itemKey : ItemKey
アイテムキー
返却値
ResultObject
ResultObject 処理結果オブジェクト
data プロパティには、処理件数 を設定します。
ResultObject findContribute (ItemKey itemKey)
意見を取得します。

操作ユーザの意見を取得します。
該当データがない場合、NULLを返却します。

パラメータ
itemKey : ItemKey
アイテムキー
返却値
ResultObject
ResultObject 処理結果オブジェクト
data プロパティには、OpinionContribute を設定します。
ResultObject findContribute (ItemKey itemKey, OpinionType opinionType)
意見を取得します。

指定した意見種別に該当する意見を取得します。
該当データがない場合、空のリストを返却します。

パラメータ
itemKey : ItemKey
アイテムキー
opinionType : OpinionType
意見種別
返却値
ResultObject
ResultObject 処理結果オブジェクト
data プロパティには、OpinionContribute[] を設定します。
ResultObject findItem (ItemKey itemKey)
オピニオンアイテムを取得します。
パラメータ
itemKey : ItemKey
アイテムキー
返却値
ResultObject
ResultObject 処理結果オブジェクト
data プロパティには、Opinion を設定します。
ResultObject updateCloseFlag (ItemKey itemKey, Boolean isClose)
意見の締め切り状態を更新します。
パラメータ
itemKey : ItemKey
アイテムキー
isClose : Boolean
true : 締め切り / false : 締め切りを解除
返却値
ResultObject
ResultObject 処理結果オブジェクト
data プロパティには、処理件数 を設定します。
ResultObject updateTheme (OpinionThemeUpdate parameter)
テーマを更新します。
パラメータ
parameter : OpinionThemeUpdate
テーマ情報
返却値
ResultObject
ResultObject 処理結果オブジェクト
data プロパティには、処理件数 を設定します。