- Methods: All Methods Documented Methods Hide Methods
- Source: Display Source Hide Source
- Variables: Show Variables Hide Variables
Class ::xo::db::sql::acs_sc_operation
::xo::db::sql::acs_sc_operation create ...
Defined in
Class Relations
::xo::db::Class create ::xo::db::sql::acs_sc_operation \ -superclass ::xotcl::ObjectMethods (to be applied on the object)
delete (scripted, public)
xo::db::sql::acs_sc_operation delete [ -dbn dbn ] \ -operation_id operation_idAutomatically generated method
- Switches:
- -dbn (optional)
- -operation_id (required)
- Testcases:
- No testcase defined.
#function_args: {OPERATION_ID {}} foreach var [list OPERATION_ID] { set varname [string tolower $var] if {[info exists $varname]} { set $var [set $varname] set _$var :$var } else { set _$var null } } set sql " select acs_sc_operation__delete($_OPERATION_ID) " db_with_handle -dbn $dbn db { #ns_log notice "--sql=$sql" return [ ns_set value [ns_pg_bind 0or1row $db $sql] 0 ] }get_id (scripted, public)
xo::db::sql::acs_sc_operation get_id [ -dbn dbn ] \ -contract_name contract_name -operation_name operation_nameAutomatically generated method
- Switches:
- -dbn (optional)
- -contract_name (required)
- -operation_name (required)
- Testcases:
- No testcase defined.
#function_args: {CONTRACT_NAME {}} {OPERATION_NAME {}} foreach var [list CONTRACT_NAME OPERATION_NAME] { set varname [string tolower $var] if {[info exists $varname]} { set $var [set $varname] set _$var :$var } else { set _$var null } } set sql " select acs_sc_operation__get_id($_CONTRACT_NAME, $_OPERATION_NAME) " 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::acs_sc_operation new [ -dbn dbn ] \ -contract_name contract_name -operation_name operation_name \ -operation_desc operation_desc \ [ -operation_iscachable_p operation_iscachable_p ] \ -operation_nargs operation_nargs \ -operation_inputtype operation_inputtype \ -operation_outputtype operation_outputtype [ -childof childof ]Automatically generated method
- Switches:
- -dbn (optional)
- -contract_name (required)
- -operation_name (required)
- -operation_desc (required)
- -operation_iscachable_p (optional, defaults to
"f"
)- -operation_nargs (required)
- -operation_inputtype (required)
- -operation_outputtype (required)
- -childof (optional)
- Testcases:
- No testcase defined.
#function_args: {CONTRACT_NAME {}} {OPERATION_NAME {}} {OPERATION_DESC {}} {OPERATION_ISCACHABLE_P f} {OPERATION_NARGS {}} {OPERATION_INPUTTYPE {}} {OPERATION_OUTPUTTYPE {}} foreach var [list CONTRACT_NAME OPERATION_NAME OPERATION_DESC OPERATION_ISCACHABLE_P OPERATION_NARGS OPERATION_INPUTTYPE OPERATION_OUTPUTTYPE] { set varname [string tolower $var] if {[info exists $varname]} { set $var [set $varname] set _$var :$var } else { set _$var null } } set sql " select acs_sc_operation__new($_CONTRACT_NAME, $_OPERATION_NAME, $_OPERATION_DESC, $_OPERATION_ISCACHABLE_P, $_OPERATION_NARGS, $_OPERATION_INPUTTYPE, $_OPERATION_OUTPUTTYPE) " 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::acs_sc_operation set __default_metaclass ::xotcl::Class ::xo::db::sql::acs_sc_operation set __default_superclass ::xotcl::Object ::xo::db::sql::acs_sc_operation set abstract_p f ::xo::db::sql::acs_sc_operation set auto_save false ::xo::db::sql::acs_sc_operation set name_method {} ::xo::db::sql::acs_sc_operation set object_type ::xo::db::sql::acs_sc_operation ::xo::db::sql::acs_sc_operation set security_inherit_p t ::xo::db::sql::acs_sc_operation set sql_package_name acs_sc_operation ::xo::db::sql::acs_sc_operation set supertype acs_object ::xo::db::sql::acs_sc_operation set with_table true
- Methods: All Methods Documented Methods Hide Methods
- Source: Display Source Hide Source
- Variables: Show Variables Hide Variables