- Methods: All Methods Documented Methods Hide Methods
- Source: Display Source Hide Source
- Variables: Show Variables Hide Variables
Class ::xo::db::sql::category_tree
::xo::db::sql::category_tree create ...
Defined in
Class Relations
::xo::db::Class create ::xo::db::sql::category_tree \ -superclass ::xotcl::ObjectMethods (to be applied on the object)
check_nested_ind (scripted, public)
xo::db::sql::category_tree check_nested_ind [ -dbn dbn ] \ -tree_id tree_idAutomatically generated method
- Switches:
- -dbn (optional)
- -tree_id (required)
- Testcases:
- No testcase defined.
#function_args: {TREE_ID {}} foreach var [list TREE_ID] { set varname [string tolower $var] if {[info exists $varname]} { set $var [set $varname] set _$var :$var } else { set _$var null } } set sql " select category_tree__check_nested_ind($_TREE_ID) " db_with_handle -dbn $dbn db { #ns_log notice "--sql=$sql" return [ ns_set value [ns_pg_bind 0or1row $db $sql] 0 ] }copy (scripted, public)
xo::db::sql::category_tree copy [ -dbn dbn ] -source_tree source_tree \ -dest_tree dest_tree -creation_user creation_user \ -creation_ip creation_ipAutomatically generated method
- Switches:
- -dbn (optional)
- -source_tree (required)
- -dest_tree (required)
- -creation_user (required)
- -creation_ip (required)
- Testcases:
- No testcase defined.
#function_args: {SOURCE_TREE {}} {DEST_TREE {}} {CREATION_USER {}} {CREATION_IP {}} foreach var [list SOURCE_TREE DEST_TREE CREATION_USER CREATION_IP] { set varname [string tolower $var] if {[info exists $varname]} { set $var [set $varname] set _$var :$var } else { set _$var null } } set sql " select category_tree__copy($_SOURCE_TREE, $_DEST_TREE, $_CREATION_USER, $_CREATION_IP) " db_with_handle -dbn $dbn db { #ns_log notice "--sql=$sql" return [ ns_set value [ns_pg_bind 0or1row $db $sql] 0 ] }del (scripted, public)
xo::db::sql::category_tree del [ -dbn dbn ] -tree_id tree_idAutomatically generated method
- Switches:
- -dbn (optional)
- -tree_id (required)
- Testcases:
- No testcase defined.
#function_args: {TREE_ID {}} foreach var [list TREE_ID] { set varname [string tolower $var] if {[info exists $varname]} { set $var [set $varname] set _$var :$var } else { set _$var null } } set sql " select category_tree__del($_TREE_ID) " db_with_handle -dbn $dbn db { #ns_log notice "--sql=$sql" return [ ns_set value [ns_pg_bind 0or1row $db $sql] 0 ] }edit (scripted, public)
xo::db::sql::category_tree edit [ -dbn dbn ] -tree_id tree_id \ -locale locale -tree_name tree_name -description description \ -site_wide_p site_wide_p -modifying_date modifying_date \ -modifying_user modifying_user -modifying_ip modifying_ipAutomatically generated method
- Switches:
- -dbn (optional)
- -tree_id (required)
- -locale (required)
- -tree_name (required)
- -description (required)
- -site_wide_p (required)
- -modifying_date (required)
- -modifying_user (required)
- -modifying_ip (required)
- Testcases:
- No testcase defined.
#function_args: {TREE_ID {}} {LOCALE {}} {TREE_NAME {}} {DESCRIPTION {}} {SITE_WIDE_P {}} {MODIFYING_DATE {}} {MODIFYING_USER {}} {MODIFYING_IP {}} foreach var [list TREE_ID LOCALE TREE_NAME DESCRIPTION SITE_WIDE_P MODIFYING_DATE MODIFYING_USER MODIFYING_IP] { set varname [string tolower $var] if {[info exists $varname]} { set $var [set $varname] set _$var :$var } else { set _$var null } } set sql " select category_tree__edit($_TREE_ID, $_LOCALE, $_TREE_NAME, $_DESCRIPTION, $_SITE_WIDE_P, $_MODIFYING_DATE, $_MODIFYING_USER, $_MODIFYING_IP) " db_with_handle -dbn $dbn db { #ns_log notice "--sql=$sql" return [ ns_set value [ns_pg_bind 0or1row $db $sql] 0 ] }map (scripted, public)
xo::db::sql::category_tree map [ -dbn dbn ] -object_id object_id \ -tree_id tree_id -subtree_category_id subtree_category_id \ -assign_single_p assign_single_p \ -require_category_p require_category_p -widget widgetAutomatically generated method
- Switches:
- -dbn (optional)
- -object_id (required)
- -tree_id (required)
- -subtree_category_id (required)
- -assign_single_p (required)
- -require_category_p (required)
- -widget (required)
- Testcases:
- No testcase defined.
#function_args: {OBJECT_ID {}} {TREE_ID {}} {SUBTREE_CATEGORY_ID {}} {ASSIGN_SINGLE_P {}} {REQUIRE_CATEGORY_P {}} {WIDGET {}} foreach var [list OBJECT_ID TREE_ID SUBTREE_CATEGORY_ID ASSIGN_SINGLE_P REQUIRE_CATEGORY_P WIDGET] { set varname [string tolower $var] if {[info exists $varname]} { set $var [set $varname] set _$var :$var } else { set _$var null } } set sql " select category_tree__map($_OBJECT_ID, $_TREE_ID, $_SUBTREE_CATEGORY_ID, $_ASSIGN_SINGLE_P, $_REQUIRE_CATEGORY_P, $_WIDGET) " 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::category_tree name [ -dbn dbn ] -tree_id tree_idAutomatically generated method
- Switches:
- -dbn (optional)
- -tree_id (required)
- Testcases:
- No testcase defined.
#function_args: {TREE_ID {}} foreach var [list TREE_ID] { set varname [string tolower $var] if {[info exists $varname]} { set $var [set $varname] set _$var :$var } else { set _$var null } } set sql " select category_tree__name($_TREE_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::category_tree new [ -dbn dbn ] -tree_id tree_id \ -locale locale -tree_name tree_name -description description \ -site_wide_p site_wide_p -creation_date creation_date \ -creation_user creation_user -creation_ip creation_ip \ -context_id context_id [ -childof childof ]Automatically generated method
- Switches:
- -dbn (optional)
- -tree_id (required)
- -locale (required)
- -tree_name (required)
- -description (required)
- -site_wide_p (required)
- -creation_date (required)
- -creation_user (required)
- -creation_ip (required)
- -context_id (required)
- -childof (optional)
- Testcases:
- No testcase defined.
#function_args: {TREE_ID {}} {LOCALE {}} {TREE_NAME {}} {DESCRIPTION {}} {SITE_WIDE_P {}} {CREATION_DATE {}} {CREATION_USER {}} {CREATION_IP {}} {CONTEXT_ID {}} foreach var [list TREE_ID LOCALE TREE_NAME DESCRIPTION SITE_WIDE_P 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 category_tree__new($_TREE_ID, $_LOCALE, $_TREE_NAME, $_DESCRIPTION, $_SITE_WIDE_P, $_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 ] }new_translation (scripted, public)
xo::db::sql::category_tree new_translation [ -dbn dbn ] \ -tree_id tree_id -locale locale -tree_name tree_name \ -description description -modifying_date modifying_date \ -modifying_user modifying_user -modifying_ip modifying_ipAutomatically generated method
- Switches:
- -dbn (optional)
- -tree_id (required)
- -locale (required)
- -tree_name (required)
- -description (required)
- -modifying_date (required)
- -modifying_user (required)
- -modifying_ip (required)
- Testcases:
- No testcase defined.
#function_args: {TREE_ID {}} {LOCALE {}} {TREE_NAME {}} {DESCRIPTION {}} {MODIFYING_DATE {}} {MODIFYING_USER {}} {MODIFYING_IP {}} foreach var [list TREE_ID LOCALE TREE_NAME DESCRIPTION MODIFYING_DATE MODIFYING_USER MODIFYING_IP] { set varname [string tolower $var] if {[info exists $varname]} { set $var [set $varname] set _$var :$var } else { set _$var null } } set sql " select category_tree__new_translation($_TREE_ID, $_LOCALE, $_TREE_NAME, $_DESCRIPTION, $_MODIFYING_DATE, $_MODIFYING_USER, $_MODIFYING_IP) " db_with_handle -dbn $dbn db { #ns_log notice "--sql=$sql" return [ ns_set value [ns_pg_bind 0or1row $db $sql] 0 ] }unmap (scripted, public)
xo::db::sql::category_tree unmap [ -dbn dbn ] -object_id object_id \ -tree_id tree_idAutomatically generated method
- Switches:
- -dbn (optional)
- -object_id (required)
- -tree_id (required)
- Testcases:
- No testcase defined.
#function_args: {OBJECT_ID {}} {TREE_ID {}} foreach var [list OBJECT_ID TREE_ID] { set varname [string tolower $var] if {[info exists $varname]} { set $var [set $varname] set _$var :$var } else { set _$var null } } set sql " select category_tree__unmap($_OBJECT_ID, $_TREE_ID) " 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::category_tree set __default_metaclass ::xotcl::Class ::xo::db::sql::category_tree set __default_superclass ::xotcl::Object ::xo::db::sql::category_tree set abstract_p f ::xo::db::sql::category_tree set auto_save false ::xo::db::sql::category_tree set name_method {} ::xo::db::sql::category_tree set object_type ::xo::db::sql::category_tree ::xo::db::sql::category_tree set security_inherit_p t ::xo::db::sql::category_tree set sql_package_name category_tree ::xo::db::sql::category_tree set supertype acs_object ::xo::db::sql::category_tree set with_table true
- Methods: All Methods Documented Methods Hide Methods
- Source: Display Source Hide Source
- Variables: Show Variables Hide Variables