group::get_rel_segment (public)

 group::get_rel_segment -group_id group_id -type type

Defined in packages/acs-subsite/tcl/group-procs.tcl

Get a segment for a particular relation type for a given group.

Switches:
-group_id (required)
-type (required)

Partial Call Graph (max 5 caller/called nodes):
%3 test_acs_subsite_rel_segment_new acs_subsite_rel_segment_new (test acs-subsite) group::get_rel_segment group::get_rel_segment test_acs_subsite_rel_segment_new->group::get_rel_segment test_test_inheritance_and_custom_permissions test_inheritance_and_custom_permissions (test acs-tcl) test_test_inheritance_and_custom_permissions->group::get_rel_segment db_string db_string (public) group::get_rel_segment->db_string install::xml::object_id::application-group install::xml::object_id::application-group (public) install::xml::object_id::application-group->group::get_rel_segment install::xml::object_id::group install::xml::object_id::group (public) install::xml::object_id::group->group::get_rel_segment packages/acs-subsite/www/permissions/toggle-inherit.tcl packages/acs-subsite/ www/permissions/toggle-inherit.tcl packages/acs-subsite/www/permissions/toggle-inherit.tcl->group::get_rel_segment

Testcases:
acs_subsite_rel_segment_new, test_inheritance_and_custom_permissions
Source code:
    return [db_string select_segment_id {
        select segment_id from rel_segments
        where group_id = :group_id and rel_type = :type
    }]
XQL Not present:
Generic
PostgreSQL XQL file:
packages/acs-subsite/tcl/group-procs-postgresql.xql

Oracle XQL file:
packages/acs-subsite/tcl/group-procs-oracle.xql

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