fs::notification::get_url (private)

 fs::notification::get_url object_id

Defined in packages/file-storage/tcl/file-storage-procs.tcl

This proc implements the GetURL operation of the NotificationType Service Contract and should not be invoked directly.

Parameters:
object_id (required)
Returns:
a full URL to the object_id. Handles folders.
Author:
Stan Kaufman <skaufman@epimetrics.com>
Created:
2005-02-28

Partial Call Graph (max 5 caller/called nodes):
%3 AcsSc.notificationtype.geturl.fs_fs_notif_type AcsSc.notificationtype.geturl.fs_fs_notif_type (private) fs::notification::get_url fs::notification::get_url AcsSc.notificationtype.geturl.fs_fs_notif_type->fs::notification::get_url ad_url ad_url (public) fs::notification::get_url->ad_url fs::get_folder_package_and_root fs::get_folder_package_and_root (public) fs::notification::get_url->fs::get_folder_package_and_root site_node::get_url_from_object_id site_node::get_url_from_object_id (public) fs::notification::get_url->site_node::get_url_from_object_id

Testcases:
No testcase defined.
Source code:
    set folder_id $object_id
    set package_id [lindex [fs::get_folder_package_and_root $folder_id] 0]
    set fs_package_url [lindex [site_node::get_url_from_object_id -object_id $package_id] 0]
    return "[ad_url]${fs_package_url}index?folder_id=$folder_id"
Generic XQL file:
packages/file-storage/tcl/file-storage-procs.xql

PostgreSQL XQL file:
packages/file-storage/tcl/file-storage-procs-postgresql.xql

Oracle XQL file:
packages/file-storage/tcl/file-storage-procs-oracle.xql

[ hide source ] | [ make this the default ]
Show another procedure: