- Methods: All Methods Documented Methods Hide Methods
- Source: Display Source Hide Source
- Variables: Show Variables Hide Variables
Class ::xo::db::sql::apm_package
::xo::db::sql::apm_package create ...
Defined in
Class Relations
::xo::db::Class create ::xo::db::sql::apm_package \ -superclass ::xotcl::ObjectMethods (to be applied on the object)
delete (scripted, public)
xo::db::sql::apm_package delete [ -dbn dbn ] -package_id package_idAutomatically generated method
- Switches:
- -dbn (optional)
- -package_id (required)
- Testcases:
- No testcase defined.
#function_args: {PACKAGE_ID {}} foreach var [list PACKAGE_ID] { set varname [string tolower $var] if {[info exists $varname]} { set $var [set $varname] set _$var :$var } else { set _$var null } } set sql " select apm_package__delete($_PACKAGE_ID) " db_with_handle -dbn $dbn db { #ns_log notice "--sql=$sql" return [ ns_set value [ns_pg_bind 0or1row $db $sql] 0 ] }highest_version (scripted, public)
xo::db::sql::apm_package highest_version [ -dbn dbn ] \ -package_key package_keyAutomatically generated method
- Switches:
- -dbn (optional)
- -package_key (required)
- Testcases:
- No testcase defined.
#function_args: {PACKAGE_KEY {}} foreach var [list PACKAGE_KEY] { set varname [string tolower $var] if {[info exists $varname]} { set $var [set $varname] set _$var :$var } else { set _$var null } } set sql " select apm_package__highest_version($_PACKAGE_KEY) " db_with_handle -dbn $dbn db { #ns_log notice "--sql=$sql" return [ ns_set value [ns_pg_bind 0or1row $db $sql] 0 ] }initial_install_p (scripted, public)
xo::db::sql::apm_package initial_install_p [ -dbn dbn ] \ -package_key package_keyAutomatically generated method
- Switches:
- -dbn (optional)
- -package_key (required)
- Testcases:
- No testcase defined.
#function_args: {PACKAGE_KEY {}} foreach var [list PACKAGE_KEY] { set varname [string tolower $var] if {[info exists $varname]} { set $var [set $varname] set _$var :$var } else { set _$var null } } set sql " select apm_package__initial_install_p($_PACKAGE_KEY) " db_with_handle -dbn $dbn db { #ns_log notice "--sql=$sql" return [ ns_set value [ns_pg_bind 0or1row $db $sql] 0 ] }initialize_parameters (scripted, public)
xo::db::sql::apm_package initialize_parameters [ -dbn dbn ] \ -package_id package_id -package_key package_keyAutomatically generated method
- Switches:
- -dbn (optional)
- -package_id (required)
- -package_key (required)
- Testcases:
- No testcase defined.
#function_args: {PACKAGE_ID {}} {PACKAGE_KEY {}} foreach var [list PACKAGE_ID PACKAGE_KEY] { set varname [string tolower $var] if {[info exists $varname]} { set $var [set $varname] set _$var :$var } else { set _$var null } } set sql " select apm_package__initialize_parameters($_PACKAGE_ID, $_PACKAGE_KEY) " db_with_handle -dbn $dbn db { #ns_log notice "--sql=$sql" return [ ns_set value [ns_pg_bind 0or1row $db $sql] 0 ] }is_child (scripted, public)
xo::db::sql::apm_package is_child [ -dbn dbn ] \ -parent_package_key parent_package_key \ -child_package_key child_package_keyAutomatically generated method
- Switches:
- -dbn (optional)
- -parent_package_key (required)
- -child_package_key (required)
- Testcases:
- No testcase defined.
#function_args: {PARENT_PACKAGE_KEY {}} {CHILD_PACKAGE_KEY {}} foreach var [list PARENT_PACKAGE_KEY CHILD_PACKAGE_KEY] { set varname [string tolower $var] if {[info exists $varname]} { set $var [set $varname] set _$var :$var } else { set _$var null } } set sql " select apm_package__is_child($_PARENT_PACKAGE_KEY, $_CHILD_PACKAGE_KEY) " db_with_handle -dbn $dbn db { #ns_log notice "--sql=$sql" return [ ns_set value [ns_pg_bind 0or1row $db $sql] 0 ] }name (scripted, public)
xo::db::sql::apm_package name [ -dbn dbn ] -package_id package_idAutomatically generated method
- Switches:
- -dbn (optional)
- -package_id (required)
- Testcases:
- No testcase defined.
#function_args: {PACKAGE_ID {}} foreach var [list PACKAGE_ID] { set varname [string tolower $var] if {[info exists $varname]} { set $var [set $varname] set _$var :$var } else { set _$var null } } set sql " select apm_package__name($_PACKAGE_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::apm_package new [ -dbn dbn ] [ -package_id package_id ] \ [ -instance_name instance_name ] -package_key package_key \ [ -object_type object_type ] [ -creation_date creation_date ] \ [ -creation_user creation_user ] [ -creation_ip creation_ip ] \ [ -context_id context_id ] [ -childof childof ]Automatically generated method
- Switches:
- -dbn (optional)
- -package_id (optional)
- -instance_name (optional)
- -package_key (required)
- -object_type (optional, defaults to
"apm_package"
)- -creation_date (optional, defaults to
"now()"
)- -creation_user (optional)
- -creation_ip (optional)
- -context_id (optional)
- -childof (optional)
- Testcases:
- No testcase defined.
#function_args: {PACKAGE_ID null} {INSTANCE_NAME null} {PACKAGE_KEY {}} {OBJECT_TYPE apm_package} {CREATION_DATE now()} {CREATION_USER null} {CREATION_IP null} {CONTEXT_ID null} foreach var [list PACKAGE_ID INSTANCE_NAME PACKAGE_KEY OBJECT_TYPE CREATION_DATE CREATION_USER CREATION_IP 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 apm_package__new($_PACKAGE_ID, $_INSTANCE_NAME, $_PACKAGE_KEY, $_OBJECT_TYPE, $_CREATION_DATE, $_CREATION_USER, $_CREATION_IP, $_CONTEXT_ID) " db_with_handle -dbn $dbn db { #ns_log notice "--sql=$sql" return [ ns_set value [ns_pg_bind 0or1row $db $sql] 0 ] }num_instances (scripted, public)
xo::db::sql::apm_package num_instances [ -dbn dbn ] \ -package_key package_keyAutomatically generated method
- Switches:
- -dbn (optional)
- -package_key (required)
- Testcases:
- No testcase defined.
#function_args: {PACKAGE_KEY {}} foreach var [list PACKAGE_KEY] { set varname [string tolower $var] if {[info exists $varname]} { set $var [set $varname] set _$var :$var } else { set _$var null } } set sql " select apm_package__num_instances($_PACKAGE_KEY) " db_with_handle -dbn $dbn db { #ns_log notice "--sql=$sql" return [ ns_set value [ns_pg_bind 0or1row $db $sql] 0 ] }parent_id (scripted, public)
xo::db::sql::apm_package parent_id [ -dbn dbn ] \ -parent_id__package_id parent_id__package_idAutomatically generated method
- Switches:
- -dbn (optional)
- -parent_id__package_id (required)
- Testcases:
- No testcase defined.
#function_args: {PARENT_ID__PACKAGE_ID {}} foreach var [list PARENT_ID__PACKAGE_ID] { set varname [string tolower $var] if {[info exists $varname]} { set $var [set $varname] set _$var :$var } else { set _$var null } } set sql " select apm_package__parent_id($_PARENT_ID__PACKAGE_ID) " db_with_handle -dbn $dbn db { #ns_log notice "--sql=$sql" return [ ns_set value [ns_pg_bind 0or1row $db $sql] 0 ] }singleton_p (scripted, public)
xo::db::sql::apm_package singleton_p [ -dbn dbn ] \ -package_key package_keyAutomatically generated method
- Switches:
- -dbn (optional)
- -package_key (required)
- Testcases:
- No testcase defined.
#function_args: {PACKAGE_KEY {}} foreach var [list PACKAGE_KEY] { set varname [string tolower $var] if {[info exists $varname]} { set $var [set $varname] set _$var :$var } else { set _$var null } } set sql " select apm_package__singleton_p($_PACKAGE_KEY) " 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::apm_package set __default_metaclass ::xotcl::Class ::xo::db::sql::apm_package set __default_superclass ::xotcl::Object ::xo::db::sql::apm_package set abstract_p f ::xo::db::sql::apm_package set auto_save false ::xo::db::sql::apm_package set name_method {} ::xo::db::sql::apm_package set object_type ::xo::db::sql::apm_package ::xo::db::sql::apm_package set security_inherit_p t ::xo::db::sql::apm_package set sql_package_name apm_package ::xo::db::sql::apm_package set supertype acs_object ::xo::db::sql::apm_package set with_table true
- Methods: All Methods Documented Methods Hide Methods
- Source: Display Source Hide Source
- Variables: Show Variables Hide Variables