auth::authority::get_not_cached (private)

 auth::authority::get_not_cached authority_id

Defined in packages/acs-authentication/tcl/authority-procs.tcl

Get info about an authority, either by authority_id, user_id, or authority short_name. Not cached

Parameters:
authority_id (required)
See Also:

Partial Call Graph (max 5 caller/called nodes):
%3 auth::authority::get auth::authority::get (public) auth::authority::get_not_cached auth::authority::get_not_cached auth::authority::get->auth::authority::get_not_cached ad_acs_version ad_acs_version (public) auth::authority::get_not_cached->ad_acs_version apm_version_names_compare apm_version_names_compare (public) auth::authority::get_not_cached->apm_version_names_compare auth::authority::get_columns auth::authority::get_columns (private) auth::authority::get_not_cached->auth::authority::get_columns db_1row db_1row (public) auth::authority::get_not_cached->db_1row

Testcases:
No testcase defined.
Source code:
    set columns [get_columns]

    lappend columns  "(select impl_pretty_name from acs_sc_impls where impl_id = auth_impl_id) as auth_impl_name"  "(select impl_pretty_name from acs_sc_impls where impl_id = pwd_impl_id) as pwd_impl_name"  "(select impl_pretty_name from acs_sc_impls where impl_id = register_impl_id) as register_impl_name"  "(select impl_pretty_name from acs_sc_impls where impl_id = user_info_impl_id) as user_info_impl_name"

    if {[apm_version_names_compare [ad_acs_version] 5.5.0] > -1} {
        lappend columns "(select impl_pretty_name from acs_sc_impls where impl_id = search_impl_id) as search_impl_name"
    }
    lappend columns  "(select impl_pretty_name from acs_sc_impls where impl_id = get_doc_impl_id) as get_doc_impl_name"  "(select impl_pretty_name from acs_sc_impls where impl_id = process_doc_impl_id) as process_doc_impl_name"

    db_1row select_authority [subst {
        select     [join $columns ",\n                   "]
        from       auth_authorities
        where      authority_id = :authority_id
    }] -column_array row

    return [array get row]
Generic XQL file:
packages/acs-authentication/tcl/authority-procs.xql

PostgreSQL XQL file:
packages/acs-authentication/tcl/authority-procs-postgresql.xql

Oracle XQL file:
packages/acs-authentication/tcl/authority-procs-oracle.xql

[ hide source ] | [ make this the default ]
Show another procedure: