file-storage-callback-procs.tcl

Callback procs for file storage

Location:
packages/file-storage/tcl/file-storage-callback-procs.tcl
Created:
2005-06-15
Author:
Malte Sussdorff <sussdorff@sussdorff.de>
CVS Identification:
$Id: file-storage-callback-procs.tcl,v 1.17.2.1 2021/03/31 11:32:54 gustafn Exp $

Procedures in this file

Detailed information

callback::application-track::getApplicationName::impl::file_storage (private)

 callback::application-track::getApplicationName::impl::file_storage

Callback implementation

See Also:
  • callback::application-track::getApplicationName::contract

Partial Call Graph (max 5 caller/called nodes):
%3

Testcases:
No testcase defined.

callback::application-track::getGeneralInfo::impl::file_storage (private)

 callback::application-track::getGeneralInfo::impl::file_storage

Callback implementation

See Also:
  • callback::application-track::getGeneralInfo::contract

Partial Call Graph (max 5 caller/called nodes):
%3 db_1row db_1row (public) callback::application-track::getGeneralInfo::impl::file_storage callback::application-track::getGeneralInfo::impl::file_storage callback::application-track::getGeneralInfo::impl::file_storage->db_1row

Testcases:
No testcase defined.

callback::application-track::getSpecificInfo::impl::file_storage (private)

 callback::application-track::getSpecificInfo::impl::file_storage

Callback implementation

See Also:
  • callback::application-track::getSpecificInfo::contract

Partial Call Graph (max 5 caller/called nodes):
%3

Testcases:
No testcase defined.

callback::datamanager::copy_folder::impl::datamanager (private)

 callback::datamanager::copy_folder::impl::datamanager \
    -object_id object_id -selected_community selected_community \
    [ -mode mode ]

Copy a folder to another class or community

Switches:
-object_id (required)
-selected_community (required)
-mode (optional, defaults to "both")
See Also:
  • callback::datamanager::copy_folder::contract

Partial Call Graph (max 5 caller/called nodes):
%3

Testcases:
No testcase defined.

callback::fs::before_file_new::contract (private)

 callback::fs::before_file_new::contract -package_id package_id \
    -folder_id folder_id -cancel_url cancel_url -return_url return_url

This can be used to check for confirmation before upload to folder

Switches:
-package_id (required)
-folder_id (required)
-cancel_url (required)
-return_url (required)

Partial Call Graph (max 5 caller/called nodes):
%3

Testcases:
No testcase defined.

callback::fs::file_delete::contract (private)

 callback::fs::file_delete::contract -package_id package_id \
    -file_id file_id

Append extra logics to file deletion.

Switches:
-package_id (required)
-file_id (required)

Partial Call Graph (max 5 caller/called nodes):
%3

Testcases:
No testcase defined.

callback::fs::file_edit::contract (private)

 callback::fs::file_edit::contract -package_id package_id \
    -file_id file_id

Append extra logics to file editing.

Switches:
-package_id (required)
-file_id (required)

Partial Call Graph (max 5 caller/called nodes):
%3

Testcases:
No testcase defined.

callback::fs::file_new::contract (private)

 callback::fs::file_new::contract -package_id package_id \
    -file_id file_id

Append extra logics to file creation.

Switches:
-package_id (required)
-file_id (required)

Partial Call Graph (max 5 caller/called nodes):
%3

Testcases:
No testcase defined.

callback::fs::file_revision_new::contract (private)

 callback::fs::file_revision_new::contract -package_id package_id \
    -file_id file_id -parent_id parent_id \
    [ -creation_user creation_user ] [ -creation_ip creation_ip ]

Callback executed when a new file revision is created

Switches:
-package_id (required)
Package_id of the file storage package
-file_id (required)
New file_id for the revision
-parent_id (required)
Usually, the folder the file was uploaded to.
-creation_user (optional)
User_id of the user creating the revision
-creation_ip (optional)
IP of the creation

Partial Call Graph (max 5 caller/called nodes):
%3

Testcases:
No testcase defined.

callback::fs::folder_chunk::add_bulk_actions::contract (private)

 callback::fs::folder_chunk::add_bulk_actions::contract \
    -bulk_variable bulk_variable -folder_id folder_id \
    -var_export_list var_export_list

Insert additional bulk_action in folder-chunk UI list template

Switches:
-bulk_variable (required)
-folder_id (required)
-var_export_list (required)

Partial Call Graph (max 5 caller/called nodes):
%3

Testcases:
No testcase defined.

callback::fs::folder_delete::contract (private)

 callback::fs::folder_delete::contract -package_id package_id \
    -folder_id folder_id

Append extra logics to folder deletion.

Switches:
-package_id (required)
-folder_id (required)

Partial Call Graph (max 5 caller/called nodes):
%3

Testcases:
No testcase defined.

callback::fs::folder_edit::contract (private)

 callback::fs::folder_edit::contract -package_id package_id \
    -folder_id folder_id

Append extra logics to folder editing.

Switches:
-package_id (required)
-folder_id (required)

Partial Call Graph (max 5 caller/called nodes):
%3

Testcases:
No testcase defined.

callback::fs::folder_new::contract (private)

 callback::fs::folder_new::contract -package_id package_id \
    -folder_id folder_id

Append extra logics to folder creation.

Switches:
-package_id (required)
-folder_id (required)

Partial Call Graph (max 5 caller/called nodes):
%3

Testcases:
No testcase defined.

callback::pm::project_new::impl::file_storage (private)

 callback::pm::project_new::impl::file_storage -package_id package_id \
    -project_id project_id

Create a new folder for each new project

Switches:
-package_id (required)
-project_id (required)
See Also:
  • callback::pm::project_new::contract

Partial Call Graph (max 5 caller/called nodes):
%3 application_data_link::new application_data_link::new (public) application_link::get_linked application_link::get_linked (public) fs::get_root_folder fs::get_root_folder (public) fs::new_folder fs::new_folder (public) callback::pm::project_new::impl::file_storage callback::pm::project_new::impl::file_storage callback::pm::project_new::impl::file_storage->application_data_link::new callback::pm::project_new::impl::file_storage->application_link::get_linked callback::pm::project_new::impl::file_storage->fs::get_root_folder callback::pm::project_new::impl::file_storage->fs::new_folder

Testcases:
No testcase defined.

callback::search::datasource::impl::file_storage_object (private)

 callback::search::datasource::impl::file_storage_object
Authors:
Dirk Gomez <openacs@dirkgomez.de>
Jowell S. Sabino <jowellsabino@netscape.net>
Created:
2005-06-13 Returns a datasource for the search package. This is the content that will be indexed by the full text search engine.
See Also:

Partial Call Graph (max 5 caller/called nodes):
%3 db_0or1row db_0or1row (public) callback::search::datasource::impl::file_storage_object callback::search::datasource::impl::file_storage_object callback::search::datasource::impl::file_storage_object->db_0or1row

Testcases:
No testcase defined.

callback::search::url::impl::file_storage_object (private)

 callback::search::url::impl::file_storage_object -object_id object_id

Return the URL to the file_storage_object

Switches:
-object_id (required)
See Also:

Partial Call Graph (max 5 caller/called nodes):
%3 ad_url ad_url (public) content::revision::item_id content::revision::item_id (public) db_string db_string (public) callback::search::url::impl::file_storage_object callback::search::url::impl::file_storage_object callback::search::url::impl::file_storage_object->ad_url callback::search::url::impl::file_storage_object->content::revision::item_id callback::search::url::impl::file_storage_object->db_string

Testcases:
No testcase defined.
[ show source ]