Index: openacs-4/packages/acs-content-repository/www/doc/api/symlink.html =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-content-repository/www/doc/api/symlink.html,v diff -u -r1.2 -r1.3 --- openacs-4/packages/acs-content-repository/www/doc/api/symlink.html 27 Oct 2014 16:39:14 -0000 1.2 +++ openacs-4/packages/acs-content-repository/www/doc/api/symlink.html 7 Aug 2017 23:47:47 -0000 1.3 @@ -1,323 +1,324 @@ - -
--Content Repository : content_symlink -
- - -
Symlinks are pointers to items within the content repository. -They are simply used to create links between content items. -
-- -
- - -
Determines if the item is a symlink -
- -Author: | Karl Goldstein | |||
---|---|---|---|---|
Returns: | 't' if the item is a symlink, 'f' otherwise | |||
Parameters: | ||||
-
- - |
- ||||
Declaration: | ||||
--function is_symlink ( - item_id in cr_items.item_id%TYPE -) return char; - -- | ||||
See Also: | content_symlink.new, content_symlink.resolve |
- -
-
Create a new symlink, linking two items -
- -Author: | Karl Goldstein | ||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Returns: | The id of the newly created symlink | ||||||||||||||||||||||||
Parameters: | |||||||||||||||||||||||||
-
- - |
- |||||||||||||||||||||||||
Declaration: | |||||||||||||||||||||||||
--function new ( - name in cr_items.name%TYPE default null, - label in cr_symlinks.label%TYPE default null, - target_id in cr_items.item_id%TYPE, - parent_id in acs_objects.context_id%TYPE, - symlink_id in cr_symlinks.symlink_id%TYPE default null, - creation_date in acs_objects.creation_date%TYPE - default sysdate, - creation_user in acs_objects.creation_user%TYPE - default null, - creation_ip in acs_objects.creation_ip%TYPE default null -) return cr_symlinks.symlink_id%TYPE; - -- | |||||||||||||||||||||||||
See Also: | acs_object.new, content_item.new, content_symlink.resolve |
- -
-
Resolves the symlink and returns the target item id. -
- -Author: | Karl Goldstein | |||
---|---|---|---|---|
Returns: | The target item of the symlink, or the original item id if -the item is not in fact a symlink | |||
Parameters: | ||||
-
- - |
- ||||
Declaration: | ||||
--function resolve ( - item_id in cr_items.item_id%TYPE -) return cr_items.item_id%TYPE; - -- | ||||
See Also: | content_symlink.new, content_symlink.is_symlink |
- -
-
Gets the content type of the target item. -
- -Author: | Michael Pih | |||
---|---|---|---|---|
Returns: | The content type of the symlink target, otherwise null. -the item is not in fact a symlink | |||
Parameters: | ||||
-
- - |
- ||||
Declaration: | ||||
--function resolve_content_type ( - item_id in cr_items.item_id%TYPE -) return cr_items.content_type%TYPE; - -- | ||||
See Also: | content_symlink.resolve |
- -
-
Copies the symlink itself to another folder, without resolving the symlink -
- -Author: | Karl Goldstein | ||||||
---|---|---|---|---|---|---|---|
Parameters: | |||||||
-
- - |
- |||||||
Declaration: | |||||||
--procedure copy ( - symlink_id in cr_symlinks.symlink_id%TYPE, - target_folder_id in cr_folders.folder_id%TYPE -); - -- | |||||||
See Also: | content_symlink.new, content_item.copy |
- -
-
Deletes the symlink -
- -Author: | Karl Goldstein | |||
---|---|---|---|---|
Parameters: | ||||
-
- - |
- ||||
Declaration: | ||||
--procedure delete ( - symlink_id in cr_symlinks.symlink_id%TYPE -); - -- | ||||
See Also: | content_symlink.new, acs_object.delete |
- -
- - -Last Modified: $Id$ - - - + + +
+Content Repository : content_symlink +
+ + +
Symlinks are pointers to items within the content repository. +They are simply used to create links between content items. +
++ +
+ + +
Determines if the item is a symlink +
+ +Author: | Karl Goldstein | |||
---|---|---|---|---|
Returns: | 't' if the item is a symlink, 'f' otherwise | |||
Parameters: | ||||
+
+ + |
+ ||||
Declaration: | ||||
++function is_symlink ( + item_id in cr_items.item_id%TYPE +) return char; + ++ | ||||
See Also: | content_symlink.new, content_symlink.resolve |
+ +
+
Create a new symlink, linking two items +
+ +Author: | Karl Goldstein | ||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Returns: | The id of the newly created symlink | ||||||||||||||||||||||||
Parameters: | |||||||||||||||||||||||||
+
+ + |
+ |||||||||||||||||||||||||
Declaration: | |||||||||||||||||||||||||
++function new ( + name in cr_items.name%TYPE default null, + label in cr_symlinks.label%TYPE default null, + target_id in cr_items.item_id%TYPE, + parent_id in acs_objects.context_id%TYPE, + symlink_id in cr_symlinks.symlink_id%TYPE default null, + creation_date in acs_objects.creation_date%TYPE + default sysdate, + creation_user in acs_objects.creation_user%TYPE + default null, + creation_ip in acs_objects.creation_ip%TYPE default null +) return cr_symlinks.symlink_id%TYPE; + ++ | |||||||||||||||||||||||||
See Also: | acs_object.new, content_item.new, content_symlink.resolve |
+ +
+
Resolves the symlink and returns the target item id. +
+ +Author: | Karl Goldstein | |||
---|---|---|---|---|
Returns: | The target item of the symlink, or the original item id if +the item is not in fact a symlink | |||
Parameters: | ||||
+
+ + |
+ ||||
Declaration: | ||||
++function resolve ( + item_id in cr_items.item_id%TYPE +) return cr_items.item_id%TYPE; + ++ | ||||
See Also: | content_symlink.new, content_symlink.is_symlink |
+ +
+
Gets the content type of the target item. +
+ +Author: | Michael Pih | |||
---|---|---|---|---|
Returns: | The content type of the symlink target, otherwise null. +the item is not in fact a symlink | |||
Parameters: | ||||
+
+ + |
+ ||||
Declaration: | ||||
++function resolve_content_type ( + item_id in cr_items.item_id%TYPE +) return cr_items.content_type%TYPE; + ++ | ||||
See Also: | content_symlink.resolve |
+ +
+
Copies the symlink itself to another folder, without resolving the symlink +
+ +Author: | Karl Goldstein | ||||||
---|---|---|---|---|---|---|---|
Parameters: | |||||||
+
+ + |
+ |||||||
Declaration: | |||||||
++procedure copy ( + symlink_id in cr_symlinks.symlink_id%TYPE, + target_folder_id in cr_folders.folder_id%TYPE +); + ++ | |||||||
See Also: | content_symlink.new, content_item.copy |
+ +
+
Deletes the symlink +
+ +Author: | Karl Goldstein | |||
---|---|---|---|---|
Parameters: | ||||
+
+ + |
+ ||||
Declaration: | ||||
++procedure delete ( + symlink_id in cr_symlinks.symlink_id%TYPE +); + ++ | ||||
See Also: | content_symlink.new, acs_object.delete |
+
+ + +Last Modified: $Id$ + + +