search::object_url (public)

 search::object_url -object_id object_id

Defined in packages/search/tcl/search-procs.tcl

Retrieves the object URL by invoking the proper callbacks.

Switches:
-object_id (required)
Returns:
URL

Partial Call Graph (max 5 caller/called nodes):
test_object_utilities object_utilities (test search) search::object_url search::object_url test_object_utilities->search::object_url acs_object_type acs_object_type (public) search::object_url->acs_object_type acs_sc::invoke acs_sc::invoke (public) search::object_url->acs_sc::invoke callback callback (public) search::object_url->callback callback::impl_exists callback::impl_exists (public) search::object_url->callback::impl_exists packages/search/www/search.tcl packages/search/ www/search.tcl packages/search/www/search.tcl->search::object_url

Testcases:
object_utilities
Source code:
    set object_type [acs_object_type $object_id]

    if {[callback::impl_exists -impl $object_type -callback search::url]} {
    return [callback -impl $object_type search::url -object_id $object_id]
    } else {
    return [acs_sc::invoke  -contract FtsContentProvider  -operation url  -call_args [list $object_id]  -impl $object_type]
    }
XQL Not present:
PostgreSQL
Generic XQL file:
packages/search/tcl/search-procs.xql

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

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