| Publicity: |
|---|
| [Public Only | All] |
Procs of application data linking
- Location:
- packages/acs-tcl/tcl/application-data-link-procs.tcl
- Created:
- 2005-05-23
- Author:
- Timo Hentschel <timo@timohentschel.de>
application_data_link::delete_from_list (public)application_data_link::delete_from_list [ -object_id object_id ] \
[ -link_object_id_list link_object_id_list ]
Delete references |
application_data_link::delete_links (public)application_data_link::delete_links -object_id object_id Delete application data links for all objects linking to the given object_id. |
application_data_link::exist_link (public)application_data_link::exist_link -object_id object_id \
-target_object_id target_object_id
Check for the existence of a link from an object_id to a target_object_id |
application_data_link::get (public)application_data_link::get -object_id object_id Retrieves a list of object_ids for all objects linked to the given object_id. |
application_data_link::get_linked (public)application_data_link::get_linked -from_object_id from_object_id \
-to_object_type to_object_type
Gets the ID for the object linked to from_object_id and matches the to_object_type. |
application_data_link::get_linked_content (public)application_data_link::get_linked_content \
-from_object_id from_object_id -to_content_type to_content_type
Gets the content of the linked object. |
application_data_link::get_linked_content_not_cached (public)application_data_link::get_linked_content_not_cached \
-from_object_id from_object_id -to_content_type to_content_type
Gets the content of the linked object. |
application_data_link::get_linked_not_cached (public)application_data_link::get_linked_not_cached \
-from_object_id from_object_id -to_object_type to_object_type
Gets the ID for the object linked to from_object_id and matches the to_object_type. |
application_data_link::get_links_from (public)application_data_link::get_links_from -object_id object_id \
[ -to_type to_type ]
Get a list of objects that are linked from an object If to_type is a subtype of content_revision, we lookup content_items that have that content_type |
application_data_link::link_exists (public)application_data_link::link_exists [ -from_object_id from_object_id ] \
[ -to_object_id to_object_id ]
Check if a link exists, only checks in the directon requested. |
application_data_link::new (public)application_data_link::new -this_object_id this_object_id \
-target_object_id target_object_id
Create a new data link between this_object_id and target_object_id. |
application_data_link::new_from (public)application_data_link::new_from -object_id object_id \
-to_object_id to_object_id
Create a new data link between this_object_id and target_object_id. |
application_data_link::new_to (public)application_data_link::new_to -object_id object_id \
-from_object_id from_object_id
Create a new data link between this_object_id and target_object_id. |
application_data_link::scan_for_links (public)application_data_link::scan_for_links [ -text text ] Search for object references within text Supports /o/ /file/ /image/ object URL formats |
application_data_link::update_links_from (public)application_data_link::update_links_from [ -object_id object_id ] \
[ -text text ] [ -link_object_ids link_object_ids ]
Update the references to this object in the database |