party::get_not_cached (private)

 party::get_not_cached -party_id party_id

Defined in packages/acs-tcl/tcl/community-core-procs.tcl

Returns party information. Will also retrieve whether this party is also a person, a group, a user or a registered user and in this case also extra information belonging in referenced table will be extracted.

Switches:
-party_id (required)
id of the party
Returns:
dict containing party information. If no party was found, an empty dict will be returned.

Partial Call Graph (max 5 caller/called nodes):
%3 party::get party::get (public) party::get_not_cached party::get_not_cached party::get->party::get_not_cached db_0or1row db_0or1row (public) party::get_not_cached->db_0or1row

Testcases:
No testcase defined.
Source code:
    set party_p [db_0or1row party_info {
        select o.object_id,
               o.object_type,
               o.title,
               o.package_id,
               o.context_id,
               o.security_inherit_p,
               o.creation_user,
               o.creation_date,
               o.creation_ip,
               o.last_modified,
               o.modifying_user,
               o.modifying_ip,
               pa.party_id,
               pa.email,
               pa.url
        from parties pa,
             acs_objects o
        where o.object_id = pa.party_id
          and pa.party_id = :party_id
    } -column_array row]

    if {!$party_p} {
        return [list]
    } else {
        return [array get row]
    }
Generic XQL file:
packages/acs-tcl/tcl/community-core-procs.xql

PostgreSQL XQL file:
packages/acs-tcl/tcl/community-core-procs-postgresql.xql

Oracle XQL file:
packages/acs-tcl/tcl/community-core-procs-oracle.xql

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