site_node_apm_integration::child_package_exists_p (public)

 site_node_apm_integration::child_package_exists_p \
    [ -package_id package_id ] -package_key package_key

Defined in packages/acs-tcl/tcl/site-node-apm-integration-procs.tcl

This may become either a private interface or be deprecated in the future. In most cases, site_node::get_children is what you want. One difference is, this API is not cached, so it will always return the actual status from the database.

Switches:
-package_id (optional)
-package_key (required)
Returns:
1 if there exists a child package with the given package_key, or 0 if not.
See Also:

Partial Call Graph (max 5 caller/called nodes):
%3 test_attachments_enabled attachments_enabled (test calendar) site_node_apm_integration::child_package_exists_p site_node_apm_integration::child_package_exists_p test_attachments_enabled->site_node_apm_integration::child_package_exists_p site_node_apm_integration::get_child_package_id site_node_apm_integration::get_child_package_id (public) site_node_apm_integration::child_package_exists_p->site_node_apm_integration::get_child_package_id

Testcases:
attachments_enabled
Source code:
        set child_package_id [get_child_package_id  -package_id $package_id  -package_key $package_key ]

        if {$child_package_id eq ""} {
            return 0
        } else {
            return 1
        }
XQL Not present:
PostgreSQL, Oracle
Generic XQL file:
packages/acs-tcl/tcl/site-node-apm-integration-procs.xql

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