Class Relations
- class: ::nx::EnsembleObject
::nx::EnsembleObject create ::acs::db::nsdb-postgresql::slot::__call::authority
Methods (to be applied on the object)
del (scripted)
db_with_handle -dbn $dbn __DB {
set s [ns_pg_bind 0or1row $__DB {select authority__del(CAST(:authority_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 authority__new(CAST(:authority_id AS integer),:object_type,:short_name,:pretty_name,:enabled_p,CAST(:sort_order AS integer),CAST(:auth_impl_id AS integer),CAST(:pwd_impl_id AS integer),:forgotten_pwd_url,:change_pwd_url,CAST(:register_impl_id AS integer),:register_url,:help_contact_text,CAST(:creation_user AS integer),:creation_ip,CAST(:context_id AS integer))}]
return [ns_set value $s 0]
}