acs::db::nsdb-postgresql method call acs_message new_file (public)
<instance of acs::db::nsdb-postgresql> call acs_message new_file \ [ -dbn dbn ] -message_id message_id [ -file_id file_id ] \ -file_name file_name [ -title title ] \ [ -description description ] [ -mime_type mime_type ] \ [ -data data ] [ -creation_date creation_date ] \ [ -creation_user creation_user ] [ -creation_ip creation_ip ] \ [ -is_live is_live ] [ -storage_type storage_type ] \ [ -package_id package_id ]
Defined in packages/acs-tcl/tcl/00-acs-tcl-init.tcl
Automatically generated method TYPES: integer integer {character varying} {character varying} text {character varying} integer {timestamp with time zone} integer {character varying} boolean cr_item_storage_type_enum integer
- Switches:
- -dbn (optional)
- -message_id (required)
- -file_id (optional, accept empty)
- -file_name (required)
- -title (optional, accept empty)
- -description (optional, accept empty)
- -mime_type (optional, defaults to
"text/plain"
)- -data (optional, accept empty)
- -creation_date (optional, defaults to
"sysdate"
)- -creation_user (optional, accept empty)
- -creation_ip (optional, accept empty)
- -is_live (optional, defaults to
"t"
)- -storage_type (optional, defaults to
"file"
)- -package_id (optional, accept empty)
- Testcases:
- No testcase defined.