acs::db::nsdb-postgresql method call authority new (public)
<instance of acs::db::nsdb-postgresql> call authority new \ [ -dbn dbn ] [ -authority_id authority_id ] \ [ -object_type object_type ] -short_name short_name \ -pretty_name pretty_name [ -enabled_p enabled_p ] \ -sort_order sort_order [ -auth_impl_id auth_impl_id ] \ [ -pwd_impl_id pwd_impl_id ] \ [ -forgotten_pwd_url forgotten_pwd_url ] \ [ -change_pwd_url change_pwd_url ] \ [ -register_impl_id register_impl_id ] \ [ -register_url register_url ] \ [ -help_contact_text help_contact_text ] \ [ -creation_user creation_user ] [ -creation_ip creation_ip ] \ [ -context_id context_id ]
Defined in packages/acs-tcl/tcl/00-acs-tcl-init.tcl
Automatically generated method TYPES: integer {character varying} {character varying} {character varying} boolean integer integer integer {character varying} {character varying} integer {character varying} {character varying} integer {character varying} integer
- Switches:
- -dbn (optional)
- -authority_id (optional, accept empty)
- -object_type (optional, defaults to
"authority"
)- -short_name (required)
- -pretty_name (required)
- -enabled_p (optional, defaults to
"t"
)- -sort_order (required)
- -auth_impl_id (optional, accept empty)
- -pwd_impl_id (optional, accept empty)
- -forgotten_pwd_url (optional, accept empty)
- -change_pwd_url (optional, accept empty)
- -register_impl_id (optional, accept empty)
- -register_url (optional, accept empty)
- -help_contact_text (optional, accept empty)
- -creation_user (optional, accept empty)
- -creation_ip (optional, accept empty)
- -context_id (optional, accept empty)
- Testcases:
- No testcase defined.
Source code: 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] }XQL Not present: Generic, PostgreSQL, Oracle