Class Relations
- class: ::nx::EnsembleObject
::nx::EnsembleObject create ::acs::db::nsdb-postgresql::slot::__call::acs_object_util
Methods (to be applied on the object)
get_object_type (scripted)
db_with_handle -dbn $dbn __DB {
set s [ns_pg_bind 0or1row $__DB {select acs_object_util__get_object_type(CAST(:object_id AS integer))}]
return [ns_set value $s 0]
}
object_ancestor_type_p (scripted)
db_with_handle -dbn $dbn __DB {
set s [ns_pg_bind 0or1row $__DB {select acs_object_util__object_ancestor_type_p(CAST(:object_id AS integer),:object_type)}]
return [ns_set value $s 0]
}
object_type_exist_p (scripted)
db_with_handle -dbn $dbn __DB {
set s [ns_pg_bind 0or1row $__DB {select acs_object_util__object_type_exist_p(:object_type)}]
return [ns_set value $s 0]
}
object_type_p (scripted)
db_with_handle -dbn $dbn __DB {
set s [ns_pg_bind 0or1row $__DB {select acs_object_util__object_type_p(CAST(:object_id AS integer),:object_type)}]
return [ns_set value $s 0]
}
type_ancestor_type_p (scripted)
db_with_handle -dbn $dbn __DB {
set s [ns_pg_bind 0or1row $__DB {select acs_object_util__type_ancestor_type_p(:object_type1,:object_type2)}]
return [ns_set value $s 0]
}