Class Relations
- class: ::nx::EnsembleObject
::nx::EnsembleObject create ::acs::db::nsdb-postgresql::slot::__call::content_keyword
Methods (to be applied on the object)
del (scripted)
db_with_handle -dbn $dbn __DB {
set s [ns_pg_bind 0or1row $__DB {select content_keyword__del(CAST(:keyword_id AS integer))}]
return [ns_set value $s 0]
}
delete (scripted)
db_with_handle -dbn $dbn __DB {
set s [ns_pg_bind 0or1row $__DB {select content_keyword__delete(CAST(:keyword_id AS integer))}]
return [ns_set value $s 0]
}
get_description (scripted)
db_with_handle -dbn $dbn __DB {
set s [ns_pg_bind 0or1row $__DB {select content_keyword__get_description(CAST(:keyword_id AS integer))}]
return [ns_set value $s 0]
}
get_heading (scripted)
db_with_handle -dbn $dbn __DB {
set s [ns_pg_bind 0or1row $__DB {select content_keyword__get_heading(CAST(:keyword_id AS integer))}]
return [ns_set value $s 0]
}
get_path (scripted)
db_with_handle -dbn $dbn __DB {
set s [ns_pg_bind 0or1row $__DB {select content_keyword__get_path(CAST(:keyword_id AS integer))}]
return [ns_set value $s 0]
}
is_assigned (scripted)
db_with_handle -dbn $dbn __DB {
set s [ns_pg_bind 0or1row $__DB {select content_keyword__is_assigned(CAST(:item_id AS integer),CAST(:keyword_id AS integer),:recurse)}]
return [ns_set value $s 0]
}
is_leaf (scripted)
db_with_handle -dbn $dbn __DB {
set s [ns_pg_bind 0or1row $__DB {select content_keyword__is_leaf(CAST(:keyword_id AS integer))}]
return [ns_set value $s 0]
}
item_assign (scripted)
db_with_handle -dbn $dbn __DB {
set s [ns_pg_bind 0or1row $__DB {select content_keyword__item_assign(CAST(:item_id AS integer),CAST(:keyword_id AS integer),CAST(:context_id AS integer),CAST(:creation_user AS integer),:creation_ip)}]
return [ns_set value $s 0]
}
item_unassign (scripted)
db_with_handle -dbn $dbn __DB {
set s [ns_pg_bind 0or1row $__DB {select content_keyword__item_unassign(CAST(:item_id AS integer),CAST(:keyword_id AS integer))}]
return [ns_set value $s 0]
}
new (scripted)
db_with_handle -dbn $dbn __DB {
set s [ns_pg_bind 0or1row $__DB {select content_keyword__new(:heading,:description,CAST(:parent_id AS integer),CAST(:keyword_id AS integer),:creation_date,CAST(:creation_user AS integer),:creation_ip,:object_type,CAST(:package_id AS integer))}]
return [ns_set value $s 0]
}
set_description (scripted)
db_with_handle -dbn $dbn __DB {
set s [ns_pg_bind 0or1row $__DB {select content_keyword__set_description(CAST(:keyword_id AS integer),:description)}]
return [ns_set value $s 0]
}
set_heading (scripted)
db_with_handle -dbn $dbn __DB {
set s [ns_pg_bind 0or1row $__DB {select content_keyword__set_heading(CAST(:keyword_id AS integer),:heading)}]
return [ns_set value $s 0]
}