Class Relations
- class: ::nx::EnsembleObject
::nx::EnsembleObject create ::acs::db::nsdb-postgresql::slot::__call::category_tree
Methods (to be applied on the object)
check_nested_ind (scripted)
db_with_handle -dbn $dbn __DB {
set s [ns_pg_bind 0or1row $__DB {select category_tree__check_nested_ind(CAST(:tree_id AS integer))}]
return [ns_set value $s 0]
}
copy (scripted)
db_with_handle -dbn $dbn __DB {
set s [ns_pg_bind 0or1row $__DB {select category_tree__copy(CAST(:source_tree AS integer),CAST(:dest_tree AS integer),CAST(:creation_user AS integer),:creation_ip)}]
return [ns_set value $s 0]
}
del (scripted)
db_with_handle -dbn $dbn __DB {
set s [ns_pg_bind 0or1row $__DB {select category_tree__del(CAST(:tree_id AS integer))}]
return [ns_set value $s 0]
}
edit (scripted)
db_with_handle -dbn $dbn __DB {
set s [ns_pg_bind 0or1row $__DB {select category_tree__edit(CAST(:tree_id AS integer),:locale,:tree_name,:description,:site_wide_p,:modifying_date,CAST(:modifying_user AS integer),:modifying_ip)}]
return [ns_set value $s 0]
}
map (scripted)
db_with_handle -dbn $dbn __DB {
set s [ns_pg_bind 0or1row $__DB {select category_tree__map(CAST(:object_id AS integer),CAST(:tree_id AS integer),CAST(:subtree_category_id AS integer),:assign_single_p,:require_category_p,:widget)}]
return [ns_set value $s 0]
}
name (scripted)
db_with_handle -dbn $dbn __DB {
set s [ns_pg_bind 0or1row $__DB {select category_tree__name(CAST(:tree_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 category_tree__new(CAST(:tree_id AS integer),:locale,:tree_name,:description,:site_wide_p,:creation_date,CAST(:creation_user AS integer),:creation_ip,CAST(:context_id AS integer))}]
return [ns_set value $s 0]
}
new_translation (scripted)
db_with_handle -dbn $dbn __DB {
set s [ns_pg_bind 0or1row $__DB {select category_tree__new_translation(CAST(:tree_id AS integer),:locale,:tree_name,:description,:modifying_date,CAST(:modifying_user AS integer),:modifying_ip)}]
return [ns_set value $s 0]
}
unmap (scripted)
db_with_handle -dbn $dbn __DB {
set s [ns_pg_bind 0or1row $__DB {select category_tree__unmap(CAST(:object_id AS integer),CAST(:tree_id AS integer))}]
return [ns_set value $s 0]
}