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 ]
Defined in packages/file-storage/tcl/file-storage-callback-procs.tcl
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):
- Testcases:
- No testcase defined.
Source code: # this is a callback contract which only invokes its arg parser for input validation
XQL Not present: Generic PostgreSQL XQL file: packages/file-storage/tcl/file-storage-callback-procs-postgresql.xql
Oracle XQL file: packages/file-storage/tcl/file-storage-callback-procs-oracle.xql