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 (required)
Author:
Andrew Grumet <aegrumet@alum.mit.edu>

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

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 (required)
Author:
Andrew Grumet <aegrumet@alum.mit.edu>

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

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 (required)
Author:
Andrew Grumet <aegrumet@alum.mit.edu>

Testcases:
No testcase defined.
[ show source ]