content::revision::update_content (private)

 content::revision::update_content -item_id item_id \
    -revision_id revision_id -content content \
    -storage_type storage_type -mime_type mime_type \
    [ -tmp_filename tmp_filename ]

Defined in packages/acs-content-repository/tcl/content-revision-procs.tcl

Update content column separately. Oracle does not allow insert into a BLOB. This assumes that if storage type is lob and no file is specified that the content is really text and store it in the text column in PostgreSQL

Switches:
-item_id (required)
-revision_id (required)
Content revision to update
-content (required)
Content to add to resivsion
-storage_type (required)
text, file, or lob
-mime_type (required)
mime type of the content
-tmp_filename (optional)
For storage types except 'text' a filename can be specified instead of 'content'. The caller is responsible for cleaning up the temporary file
Author:
Dave Bauer <dave@thedesignexperience.org>
Created:
2005-02-09

Partial Call Graph (max 5 caller/called nodes):
%3 content::revision::new content::revision::new (public) content::revision::update_content content::revision::update_content content::revision::new->content::revision::update_content cr_import_content cr_import_content (public) cr_import_content->content::revision::update_content

Testcases:
No testcase defined.
[ show source ]
Show another procedure: