acs::db::nsdb-postgresql method call cal_item new (public)
<instance of acs::db::nsdb-postgresql> call cal_item new \ [ -dbn dbn ] [ -cal_item_id cal_item_id ] \ [ -on_which_calendar on_which_calendar ] -name name \ -description description [ -html_p html_p ] \ [ -status_summary status_summary ] [ -timespan_id timespan_id ] \ [ -activity_id activity_id ] [ -recurrence_id recurrence_id ] \ [ -object_type object_type ] [ -context_id context_id ] \ [ -creation_date creation_date ] [ -creation_user creation_user ] \ [ -creation_ip creation_ip ] [ -package_id package_id ] \ [ -location location ] [ -related_link_url related_link_url ] \ [ -related_link_text related_link_text ] \ [ -redirect_to_rel_link_p redirect_to_rel_link_p ]
Defined in packages/acs-tcl/tcl/00-acs-tcl-init.tcl
Automatically generated method TYPES: integer integer {character varying} {character varying} boolean {character varying} integer integer integer {character varying} integer {timestamp with time zone} integer {character varying} integer {character varying} {character varying} {character varying} boolean
- Switches:
- -dbn (optional)
- -cal_item_id (optional, accept empty)
- -on_which_calendar (optional, accept empty)
- -name (required)
- -description (required)
- -html_p (optional, accept empty)
- -status_summary (optional, accept empty)
- -timespan_id (optional, accept empty)
- -activity_id (optional, accept empty)
- -recurrence_id (optional, accept empty)
- -object_type (optional, defaults to
""cal_item"")- -context_id (optional, accept empty)
- -creation_date (optional, defaults to
"now()")- -creation_user (optional, accept empty)
- -creation_ip (optional, accept empty)
- -package_id (optional, accept empty)
- -location (optional, accept empty)
- -related_link_url (optional, accept empty)
- -related_link_text (optional, accept empty)
- -redirect_to_rel_link_p (optional, accept empty)
- Testcases:
- No testcase defined.
Source code: db_with_handle -dbn $dbn __DB { set s [ns_pg_bind 0or1row $__DB {select cal_item__new(CAST(:cal_item_id AS integer),CAST(:on_which_calendar AS integer),:name,:description,:html_p,:status_summary,CAST(:timespan_id AS integer),CAST(:activity_id AS integer),CAST(:recurrence_id AS integer),:object_type,CAST(:context_id AS integer),:creation_date,CAST(:creation_user AS integer),:creation_ip,CAST(:package_id AS integer),:location,:related_link_url,:related_link_text,:redirect_to_rel_link_p)}] return [ns_set value $s 0] }XQL Not present: Generic, PostgreSQL, Oracle
![[i]](/resources/acs-subsite/ZoomIn16.gif)