news::install::enable_intervals_and_methods (private)

 news::install::enable_intervals_and_methods type_id

Defined in packages/news/tcl/news-apm-callback-procs.tcl

Enable the intervals and delivery methods of a specific type

Parameters:
type_id (required)

Partial Call Graph (max 5 caller/called nodes):
%3 news::install::after_upgrade news::install::after_upgrade (private) news::install::enable_intervals_and_methods news::install::enable_intervals_and_methods news::install::after_upgrade->news::install::enable_intervals_and_methods news::install::register_notifications news::install::register_notifications (private) news::install::register_notifications->news::install::enable_intervals_and_methods notification::delivery::get_id notification::delivery::get_id (public) news::install::enable_intervals_and_methods->notification::delivery::get_id notification::interval::get_id_from_name notification::interval::get_id_from_name (public) news::install::enable_intervals_and_methods->notification::interval::get_id_from_name notification::type::delivery_method_enable notification::type::delivery_method_enable (public) news::install::enable_intervals_and_methods->notification::type::delivery_method_enable notification::type::interval_enable notification::type::interval_enable (public) news::install::enable_intervals_and_methods->notification::type::interval_enable

Testcases:
No testcase defined.
Source code:
    # Enable the various intervals and delivery method
    notification::type::interval_enable  -type_id $type_id  -interval_id [notification::interval::get_id_from_name -name instant]

    notification::type::interval_enable  -type_id $type_id  -interval_id [notification::interval::get_id_from_name -name hourly]

    notification::type::interval_enable  -type_id $type_id  -interval_id [notification::interval::get_id_from_name -name daily]

    # Enable the delivery methods
    notification::type::delivery_method_enable  -type_id $type_id  -delivery_method_id [notification::delivery::get_id -short_name email]
XQL Not present:
PostgreSQL, Oracle
Generic XQL file:
packages/news/tcl/news-apm-callback-procs.xql

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