site-node-apm-integration-procs.tcl

site node / apm integration procs

Location:
packages/acs-tcl/tcl/site-node-apm-integration-procs.tcl
Created:
2002-07-10
Authors:
arjun <arjun@openforce.net>
yon <yon@openforce.net>
CVS Identification:
$Id: site-node-apm-integration-procs.tcl,v 1.16 2024/09/11 06:15:48 gustafn Exp $

Procedures in this file

Detailed information

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

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

site_node_apm_integration::delete_site_nodes_and_package (public)

 site_node_apm_integration::delete_site_nodes_and_package \
    -package_id package_id

First deletes ALL the site nodes this instance is mapped to, then deletes the instance.

Switches:
-package_id (required)

Partial Call Graph (max 5 caller/called nodes):
%3 apm_package_instance_delete apm_package_instance_delete (public) db_transaction db_transaction (public) site_node::delete site_node::delete (public) site_node::get_all_from_object_id site_node::get_all_from_object_id (public) site_node::unmount site_node::unmount (public) site_node_apm_integration::delete_site_nodes_and_package site_node_apm_integration::delete_site_nodes_and_package site_node_apm_integration::delete_site_nodes_and_package->apm_package_instance_delete site_node_apm_integration::delete_site_nodes_and_package->db_transaction site_node_apm_integration::delete_site_nodes_and_package->site_node::delete site_node_apm_integration::delete_site_nodes_and_package->site_node::get_all_from_object_id site_node_apm_integration::delete_site_nodes_and_package->site_node::unmount

Testcases:
No testcase defined.

site_node_apm_integration::get_child_package_id (public)

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

Get the package_id of package_key that is mounted directly under package_id. 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:
empty string if not found.
See Also:

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

Testcases:
attachments_enabled
[ show source ]