Inicio de la navegación principal
Methods: | Source: | Variables: |
---|---|---|
[All Methods | Documented Methods | Hide Methods] | [Display Source | Hide Source] | [Show Variables | Hide Variables] |
Class Hierarchy of ::xo::db::sql::cal_item
- ::xotcl::Object
![]()
- Meta-class:
- ::xotcl::Class
- Methods for instances:
- __api_make_doc, __api_make_forward_doc, __nextC, __timediff, abstract, ad_doc, ad_forward, ad_proc, appendC, arrayC, asHTML, autonameC, checkC, classC, cleanupC, configureC, contains, copy, db_1rowC, debug, defaultmethod, destroyC, destroy_on_cleanup, evalC, existsC, extractConfigureArg, filterC, filterguardC, filtersearchC, forwardC, hasclass, incrC, infoC, init, instvarC, invarC, isclassC, ismetaclassC, ismixinC, isobjectC, istypeC, lappendC, log, method, mixinC, mixinguardC, move, msg, noinitC, parametercmdC, procC, procsearchC, qn, requireNamespaceC, self, serialize, setC, substC, traceC, unsetC, uplevelC, upvarC, volatileC, vwaitC
- Methods to be applied on the class (in addition to the methods provided by the meta-class):
- __exitHandler, getExitHandler, setExitHandler, unsetExitHandler
- ::xo::db::sql::cal_item
![]()
- Meta-class:
- ::xo::db::Class
- Methods to be applied on the class (in addition to the methods provided by the meta-class):
- del, delete_all, new
Class Relations
::xo::db::Class create ::xo::db::sql::cal_item \ -superclass ::xotcl::Object
::xo::db::sql::cal_itemdel [ -dbn dbn ] [ -cal_item_id cal_item_id ]
Automatically generated method
- Switches:
- -dbn (optional)
- -cal_item_id (optional)
::xo::db::sql::cal_item proc del {{-dbn {}} -cal_item_id} { #function_args: {CAL_ITEM_ID NULL} set sql_args [list] foreach var [list CAL_ITEM_ID] { set varname [string tolower $var] if {[info exists $varname]} { lappend sql_args "$varname => :$varname" } } set sql_args [join $sql_args ,] set sql "BEGIN cal_item.del($sql_args); END;" db_with_handle -dbn $dbn db { #my log "sql=$sql, sql_command=ns_ora dml $db $sql" return [ ns_ora dml $db $sql ] } }
::xo::db::sql::cal_itemdelete_all [ -dbn dbn ] \ [ -recurrence_id recurrence_id ]
Automatically generated method
- Switches:
- -dbn (optional)
- -recurrence_id (optional)
::xo::db::sql::cal_item proc delete_all {{-dbn {}} -recurrence_id} { #function_args: {RECURRENCE_ID NULL} set sql_args [list] foreach var [list RECURRENCE_ID] { set varname [string tolower $var] if {[info exists $varname]} { lappend sql_args "$varname => :$varname" } } set sql_args [join $sql_args ,] set sql "BEGIN cal_item.delete_all($sql_args); END;" db_with_handle -dbn $dbn db { #my log "sql=$sql, sql_command=ns_ora dml $db $sql" return [ ns_ora dml $db $sql ] } }
::xo::db::sql::cal_itemnew [ -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 ] \ [ -item_type_id item_type_id ] [ -object_type object_type ] \ [ -context_id context_id ] [ -creation_date creation_date ] \ [ -creation_user creation_user ] [ -creation_ip creation_ip ] \ [ -remind_days remind_days ]
Automatically generated method
- Switches:
- -dbn (optional)
- -cal_item_id (optional)
- -on_which_calendar (optional)
- -name (optional)
- -description (optional)
- -html_p (optional)
- -status_summary (optional)
- -timespan_id (optional)
- -activity_id (optional)
- -recurrence_id (optional)
- -item_type_id (optional)
- -object_type (optional)
- -context_id (optional)
- -creation_date (optional)
- -creation_user (optional)
- -creation_ip (optional)
- -remind_days (optional)
::xo::db::sql::cal_item proc new {{-dbn {}} -cal_item_id -on_which_calendar -name -description -html_p -status_summary -timespan_id -activity_id -recurrence_id -item_type_id -object_type -context_id -creation_date -creation_user -creation_ip -remind_days} { #function_args: {CAL_ITEM_ID NULL} {ON_WHICH_CALENDAR NULL} {NAME NULL} {DESCRIPTION NULL} {HTML_P NULL} {STATUS_SUMMARY NULL} {TIMESPAN_ID NULL} {ACTIVITY_ID NULL} {RECURRENCE_ID NULL} {ITEM_TYPE_ID NULL} {OBJECT_TYPE NULL} {CONTEXT_ID NULL} {CREATION_DATE NULL} {CREATION_USER NULL} {CREATION_IP NULL} {REMIND_DAYS NULL} set sql_args [list] foreach var [list CAL_ITEM_ID ON_WHICH_CALENDAR NAME DESCRIPTION HTML_P STATUS_SUMMARY TIMESPAN_ID ACTIVITY_ID RECURRENCE_ID ITEM_TYPE_ID OBJECT_TYPE CONTEXT_ID CREATION_DATE CREATION_USER CREATION_IP REMIND_DAYS] { set varname [string tolower $var] if {[info exists $varname]} { lappend sql_args "$varname => :$varname" } } set sql_args [join $sql_args ,] set sql "BEGIN :1 := cal_item.new($sql_args); END;" db_with_handle -dbn $dbn db { #my log "sql=$sql, sql_command=ns_ora exec_plsql_bind $db $sql 1 """ return [ ns_ora exec_plsql_bind $db $sql 1 "" ] } }
Methods: | Source: | Variables: |
---|---|---|
[All Methods | Documented Methods | Hide Methods] | [Display Source | Hide Source] | [Show Variables | Hide Variables] |