file-storage-rss-procs.tcl


Procedures in this file

Detailed information

fs::rss::build_feeds (private)

 fs::rss::build_feeds folder_id

Builds all rss feeds for a folder.

Parameters:
folder_id
Author:
Andrew Grumet <aegrumet@alum.mit.edu>

Partial Call Graph (max 5 caller/called nodes):
%3 fs::add_created_version fs::add_created_version (public, deprecated) fs::rss::build_feeds fs::rss::build_feeds fs::add_created_version->fs::rss::build_feeds fs::add_version fs::add_version (public) fs::add_version->fs::rss::build_feeds db_list db_list (public) fs::rss::build_feeds->db_list rss_gen_report rss_gen_report (public) fs::rss::build_feeds->rss_gen_report

Testcases:
No testcase defined.

fs::rss::create_rss_gen_subscr_impl (private)

 fs::rss::create_rss_gen_subscr_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 fs::install::package_install fs::install::package_install (private) fs::rss::create_rss_gen_subscr_impl fs::rss::create_rss_gen_subscr_impl fs::install::package_install->fs::rss::create_rss_gen_subscr_impl fs::install::upgrade fs::install::upgrade (private) fs::install::upgrade->fs::rss::create_rss_gen_subscr_impl acs_sc::impl::new_from_spec acs_sc::impl::new_from_spec (public) fs::rss::create_rss_gen_subscr_impl->acs_sc::impl::new_from_spec fs::rss::datasource fs::rss::datasource (private) fs::rss::create_rss_gen_subscr_impl->fs::rss::datasource fs::rss::lastUpdated fs::rss::lastUpdated (private) fs::rss::create_rss_gen_subscr_impl->fs::rss::lastUpdated

Testcases:
No testcase defined.

fs::rss::datasource (private)

 fs::rss::datasource summary_context_id

This procedure implements the "datasource" operation of the RssGenerationSubscriber service contract. Important: in this implementation, the summary_context_id is equal to the subscription_id, which we use to key into the fs_rss_subscrs table to find the folder_id.

Parameters:
summary_context_id
Author:
Andrew Grumet <aegrumet@alum.mit.edu>

Partial Call Graph (max 5 caller/called nodes):
%3 AcsSc.rssgenerationsubscriber.datasource.fs_rss AcsSc.rssgenerationsubscriber.datasource.fs_rss (private) fs::rss::datasource fs::rss::datasource AcsSc.rssgenerationsubscriber.datasource.fs_rss->fs::rss::datasource fs::rss::create_rss_gen_subscr_impl fs::rss::create_rss_gen_subscr_impl (private) fs::rss::create_rss_gen_subscr_impl->fs::rss::datasource ad_system_name ad_system_name (public) fs::rss::datasource->ad_system_name ad_url ad_url (public) fs::rss::datasource->ad_url content::item::get_virtual_path content::item::get_virtual_path (public) fs::rss::datasource->content::item::get_virtual_path db_1row db_1row (public) fs::rss::datasource->db_1row db_foreach db_foreach (public) fs::rss::datasource->db_foreach

Testcases:
No testcase defined.

fs::rss::drop_rss_gen_subscr_impl (private)

 fs::rss::drop_rss_gen_subscr_impl

Unegister 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 fs::install::package_uninstall fs::install::package_uninstall (private) fs::rss::drop_rss_gen_subscr_impl fs::rss::drop_rss_gen_subscr_impl fs::install::package_uninstall->fs::rss::drop_rss_gen_subscr_impl acs_sc::impl::delete acs_sc::impl::delete (public) fs::rss::drop_rss_gen_subscr_impl->acs_sc::impl::delete

Testcases:
No testcase defined.

fs::rss::lastUpdated (private)

 fs::rss::lastUpdated summary_context_id

Returns the time that the last file was modified, in Unix time. Returns 0 otherwise.

Parameters:
summary_context_id
Author:
Andrew Grumet <aegrumet@alum.mit.edu>

Partial Call Graph (max 5 caller/called nodes):
%3 AcsSc.rssgenerationsubscriber.lastupdated.fs_rss AcsSc.rssgenerationsubscriber.lastupdated.fs_rss (private) fs::rss::lastUpdated fs::rss::lastUpdated AcsSc.rssgenerationsubscriber.lastupdated.fs_rss->fs::rss::lastUpdated fs::rss::create_rss_gen_subscr_impl fs::rss::create_rss_gen_subscr_impl (private) fs::rss::create_rss_gen_subscr_impl->fs::rss::lastUpdated db_1row db_1row (public) fs::rss::lastUpdated->db_1row

Testcases:
No testcase defined.
[ show source ]