[ 紐づけマスタを操作するトレイト(共通) ]
紐づけマスタコントローラ側でuseする
| package |
Default |
|---|
deleteWithRelation(\SCC\Api\Controller\Behaviors\unknown $params, string $mode = "", string $target_cd = "") : string
| throws |
|---|
\SCC\Api\Controller\Behaviors\unknown
string
string
string
getChildByClassCd( $params, string $mode = "", string $parent_cd = "", string $class_cd = "") : array
| throws |
|---|
APIパラメータ
string更新モード
string親コード
string分類コード
arrayAPI結果情報
getChildCodeFieldName() : string
string子コードのフィールド名
getChildListByClassCd( $params, string $mode = "", string $parent_cd = "", string $class_cd = "") : array
| throws |
|---|
APIパラメータ
string更新モード
string親コード
string分類コード
arrayマスタ情報
getClassCodeFieldName() : string
string分類コードのフィールド名
getClassModel() : \SCC\Api\Model\Extend\CommonModel
getLevelFieldName() : string
string階層差のフィールド名
getMainModel() : \SCC\Api\Model\Extend\CommonModel
getMainModelCodeFieldName() : string
stringメインModelのユニークコードのフィールド名
getParentCodeFieldName() : string
string親コードのフィールド名
getRelationControlModel() : \SCC\Api\Model\Extend\CommonModel
registWithRelation(array $params, string $mode = "", string $parent_cd = "") : array
| throws |
|---|
array登録情報
string更新モード(未使用)
string親コード(未指定時は自身がTOPの階層となる)
arrayAPI結果情報
updateChildByClassExecute( $params, string $mode = "", string $parent_cd = "", string $class_cd = "") : array
| throws |
|---|
APIパラメータ
string更新モード
string親コード
string分類コード
array更新されたレコードのIDのリスト