acs::db::nsdb-postgresql method call content_revision new (public)
<instance of acs::db::nsdb-postgresql> call content_revision new \ [ -dbn dbn ] -title title [ -description description ] \ [ -publish_date publish_date ] [ -mime_type mime_type ] \ [ -nls_language nls_language ] [ -text text ] -item_id item_id \ [ -revision_id revision_id ] [ -creation_date creation_date ] \ [ -creation_user creation_user ] [ -creation_ip creation_ip ] \ [ -content_length content_length ] [ -package_id package_id ]
Defined in packages/acs-tcl/tcl/00-acs-tcl-init.tcl
Automatically generated method TYPES: {character varying} {character varying} {timestamp with time zone} {character varying} {character varying} text integer integer {timestamp with time zone} integer {character varying} integer integer
- Switches:
- -dbn (optional)
- -title (required)
- -description (optional, accept empty)
- -publish_date (optional, defaults to
"now()"
)- -mime_type (optional, defaults to
"text/plain"
)- -nls_language (optional, accept empty)
- -text (optional, defaults to
" "
)- -item_id (required)
- -revision_id (optional, accept empty)
- -creation_date (optional, defaults to
"now()"
)- -creation_user (optional, accept empty)
- -creation_ip (optional, accept empty)
- -content_length (optional, accept empty)
- -package_id (optional, accept empty)
- Testcases:
- No testcase defined.