content_symlink::new (public, deprecated)
content_symlink::new [ -symlink_id symlink_id ] -target_id target_id \
-parent_id parent_id [ -name name ] [ -label label ] \
[ -package_id package_id ]Defined in packages/acs-content-repository/tcl/deprecated-procs.tcl
Deprecated. Invoking this procedure generates a warning.
Create a new internal link.
- Switches:
- -symlink_id (optional)
- Optional pre-assigned object_id for the link
- -target_id (required)
- The item_id of the target of the link
- -parent_id (required)
- The folder that will contain this symlink
- -name (optional)
- Name to assign the object (defaults to the name of the target item)
- -label (optional)
- Label for the symlink (defaults to the URL)
- -package_id (optional)
- Package Id of the package that created the link
- See Also:
- Testcases:
- No testcase defined.
Source code: ad_log_deprecated proc content_symlink::new set creation_user [ad_conn user_id] set creation_ip [ad_conn peeraddr] if {$package_id eq ""} { set package_id [ad_conn package_id] } return [db_exec_plsql symlink_new {}]Generic XQL file: packages/acs-content-repository/tcl/deprecated-procs.xql
PostgreSQL XQL file: <fullquery name="content_symlink::new.symlink_new"> <querytext> select content_symlink__new ( :name, :label, :target_id, :parent_id, :symlink_id, current_timestamp, :creation_user, :creation_ip, :package_id ); </querytext> </fullquery>packages/acs-content-repository/tcl/deprecated-procs-postgresql.xql
Oracle XQL file: <fullquery name="content_symlink::new.symlink_new"> <querytext> begin :1 := content_symlink.new ( name => :name, target_id => :target_id, label => :label, parent_id => :parent_id, symlink_id => :symlink_id, creation_user => :creation_user, creation_ip => :creation_ip, package_id => :package_id ); end; </querytext> </fullquery>packages/acs-content-repository/tcl/deprecated-procs-oracle.xql