Class ::xo::db::sql::wp_slide

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

Defined in

Class Relations

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

Methods (to be applied on the object)

  • delete (scripted, public)

     xo::db::sql::wp_slide[i] delete [ -dbn dbn ] \
        -slide_item_id slide_item_id 

    Automatically generated method

    Switches:
    -dbn (optional)
    -slide_item_id (required)

    Testcases:
    No testcase defined.
    #function_args: {SLIDE_ITEM_ID {}}
    foreach var [list SLIDE_ITEM_ID]  {
      set varname [string tolower $var]
      if {[info exists $varname]} {
        set $var [set $varname]
        set _$var :$var
      } else {
        set _$var null
      }
    }
    set sql "
    select wp_slide__delete($_SLIDE_ITEM_ID) 
        "
    db_with_handle -dbn $dbn db {
      #ns_log notice "--sql=$sql"
      return [ ns_set value [ns_pg_bind 0or1row $db $sql] 0 ]
    }
  • delete_bullet_items (scripted, public)

     xo::db::sql::wp_slide[i] delete_bullet_items [ -dbn dbn ] \
        -bullet_items_item_id bullet_items_item_id 

    Automatically generated method

    Switches:
    -dbn (optional)
    -bullet_items_item_id (required)

    Testcases:
    No testcase defined.
    #function_args: {BULLET_ITEMS_ITEM_ID {}}
    foreach var [list BULLET_ITEMS_ITEM_ID]  {
      set varname [string tolower $var]
      if {[info exists $varname]} {
        set $var [set $varname]
        set _$var :$var
      } else {
        set _$var null
      }
    }
    set sql "
    select wp_slide__delete_bullet_items($_BULLET_ITEMS_ITEM_ID) 
        "
    db_with_handle -dbn $dbn db {
      #ns_log notice "--sql=$sql"
      return [ ns_set value [ns_pg_bind 0or1row $db $sql] 0 ]
    }
  • delete_postamble (scripted, public)

     xo::db::sql::wp_slide[i] delete_postamble [ -dbn dbn ] \
        -postamble_item_id postamble_item_id 

    Automatically generated method

    Switches:
    -dbn (optional)
    -postamble_item_id (required)

    Testcases:
    No testcase defined.
    #function_args: {POSTAMBLE_ITEM_ID {}}
    foreach var [list POSTAMBLE_ITEM_ID]  {
      set varname [string tolower $var]
      if {[info exists $varname]} {
        set $var [set $varname]
        set _$var :$var
      } else {
        set _$var null
      }
    }
    set sql "
    select wp_slide__delete_postamble($_POSTAMBLE_ITEM_ID) 
        "
    db_with_handle -dbn $dbn db {
      #ns_log notice "--sql=$sql"
      return [ ns_set value [ns_pg_bind 0or1row $db $sql] 0 ]
    }
  • delete_preamble (scripted, public)

     xo::db::sql::wp_slide[i] delete_preamble [ -dbn dbn ] \
        -preamble_item_id preamble_item_id 

    Automatically generated method

    Switches:
    -dbn (optional)
    -preamble_item_id (required)

    Testcases:
    No testcase defined.
    #function_args: {PREAMBLE_ITEM_ID {}}
    foreach var [list PREAMBLE_ITEM_ID]  {
      set varname [string tolower $var]
      if {[info exists $varname]} {
        set $var [set $varname]
        set _$var :$var
      } else {
        set _$var null
      }
    }
    set sql "
    select wp_slide__delete_preamble($_PREAMBLE_ITEM_ID) 
        "
    db_with_handle -dbn $dbn db {
      #ns_log notice "--sql=$sql"
      return [ ns_set value [ns_pg_bind 0or1row $db $sql] 0 ]
    }
  • get_bullet_items (scripted, public)

     xo::db::sql::wp_slide[i] get_bullet_items [ -dbn dbn ] \
        -slide_item_id slide_item_id 

    Automatically generated method

    Switches:
    -dbn (optional)
    -slide_item_id (required)

    Testcases:
    No testcase defined.
    #function_args: {SLIDE_ITEM_ID {}}
    foreach var [list SLIDE_ITEM_ID]  {
      set varname [string tolower $var]
      if {[info exists $varname]} {
        set $var [set $varname]
        set _$var :$var
      } else {
        set _$var null
      }
    }
    set sql "
    select wp_slide__get_bullet_items($_SLIDE_ITEM_ID) 
        "
    db_with_handle -dbn $dbn db {
      #ns_log notice "--sql=$sql"
      return [ ns_set value [ns_pg_bind 0or1row $db $sql] 0 ]
    }
  • get_bullet_items_revision (scripted, public)

     xo::db::sql::wp_slide[i] get_bullet_items_revision [ -dbn dbn ] \
        -slide_revision_id slide_revision_id 

    Automatically generated method

    Switches:
    -dbn (optional)
    -slide_revision_id (required)

    Testcases:
    No testcase defined.
    #function_args: {SLIDE_REVISION_ID {}}
    foreach var [list SLIDE_REVISION_ID]  {
      set varname [string tolower $var]
      if {[info exists $varname]} {
        set $var [set $varname]
        set _$var :$var
      } else {
        set _$var null
      }
    }
    set sql "
    select wp_slide__get_bullet_items_revision($_SLIDE_REVISION_ID) 
        "
    db_with_handle -dbn $dbn db {
      #ns_log notice "--sql=$sql"
      return [ ns_set value [ns_pg_bind 0or1row $db $sql] 0 ]
    }
  • get_postamble (scripted, public)

     xo::db::sql::wp_slide[i] get_postamble [ -dbn dbn ] \
        -slide_item_id slide_item_id 

    Automatically generated method

    Switches:
    -dbn (optional)
    -slide_item_id (required)

    Testcases:
    No testcase defined.
    #function_args: {SLIDE_ITEM_ID {}}
    foreach var [list SLIDE_ITEM_ID]  {
      set varname [string tolower $var]
      if {[info exists $varname]} {
        set $var [set $varname]
        set _$var :$var
      } else {
        set _$var null
      }
    }
    set sql "
    select wp_slide__get_postamble($_SLIDE_ITEM_ID) 
        "
    db_with_handle -dbn $dbn db {
      #ns_log notice "--sql=$sql"
      return [ ns_set value [ns_pg_bind 0or1row $db $sql] 0 ]
    }
  • get_postamble_revision (scripted, public)

     xo::db::sql::wp_slide[i] get_postamble_revision [ -dbn dbn ] \
        -slide_revision_id slide_revision_id 

    Automatically generated method

    Switches:
    -dbn (optional)
    -slide_revision_id (required)

    Testcases:
    No testcase defined.
    #function_args: {SLIDE_REVISION_ID {}}
    foreach var [list SLIDE_REVISION_ID]  {
      set varname [string tolower $var]
      if {[info exists $varname]} {
        set $var [set $varname]
        set _$var :$var
      } else {
        set _$var null
      }
    }
    set sql "
    select wp_slide__get_postamble_revision($_SLIDE_REVISION_ID) 
        "
    db_with_handle -dbn $dbn db {
      #ns_log notice "--sql=$sql"
      return [ ns_set value [ns_pg_bind 0or1row $db $sql] 0 ]
    }
  • get_preamble (scripted, public)

     xo::db::sql::wp_slide[i] get_preamble [ -dbn dbn ] \
        -slide_item_id slide_item_id 

    Automatically generated method

    Switches:
    -dbn (optional)
    -slide_item_id (required)

    Testcases:
    No testcase defined.
    #function_args: {SLIDE_ITEM_ID {}}
    foreach var [list SLIDE_ITEM_ID]  {
      set varname [string tolower $var]
      if {[info exists $varname]} {
        set $var [set $varname]
        set _$var :$var
      } else {
        set _$var null
      }
    }
    set sql "
    select wp_slide__get_preamble($_SLIDE_ITEM_ID) 
        "
    db_with_handle -dbn $dbn db {
      #ns_log notice "--sql=$sql"
      return [ ns_set value [ns_pg_bind 0or1row $db $sql] 0 ]
    }
  • get_preamble_revision (scripted, public)

     xo::db::sql::wp_slide[i] get_preamble_revision [ -dbn dbn ] \
        -slide_revision_id slide_revision_id 

    Automatically generated method

    Switches:
    -dbn (optional)
    -slide_revision_id (required)

    Testcases:
    No testcase defined.
    #function_args: {SLIDE_REVISION_ID {}}
    foreach var [list SLIDE_REVISION_ID]  {
      set varname [string tolower $var]
      if {[info exists $varname]} {
        set $var [set $varname]
        set _$var :$var
      } else {
        set _$var null
      }
    }
    set sql "
    select wp_slide__get_preamble_revision($_SLIDE_REVISION_ID) 
        "
    db_with_handle -dbn $dbn db {
      #ns_log notice "--sql=$sql"
      return [ ns_set value [ns_pg_bind 0or1row $db $sql] 0 ]
    }
  • new (scripted, public)

     xo::db::sql::wp_slide[i] new [ -dbn dbn ] -pres_item_id pres_item_id  \
        -creation_date creation_date  -creation_user creation_user  \
        -creation_ip creation_ip  -slide_title slide_title  -style style  \
        -original_slide_id original_slide_id  -sort_key sort_key  \
        -preamble preamble  -bullet_items bullet_items  \
        -postamble postamble  -include_in_outline_p include_in_outline_p  \
        -context_break_after_p context_break_after_p  \
        -context_id context_id  [ -childof childof ]

    Automatically generated method

    Switches:
    -dbn (optional)
    -pres_item_id (required)
    -creation_date (required)
    -creation_user (required)
    -creation_ip (required)
    -slide_title (required)
    -style (required)
    -original_slide_id (required)
    -sort_key (required)
    -preamble (required)
    -bullet_items (required)
    -postamble (required)
    -include_in_outline_p (required)
    -context_break_after_p (required)
    -context_id (required)
    -childof (optional)

    Testcases:
    No testcase defined.
    #function_args: {PRES_ITEM_ID {}} {CREATION_DATE {}} {CREATION_USER {}} {CREATION_IP {}} {SLIDE_TITLE {}} {STYLE {}} {ORIGINAL_SLIDE_ID {}} {SORT_KEY {}} {PREAMBLE {}} {BULLET_ITEMS {}} {POSTAMBLE {}} {INCLUDE_IN_OUTLINE_P {}} {CONTEXT_BREAK_AFTER_P {}} {CONTEXT_ID {}}
    foreach var [list PRES_ITEM_ID CREATION_DATE CREATION_USER CREATION_IP SLIDE_TITLE STYLE ORIGINAL_SLIDE_ID SORT_KEY PREAMBLE BULLET_ITEMS POSTAMBLE INCLUDE_IN_OUTLINE_P CONTEXT_BREAK_AFTER_P CONTEXT_ID]  {
      set varname [string tolower $var]
      if {[info exists $varname]} {
        set $var [set $varname]
        set _$var :$var
      } else {
        set _$var null
      }
    }
    set sql "
    select wp_slide__new($_PRES_ITEM_ID$_CREATION_DATE$_CREATION_USER$_CREATION_IP$_SLIDE_TITLE$_STYLE$_ORIGINAL_SLIDE_ID$_SORT_KEY$_PREAMBLE$_BULLET_ITEMS$_POSTAMBLE$_INCLUDE_IN_OUTLINE_P$_CONTEXT_BREAK_AFTER_P$_CONTEXT_ID) 
        "
    db_with_handle -dbn $dbn db {
      #ns_log notice "--sql=$sql"
      return [ ns_set value [ns_pg_bind 0or1row $db $sql] 0 ]
    }
  • new_revision (scripted, public)

     xo::db::sql::wp_slide[i] new_revision [ -dbn dbn ] \
        -creation_date creation_date  -creation_user creation_user  \
        -creation_ip creation_ip  -slide_item_id slide_item_id  \
        -slide_title slide_title  -preamble preamble  \
        -bullet_items bullet_items  -postamble postamble  -style style  \
        -original_slide_id original_slide_id  -sort_key sort_key  \
        -include_in_outline_p include_in_outline_p  \
        -context_break_after_p context_break_after_p 

    Automatically generated method

    Switches:
    -dbn (optional)
    -creation_date (required)
    -creation_user (required)
    -creation_ip (required)
    -slide_item_id (required)
    -slide_title (required)
    -preamble (required)
    -bullet_items (required)
    -postamble (required)
    -style (required)
    -original_slide_id (required)
    -sort_key (required)
    -include_in_outline_p (required)
    -context_break_after_p (required)

    Testcases:
    No testcase defined.
    #function_args: {CREATION_DATE {}} {CREATION_USER {}} {CREATION_IP {}} {SLIDE_ITEM_ID {}} {SLIDE_TITLE {}} {PREAMBLE {}} {BULLET_ITEMS {}} {POSTAMBLE {}} {STYLE {}} {ORIGINAL_SLIDE_ID {}} {SORT_KEY {}} {INCLUDE_IN_OUTLINE_P {}} {CONTEXT_BREAK_AFTER_P {}}
    foreach var [list CREATION_DATE CREATION_USER CREATION_IP SLIDE_ITEM_ID SLIDE_TITLE PREAMBLE BULLET_ITEMS POSTAMBLE STYLE ORIGINAL_SLIDE_ID SORT_KEY INCLUDE_IN_OUTLINE_P CONTEXT_BREAK_AFTER_P]  {
      set varname [string tolower $var]
      if {[info exists $varname]} {
        set $var [set $varname]
        set _$var :$var
      } else {
        set _$var null
      }
    }
    set sql "
    select wp_slide__new_revision($_CREATION_DATE$_CREATION_USER$_CREATION_IP$_SLIDE_ITEM_ID$_SLIDE_TITLE$_PREAMBLE$_BULLET_ITEMS$_POSTAMBLE$_STYLE$_ORIGINAL_SLIDE_ID$_SORT_KEY$_INCLUDE_IN_OUTLINE_P$_CONTEXT_BREAK_AFTER_P) 
        "
    db_with_handle -dbn $dbn db {
      #ns_log notice "--sql=$sql"
      return [ ns_set value [ns_pg_bind 0or1row $db $sql] 0 ]
    }

Variables

::xo::db::sql::wp_slide set __default_metaclass ::xotcl::Class
::xo::db::sql::wp_slide set __default_superclass ::xotcl::Object
::xo::db::sql::wp_slide set abstract_p f
::xo::db::sql::wp_slide set auto_save false
::xo::db::sql::wp_slide set name_method {}
::xo::db::sql::wp_slide set object_type ::xo::db::sql::wp_slide
::xo::db::sql::wp_slide set security_inherit_p t
::xo::db::sql::wp_slide set sql_package_name wp_slide
::xo::db::sql::wp_slide set supertype acs_object
::xo::db::sql::wp_slide set with_table true