• Publicity: Public Only All

rss-support-procs.tcl

Procedure to add subscriptions

Location:
packages/rss-support/tcl/rss-support-procs.tcl
Created:
2005-01-22
Author:
Dave Bauer <dave@thedesignexperience.org>
CVS Identification:
$Id: rss-support-procs.tcl,v 1.8.2.3 2024/07/22 13:58:39 antoniop Exp $

Procedures in this file

Detailed information

rss_support::add_subscription (public)

 rss_support::add_subscription -summary_context_id summary_context_id \
    -impl_name impl_name -owner owner [ -creation_user creation_user ] \
    [ -creation_ip creation_ip ] [ -object_type object_type ] \
    [ -timeout timeout ] [ -lastbuild lastbuild ] \
    [ -context_id context_id ] [ -creation_date creation_date ]
Switches:
-summary_context_id (required)
object_id to subscribe to
-impl_name (required)
RssGenSubscr service contract implementation name
-owner (required)
-creation_user (optional)
-creation_ip (optional)
-object_type (optional, defaults to "rss_gen_subscr")
object type to create
-timeout (optional, defaults to "3600")
time between rebuilds of the rss feed
-lastbuild (optional)
-context_id (optional)
object this subscription inherits from
-creation_date (optional)
date and time subscription was created
Returns:
subscr_id
Error:
Author:
Dave Bauer <dave@thedesignexperience.org>
Created:
2005-01-22

Partial Call Graph (max 5 caller/called nodes):
%3 news::install::after_instantiate news::install::after_instantiate (private) rss_support::add_subscription rss_support::add_subscription news::install::after_instantiate->rss_support::add_subscription packages/news/www/admin/rss.tcl packages/news/ www/admin/rss.tcl packages/news/www/admin/rss.tcl->rss_support::add_subscription db_string db_string (public) rss_support::add_subscription->db_string package_exec_plsql package_exec_plsql (public) rss_support::add_subscription->package_exec_plsql

Testcases:
No testcase defined.

rss_support::del_subscription (public)

 rss_support::del_subscription \
    [ -summary_context_id summary_context_id ] \
    [ -impl_name impl_name ] [ -owner owner ]
Switches:
-summary_context_id (optional)
summary context id to delete
-impl_name (optional)
implementation name to delete
-owner (optional)
owner package of implementation
Returns:
Error:
Author:
Dave Bauer <dave@thedesignexperience.org>
Created:
2005-01-23

Partial Call Graph (max 5 caller/called nodes):
%3 news::install::before_uninstantiate news::install::before_uninstantiate (private) rss_support::del_subscription rss_support::del_subscription news::install::before_uninstantiate->rss_support::del_subscription packages/news/www/admin/rss.tcl packages/news/ www/admin/rss.tcl packages/news/www/admin/rss.tcl->rss_support::del_subscription package_exec_plsql package_exec_plsql (public) rss_support::del_subscription->package_exec_plsql rss_gen_report_dir rss_gen_report_dir (private) rss_support::del_subscription->rss_gen_report_dir rss_support::get_subscr_id rss_support::get_subscr_id (public) rss_support::del_subscription->rss_support::get_subscr_id rss_support::subscription_exists rss_support::subscription_exists (public) rss_support::del_subscription->rss_support::subscription_exists

Testcases:
No testcase defined.

rss_support::get_subscr_id (public)

 rss_support::get_subscr_id [ -summary_context_id summary_context_id ] \
    [ -impl_name impl_name ] [ -owner owner ]

Return subscription id

Switches:
-summary_context_id (optional)
Object_id subscribed to
-impl_name (optional)
Implementation (object_type) name
-owner (optional)
Owner of implementation (package_key)
Returns:
Error:
Author:
Dave Bauer <dave@thedesignexperience.org>
Created:
2005-02-04

Partial Call Graph (max 5 caller/called nodes):
%3 news_update_rss news_update_rss (private) rss_support::get_subscr_id rss_support::get_subscr_id news_update_rss->rss_support::get_subscr_id rss_support::del_subscription rss_support::del_subscription (public) rss_support::del_subscription->rss_support::get_subscr_id db_string db_string (public) rss_support::get_subscr_id->db_string

Testcases:
No testcase defined.

rss_support::subscription_exists (public)

 rss_support::subscription_exists \
    [ -summary_context_id summary_context_id ] \
    [ -impl_name impl_name ]

Check if a subscription exists

Switches:
-summary_context_id (optional)
summary context id to check
-impl_name (optional)
Returns:
Error:
Author:
Dave Bauer <dave@thedesignexperience.org>
Created:
2005-01-23

Partial Call Graph (max 5 caller/called nodes):
%3 packages/news/www/admin/approve-2.tcl packages/news/ www/admin/approve-2.tcl rss_support::subscription_exists rss_support::subscription_exists packages/news/www/admin/approve-2.tcl->rss_support::subscription_exists packages/news/www/admin/index.tcl packages/news/ www/admin/index.tcl packages/news/www/admin/index.tcl->rss_support::subscription_exists packages/news/www/admin/rss.tcl packages/news/ www/admin/rss.tcl packages/news/www/admin/rss.tcl->rss_support::subscription_exists packages/news/www/index.tcl packages/news/ www/index.tcl packages/news/www/index.tcl->rss_support::subscription_exists packages/news/www/item-create-3.tcl packages/news/ www/item-create-3.tcl packages/news/www/item-create-3.tcl->rss_support::subscription_exists db_string db_string (public) rss_support::subscription_exists->db_string

Testcases:
No testcase defined.
[ show source ]