rss_gen_report_dir (private)
rss_gen_report_dir [ -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 directory path, relative to the pageroot, for the rss subscription with subscr_id or impl_name + summary_context_id provided. If the assert flag is set, create the directory.
- Switches:
- -summary_context_id (optional)
- -impl_name (optional)
- -subscr_id (optional)
- -assert (optional, boolean)
- 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_dir needs either subscr_id or impl_id+summary_context_id" } else { db_1row subscr_context_and_impl {} } } set report_dir [acs_root_dir]/[parameter::get -package_id [rss_package_id] -parameter RssGenOutputDirectory -default rss]/$impl_name/$summary_context_id if {$assert_p} { file mkdir $report_dir } return $report_dirGeneric XQL file: <fullquery name="rss_gen_report_dir.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