%3 ::xotcl::Object ::xotcl::Object ::xo::db::sql::wf_article_callback ::xo::db::sql::wf_article_callback → notification ::xo::db::sql::wf_article_callback->::xotcl::Object

Class ::xo::db::sql::wf_article_callback

::xo::db::sql::wf_article_callback[i] create ...

Class Relations

  • class: ::xo::db::Class[i]
  • superclass: ::xotcl::Object[i]
::xo::db::Class create ::xo::db::sql::wf_article_callback \
     -superclass ::xotcl::Object

Methods (to be applied on the object)

  • notification (scripted, public)

     xo::db::sql::wf_article_callback[i] notification [ -dbn dbn ] \
        -task_id task_id  -custom_arg custom_arg  -party_to party_to  \
        -party_from party_from  -subject subject  -body body 

    Automatically generated method

    Switches:
    -dbn
    (optional)
    -task_id
    (required)
    -custom_arg
    (required)
    -party_to
    (required)
    -party_from
    (required)
    -subject
    (required)
    -body
    (required)

    Partial Call Graph (max 5 caller/called nodes):
    %3 db_with_handle db_with_handle (public) xo::db::sql::wf_article_callback proc notification xo::db::sql::wf_article_callback proc notification xo::db::sql::wf_article_callback proc notification->db_with_handle

    Testcases:
    No testcase defined.
    #function_args: {TASK_ID {}} {CUSTOM_ARG {}} {PARTY_TO {}} {PARTY_FROM {}} {SUBJECT {}} {BODY {}}
    foreach var [list TASK_ID CUSTOM_ARG PARTY_TO PARTY_FROM SUBJECT BODY]  {
      set varname [string tolower $var]
      if {[info exists $varname]} {
        set $var [set $varname]
        set _$var :$var
      } else {
        set _$var null
      }
    }
    set sql "
    select wf_article_callback__notification($_TASK_ID$_CUSTOM_ARG$_PARTY_TO$_PARTY_FROM$_SUBJECT$_BODY) 
        "
    db_with_handle -dbn $dbn db {
      #ns_log notice "--sql=$sql"
      return [ ns_set value [ns_pg_bind 0or1row $db $sql] 0 ]
    }