rss_gen_report_file (public)
rss_gen_report_file [ -summary_context_id summary_context_id ] \ [ -impl_name impl_name ] [ -subscr_id subscr_id ] [ -assert ]
Defined in packages/rss-support/tcl/rss-generation-service-procs.tcl
Return a file path for the rss subscription with subscr_id or impl_name + summary_context_id provided. If the -assert flag is set, the parent directory is created if it doesn't exist
- Switches:
- -summary_context_id (optional)
- -impl_name (optional)
- -subscr_id (optional)
- -assert (optional, boolean)
- Returns:
- a Unix file path.
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- No testcase defined.
Source code: if {!([info exists summary_context_id] && [info exists impl_name])} { if {![info exists subscr_id]} { error "rss_gen_report_file needs either subscr_id or impl_id+summary_context_id" } else { db_1row subscr_context_and_impl {} } } set report_dir [rss_gen_report_dir -summary_context_id $summary_context_id -impl_name $impl_name -assert=$assert_p] set report_file $report_dir/rss.xml return $report_fileGeneric XQL file: <fullquery name="rss_gen_report_file.subscr_context_and_impl"> <querytext> select s.summary_context_id, i.impl_name from rss_gen_subscrs s, acs_sc_impls i where i.impl_id = s.impl_id and s.subscr_id = :subscr_id </querytext> </fullquery>packages/rss-support/tcl/rss-generation-service-procs.xql
PostgreSQL XQL file: packages/rss-support/tcl/rss-generation-service-procs-postgresql.xql
Oracle XQL file: packages/rss-support/tcl/rss-generation-service-procs-oracle.xql