callback::search::url::impl::file_storage_object (private)

 callback::search::url::impl::file_storage_object -object_id object_id

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

Return the URL to the file_storage_object

Switches:
-object_id (required)
See Also:

Partial Call Graph (max 5 caller/called nodes):
%3 ad_url ad_url (public) content::revision::item_id content::revision::item_id (public) db_string db_string (public) callback::search::url::impl::file_storage_object callback::search::url::impl::file_storage_object callback::search::url::impl::file_storage_object->ad_url callback::search::url::impl::file_storage_object->content::revision::item_id callback::search::url::impl::file_storage_object->db_string

Testcases:
No testcase defined.
Source code:
    ::callback::search::url::contract__arg_parser {*}$args

    set item_id [content::revision::item_id -revision_id $object_id]
    set name [db_string item {
        select name from cr_items where item_id = :item_id
    } -default ""]
    return "[ad_url]/file/$item_id/$name"
XQL Not present:
Generic
PostgreSQL XQL file:
packages/file-storage/tcl/file-storage-callback-procs-postgresql.xql

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

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