check_object_ancestors (scripted)
db_with_handle -dbn $dbn __DB {
set s [ns_pg_bind 0or1row $__DB {select acs_object__check_object_ancestors(CAST(:object_id AS integer),CAST(:ancestor_id AS integer),CAST(:n_generations AS integer))}]
return [ns_set value $s 0]
}
check_object_descendants (scripted)
db_with_handle -dbn $dbn __DB {
set s [ns_pg_bind 0or1row $__DB {select acs_object__check_object_descendants(CAST(:object_id AS integer),CAST(:descendant_id AS integer),CAST(:n_generations AS integer))}]
return [ns_set value $s 0]
}
check_path (scripted)
db_with_handle -dbn $dbn __DB {
set s [ns_pg_bind 0or1row $__DB {select acs_object__check_path(CAST(:object_id AS integer),CAST(:ancestor_id AS integer))}]
return [ns_set value $s 0]
}
default_name (scripted)
db_with_handle -dbn $dbn __DB {
set s [ns_pg_bind 0or1row $__DB {select acs_object__default_name(CAST(:object_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 acs_object__delete(CAST(:object_id AS integer))}]
return [ns_set value $s 0]
}
get_attr_storage_column (scripted)
db_with_handle -dbn $dbn __DB {
set s [ns_pg_bind 0or1row $__DB {select acs_object__get_attr_storage_column(:v_vals)}]
return [ns_set value $s 0]
}
get_attr_storage_sql (scripted)
db_with_handle -dbn $dbn __DB {
set s [ns_pg_bind 0or1row $__DB {select acs_object__get_attr_storage_sql(:v_vals)}]
return [ns_set value $s 0]
}
get_attr_storage_table (scripted)
db_with_handle -dbn $dbn __DB {
set s [ns_pg_bind 0or1row $__DB {select acs_object__get_attr_storage_table(:v_vals)}]
return [ns_set value $s 0]
}
get_attribute (scripted)
db_with_handle -dbn $dbn __DB {
set s [ns_pg_bind 0or1row $__DB {select acs_object__get_attribute(CAST(:object_id_in AS integer),:attribute_name_in)}]
return [ns_set value $s 0]
}
get_attribute_storage (scripted)
db_with_handle -dbn $dbn __DB {
set s [ns_pg_bind 0or1row $__DB {select acs_object__get_attribute_storage(CAST(:object_id_in AS integer),:attribute_name_in)}]
return [ns_set value $s 0]
}
initialize_attributes (scripted)
db_with_handle -dbn $dbn __DB {
set s [ns_pg_bind 0or1row $__DB {select acs_object__initialize_attributes(CAST(:object_id AS integer))}]
return [ns_set value $s 0]
}
name (scripted)
db_with_handle -dbn $dbn __DB {
set s [ns_pg_bind 0or1row $__DB {select acs_object__name(CAST(:object_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 acs_object__new(CAST(:object_id AS integer),:object_type,:creation_date,CAST(:creation_user AS integer),:creation_ip,CAST(:context_id AS integer),:security_inherit_p,:title,CAST(:package_id AS integer))}]
return [ns_set value $s 0]
}
package_id (scripted)
db_with_handle -dbn $dbn __DB {
set s [ns_pg_bind 0or1row $__DB {select acs_object__package_id(CAST(:object_id AS integer))}]
return [ns_set value $s 0]
}
set_attribute (scripted)
db_with_handle -dbn $dbn __DB {
set s [ns_pg_bind 0or1row $__DB {select acs_object__set_attribute(CAST(:object_id_in AS integer),:attribute_name_in,:value_in)}]
return [ns_set value $s 0]
}
update_last_modified (scripted)
db_with_handle -dbn $dbn __DB {
set s [ns_pg_bind 0or1row $__DB {select acs_object__update_last_modified(CAST(:object_id AS integer),CAST(:modifying_user AS integer),CAST(:modifying_ip AS integer),:last_modified)}]
return [ns_set value $s 0]
}