acs::db::nsdb-postgresql method call content_item new (public)

 <instance of acs::db::nsdb-postgresql[i]> call content_item new \
    [ -dbn dbn ] -name name  [ -parent_id parent_id ] \
    [ -item_id item_id ] [ -locale locale ] \
    [ -creation_date creation_date ] [ -creation_user creation_user ] \
    [ -context_id context_id ] [ -creation_ip creation_ip ] \
    [ -item_subtype item_subtype ] [ -content_type content_type ] \
    [ -title title ] [ -description description ] \
    [ -mime_type mime_type ] [ -nls_language nls_language ] \
    [ -text text ] [ -data data ] [ -relation_tag relation_tag ] \
    [ -is_live is_live ] [ -storage_type storage_type ] \
    [ -package_id package_id ] [ -with_child_rels with_child_rels ]

Defined in packages/acs-tcl/tcl/00-acs-tcl-init.tcl

Automatically generated method TYPES: {character varying} integer integer {character varying} {timestamp with time zone} integer integer {character varying} {character varying} {character varying} {character varying} text {character varying} {character varying} {character varying} text {character varying} boolean cr_item_storage_type_enum integer boolean

Switches:
-dbn (optional)
-name (required)
-parent_id (optional, accept empty)
-item_id (optional, accept empty)
-locale (optional, accept empty)
-creation_date (optional, defaults to "now")
-creation_user (optional, accept empty)
-context_id (optional, accept empty)
-creation_ip (optional, accept empty)
-item_subtype (optional, defaults to "content_item")
-content_type (optional, defaults to "content_revision")
-title (optional, accept empty)
-description (optional, accept empty)
-mime_type (optional, defaults to "text/plain")
-nls_language (optional, accept empty)
-text (optional, accept empty)
-data (optional, accept empty)
-relation_tag (optional, accept empty)
-is_live (optional, defaults to "f")
-storage_type (optional, accept empty)
-package_id (optional, accept empty)
-with_child_rels (optional, defaults to "t")

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