news-apm-callback-procs.tcl

APM callbacks for the news package

Location:
packages/news/tcl/news-apm-callback-procs.tcl
Created:
2005-01-20
Author:
Dave Bauer <dave@thedesignexperience.org>
CVS Identification:
$Id: news-apm-callback-procs.tcl,v 1.6.2.4 2020/08/31 07:46:15 antoniop Exp $

Procedures in this file

Detailed information

news::install::after_install (private)

 news::install::after_install

Setup service contracts

Returns:
Error:
Author:
Dave Bauer <dave@thedesignexperience.org>
Created:
2005-01-20

Partial Call Graph (max 5 caller/called nodes):
%3 news::install::register_notifications news::install::register_notifications (private) news::install::register_rss news::install::register_rss (private) news::sc::register_news_fts_impl news::sc::register_news_fts_impl (private) news::install::after_install news::install::after_install news::install::after_install->news::install::register_notifications news::install::after_install->news::install::register_rss news::install::after_install->news::sc::register_news_fts_impl

Testcases:
No testcase defined.

news::install::after_instantiate (private)

 news::install::after_instantiate [ -package_id package_id ] \
    [ -node_id node_id ]

Setup RSS feed per package instance

Switches:
-package_id (optional)
-node_id (optional)
Returns:
Error:
Author:
Dave Bauer <dave@thedesignexperience.org>
Created:
2005-01-20

Partial Call Graph (max 5 caller/called nodes):
%3 rss_support::add_subscription rss_support::add_subscription (public) news::install::after_instantiate news::install::after_instantiate news::install::after_instantiate->rss_support::add_subscription

Testcases:
No testcase defined.

news::install::after_upgrade (private)

 news::install::after_upgrade [ -from_version_name from_version_name ] \
    [ -to_version_name to_version_name ]

Upgrade procedures

Switches:
-from_version_name (optional)
-to_version_name (optional)

Partial Call Graph (max 5 caller/called nodes):
%3 apm_upgrade_logic apm_upgrade_logic (public) news::install::create_news_item_impl news::install::create_news_item_impl (private) news::install::create_news_item_type news::install::create_news_item_type (private) news::install::enable_intervals_and_methods news::install::enable_intervals_and_methods (private) news::install::register_notifications news::install::register_notifications (private) news::install::after_upgrade news::install::after_upgrade news::install::after_upgrade->apm_upgrade_logic news::install::after_upgrade->news::install::create_news_item_impl news::install::after_upgrade->news::install::create_news_item_type news::install::after_upgrade->news::install::enable_intervals_and_methods news::install::after_upgrade->news::install::register_notifications

Testcases:
No testcase defined.

news::install::before_uninstantiate (private)

 news::install::before_uninstantiate [ -package_id package_id ]

Delete RSS feed per package instance Delete News items per package instance

Switches:
-package_id (optional)
Returns:
Error:
Author:
Stan Kaufman <skaufman@epimetrics.com>
Created:
2005-08-03

Partial Call Graph (max 5 caller/called nodes):
%3 db_list db_list (public) news_items_delete news_items_delete (public) rss_support::del_subscription rss_support::del_subscription (public) news::install::before_uninstantiate news::install::before_uninstantiate news::install::before_uninstantiate->db_list news::install::before_uninstantiate->news_items_delete news::install::before_uninstantiate->rss_support::del_subscription

Testcases:
No testcase defined.

news::install::create_news_item_impl (private)

 news::install::create_news_item_impl

Register the service contract implementation and return the impl_id

Returns:
impl_id of the created implementation

Partial Call Graph (max 5 caller/called nodes):
%3 news::install::after_upgrade news::install::after_upgrade (private) news::install::create_news_item_impl news::install::create_news_item_impl news::install::after_upgrade->news::install::create_news_item_impl news::install::register_notifications news::install::register_notifications (private) news::install::register_notifications->news::install::create_news_item_impl acs_sc::impl::new_from_spec acs_sc::impl::new_from_spec (public) news::install::create_news_item_impl->acs_sc::impl::new_from_spec

Testcases:
No testcase defined.

news::install::create_news_item_type (private)

 news::install::create_news_item_type impl_id

Create the notification type for one news item

Parameters:
impl_id (required)
Returns:
the type_id of the created type

Partial Call Graph (max 5 caller/called nodes):
%3 news::install::after_upgrade news::install::after_upgrade (private) news::install::create_news_item_type news::install::create_news_item_type news::install::after_upgrade->news::install::create_news_item_type news::install::register_notifications news::install::register_notifications (private) news::install::register_notifications->news::install::create_news_item_type notification::type::new notification::type::new (public) news::install::create_news_item_type->notification::type::new

Testcases:
No testcase defined.

news::install::enable_intervals_and_methods (private)

 news::install::enable_intervals_and_methods type_id

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.

news::install::register_notifications (private)

 news::install::register_notifications

setup notifications

Partial Call Graph (max 5 caller/called nodes):
%3 news::install::after_install news::install::after_install (private) news::install::register_notifications news::install::register_notifications news::install::after_install->news::install::register_notifications news::install::after_upgrade news::install::after_upgrade (private) news::install::after_upgrade->news::install::register_notifications db_transaction db_transaction (public) news::install::register_notifications->db_transaction news::install::create_news_item_impl news::install::create_news_item_impl (private) news::install::register_notifications->news::install::create_news_item_impl news::install::create_news_item_type news::install::create_news_item_type (private) news::install::register_notifications->news::install::create_news_item_type news::install::enable_intervals_and_methods news::install::enable_intervals_and_methods (private) news::install::register_notifications->news::install::enable_intervals_and_methods

Testcases:
No testcase defined.

news::install::register_rss (private)

 news::install::register_rss

setup RSS support

Partial Call Graph (max 5 caller/called nodes):
%3 news::install::after_install news::install::after_install (private) news::install::register_rss news::install::register_rss news::install::after_install->news::install::register_rss news::install::after_upgrade news::install::after_upgrade (private) news::install::after_upgrade->news::install::register_rss acs_sc::impl::new_from_spec acs_sc::impl::new_from_spec (public) news::install::register_rss->acs_sc::impl::new_from_spec

Testcases:
No testcase defined.
[ show source ]