content::keyword::new (public)
content::keyword::new -heading heading [ -description description ] \ [ -parent_id parent_id ] [ -keyword_id keyword_id ] \ [ -creation_date creation_date ] [ -creation_user creation_user ] \ [ -creation_ip creation_ip ] [ -object_type object_type ]
Defined in packages/acs-content-repository/tcl/content-keyword-procs.tcl
- Switches:
- -heading (required)
- -description (optional)
- -parent_id (optional)
- -keyword_id (optional)
- -creation_date (optional)
- -creation_user (optional)
- -creation_ip (optional)
- -object_type (optional)
- Returns:
- keyword_id of created keyword
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- acs_content_repository_trivial_smoke_test, content_keyword
Source code: set var_list [list [list heading $heading ] [list description $description ] [list parent_id $parent_id ] [list keyword_id $keyword_id ] [list creation_user $creation_user ] [list creation_ip $creation_ip ] ] if {[info exists creation_date] && $creation_date ne ""} { lappend var_list [list creation_date $creation_date ] } if {[info exists object_type] && $object_type ne ""} { lappend var_list [list object_type $object_type ] } return [package_exec_plsql -var_list $var_list content_keyword new]XQL Not present: Generic, PostgreSQL, Oracle