• Publicity: Public Only All

content-symlink-procs.tcl

Procedures for content symlink

Location:
packages/acs-content-repository/tcl/content-symlink-procs.tcl
Created:
2004-06-09
Author:
Dave Bauer <dave@thedesignexperience.org>
CVS Identification:
$Id: content-symlink-procs.tcl,v 1.8 2018/08/15 16:24:28 gustafn Exp $

Procedures in this file

Detailed information

content::symlink::copy (public)

 content::symlink::copy -symlink_id symlink_id \
    -target_folder_id target_folder_id -creation_user creation_user \
    [ -creation_ip creation_ip ]
Switches:
-symlink_id (required)
-target_folder_id (required)
-creation_user (required)
-creation_ip (optional)

Testcases:
No testcase defined.

content::symlink::delete (public)

 content::symlink::delete -symlink_id symlink_id
Switches:
-symlink_id (required)

Testcases:
No testcase defined.

content::symlink::is_symlink (public)

 content::symlink::is_symlink -item_id item_id
Switches:
-item_id (required)
Returns:
CHAR

Testcases:
No testcase defined.

content::symlink::new (public)

 content::symlink::new [ -name name ] [ -label label ] \
    -target_id target_id -parent_id parent_id \
    [ -symlink_id symlink_id ] [ -creation_date creation_date ] \
    [ -creation_user creation_user ] [ -creation_ip creation_ip ]

This procedure allows you to create a new Symlink

Switches:
-name (optional)
Name of the new content item. Used instead of "symlink_to_item target_id"
-label (optional)
-target_id (required)
Item_id of the item to which the link should point
-parent_id (required)
item_id (preferably folder_id) of the parent (folder) where the link is associated and shown in.
-symlink_id (optional)
-creation_date (optional)
-creation_user (optional)
-creation_ip (optional)
Returns:
NUMBER(38)

Testcases:
fs_publish_file

content::symlink::resolve (public)

 content::symlink::resolve -item_id item_id

Return the item_id of the target item to which the symlink points

Switches:
-item_id (required)
item_id of the symlink
Returns:
NUMBER(38)

Testcases:
No testcase defined.

content::symlink::resolve_content_type (public)

 content::symlink::resolve_content_type -item_id item_id
Switches:
-item_id (required)
Returns:
VARCHAR2(100)

Testcases:
No testcase defined.
[ show source ]