• Publicity: Public Only All

05-db-procs.tcl

XOTcl API for low-level db abstraction

This file defines the following Objects and Classes: ::xo::db::Class[i], ::xo::db::Attribute[i], ::xo::db::CrAttribute[i]

Location:
packages/xotcl-core/tcl/05-db-procs.tcl
Created:
2006-12-28
Author:
Gustaf Neumann
CVS Identification:
$Id: 05-db-procs.tcl,v 1.148.2.83 2023/04/19 17:19:23 gustafn Exp $

Procedures in this file

Detailed information

Class ::xo::db::Attribute (public)

 ::xotcl::MetaSlot ::xo::db::Attribute[i]

ORM class representing an acs_attribute from and acs_object.

Partial Call Graph (max 5 caller/called nodes):
%3 test_xotcl_core_tutorial_2 xotcl_core_tutorial_2 (test xotcl-core) Class ::xo::db::Attribute Class ::xo::db::Attribute test_xotcl_core_tutorial_2-> Class ::xo::db::Attribute

Testcases:
xotcl_core_tutorial_2

Class ::xo::db::Class (public)

 ::xotcl::Class ::xo::db::Class[i]

::xo::db::Class is a meta class for interfacing with acs_object_types. acs_object_types are instances of this meta class. The meta class defines the behavior common to all acs_object_types. The behavior common to all acs_objects is defined by the class ::xo::db::Object.

See Also:
  • xo::db::Object

Partial Call Graph (max 5 caller/called nodes):
%3 test_xotcl_core_tutorial_2 xotcl_core_tutorial_2 (test xotcl-core) Class ::xo::db::Class Class ::xo::db::Class test_xotcl_core_tutorial_2-> Class ::xo::db::Class _ _ (public) Class ::xo::db::Class->_ ad_conn ad_conn (public) Class ::xo::db::Class->ad_conn ad_log ad_log (public) Class ::xo::db::Class->ad_log ad_try ad_try (public) Class ::xo::db::Class->ad_try db_1row db_1row (public) Class ::xo::db::Class->db_1row

Testcases:
xotcl_core_tutorial_2

Class ::xo::db::CrAttribute (public)

 ::xotcl::MetaSlot ::xo::db::CrAttribute[i]

ORM class representing an acs_attribute for a content_type in the Content Repository.

Partial Call Graph (max 5 caller/called nodes):
%3

Testcases:
No testcase defined.

xo::db::Class instproc check_table_atts (public)

 <instance of xo::db::Class[i]> check_table_atts

Check table_name and id_column and set meaningful defaults, if these attributes are not provided.

Partial Call Graph (max 5 caller/called nodes):
%3 test_xotcl_core_tutorial_2 xotcl_core_tutorial_2 (test xotcl-core) xo::db::Class instproc check_table_atts xo::db::Class instproc check_table_atts test_xotcl_core_tutorial_2->xo::db::Class instproc check_table_atts test_xotcl_core_tutorial_3 xotcl_core_tutorial_3 (test xotcl-core) test_xotcl_core_tutorial_3->xo::db::Class instproc check_table_atts test_xotcl_core_tutorial_4 xotcl_core_tutorial_4 (test xotcl-core) test_xotcl_core_tutorial_4->xo::db::Class instproc check_table_atts

Testcases:
xotcl_core_tutorial_2, xotcl_core_tutorial_3, xotcl_core_tutorial_4

xo::db::Class instproc create_object_type (public)

 <instance of xo::db::Class[i]> create_object_type

Create an acs object_type for the current XOTcl class

Partial Call Graph (max 5 caller/called nodes):
%3 test_xotcl_core_tutorial_2 xotcl_core_tutorial_2 (test xotcl-core) xo::db::Class instproc create_object_type xo::db::Class instproc create_object_type test_xotcl_core_tutorial_2->xo::db::Class instproc create_object_type

Testcases:
xotcl_core_tutorial_2

xo::db::Class instproc drop_object_type (public)

 <instance of xo::db::Class[i]> drop_object_type \
    [ -cascade cascade ]

Drop an acs object_type; cascde true means that the attributes are dropped as well.

Switches:
-cascade
(defaults to "true") (optional)

Partial Call Graph (max 5 caller/called nodes):
%3

Testcases:
No testcase defined.

xo::db::Class instproc get_instances_from_db (public)

 <instance of xo::db::Class[i]> get_instances_from_db \
    [ -select_attributes select_attributes ] \
    [ -from_clause from_clause ] [ -where_clause where_clause ] \
    [ -orderby orderby ] [ -page_size page_size ] \
    [ -page_number page_number ] [ -initialize initialize ]

Returns a set (ordered composite) of the answer tuples of an 'instance_select_query' with the same attributes. Note that the returned objects might by partially instantiated.

Switches:
-select_attributes
(optional)
-from_clause
(optional)
-where_clause
(optional)
-orderby
(optional)
-page_size
(defaults to "20") (optional)
-page_number
(optional)
-initialize
(defaults to "true") (optional)
Returns:
ordered composite

Partial Call Graph (max 5 caller/called nodes):
%3

Testcases:
No testcase defined.

xo::db::Class instproc instance_select_query (public)

 <instance of xo::db::Class[i]> instance_select_query \
    [ -select_attributes select_attributes ] [ -orderby orderby ] \
    [ -where_clause where_clause ] [ -from_clause from_clause ] \
    [ -count on|off ] [ -page_size page_size ] \
    [ -page_number page_number ]

Returns the SQL-query to select ACS Objects of the object_type of the class.

Switches:
-select_attributes
(optional)
attributes for the SQL query to be retrieved. if no attributes are specified, all attributes are retrieved.
-orderby
(optional)
for ordering the solution set
-where_clause
(optional)
clause for restricting the answer set
-from_clause
(optional)
-count
(boolean) (defaults to "false") (optional)
return the query for counting the solutions
-page_size
(defaults to "20") (optional)
-page_number
(optional)
Returns:
SQL query

Partial Call Graph (max 5 caller/called nodes):
%3

Testcases:
No testcase defined.

xo::db::Class instproc instantiate_objects (public)

 <instance of xo::db::Class[i]> instantiate_objects [ -dbn dbn ] \
    [ -sql sql ] [ -full_statement_name full_statement_name ] \
    [ -as_ordered_composite on|off ] [ -object_class object_class ] \
    [ -named_objects on|off ] \
    [ -object_named_after object_named_after ] \
    [ -destroy_on_cleanup on|off ] [ -keep_existing_objects on|off ] \
    [ -ignore_missing_package_ids on|off ] [ -initialize initialize ]

Retrieve multiple objects from the database using the given SQL query and create XOTcl objects from the tuples.

Switches:
-dbn
(optional)
-sql
(optional)
The SQL query to retrieve tuples. Note that if the SQL query only returns a restricted set of attributes, the objects will be only partially instantiated.
-full_statement_name
(optional)
-as_ordered_composite
(boolean) (defaults to "true") (optional)
return an ordered composite object preserving the order. If the flag is false, one has to use "info instances" to access the resulted objects.
-object_class
(defaults to "::xotcl::Object") (optional)
specifies the XOTcl class, for which instances are created.
-named_objects
(boolean) (defaults to "false") (optional)
If this flag is true, the value of the id_column is used for the name of the created objects (object will be named e.g. ::13738). Otherwise, objects are created with the XOTcl "new" method to avoid object name clashes.
-object_named_after
(optional)
-destroy_on_cleanup
(boolean) (defaults to "true") (optional)
If this flag is true, the objects (and ordered composite) will be automatically destroyed on cleanup (typically after the request was processed).
-keep_existing_objects
(boolean) (defaults to "false") (optional)
-ignore_missing_package_ids
(boolean) (defaults to "false") (optional)
-initialize
(defaults to "true") (optional)
can be used to avoid full initialization, when a large series of objects is loaded. Per default, these objects are initialized via initialize_loaded_object, when the are of type ::xo::db::Object

Partial Call Graph (max 5 caller/called nodes):
%3 test_xowiki_test_cases xowiki_test_cases (test xowiki) xo::db::Class instproc instantiate_objects xo::db::Class instproc instantiate_objects test_xowiki_test_cases->xo::db::Class instproc instantiate_objects ad_try ad_try (public) xo::db::Class instproc instantiate_objects->ad_try

Testcases:
xowiki_test_cases

xo::db::Class instproc new_persistent_object (public)

 <instance of xo::db::Class[i]> new_persistent_object \
    [ -package_id package_id ] [ -creation_user creation_user ] \
    [ -creation_ip creation_ip ] args [ args... ]

Create a new instance of the given class, configure it with the given arguments and insert it into the database. The XOTcl object is destroyed automatically on cleanup (end of a connection request).

Switches:
-package_id
(optional)
-creation_user
(optional)
-creation_ip
(optional)
Parameters:
args
Returns:
fully qualified object

Partial Call Graph (max 5 caller/called nodes):
%3 test_xotcl_core_tutorial_1 xotcl_core_tutorial_1 (test xotcl-core) xo::db::Class instproc new_persistent_object xo::db::Class instproc new_persistent_object test_xotcl_core_tutorial_1->xo::db::Class instproc new_persistent_object test_xotcl_core_tutorial_2 xotcl_core_tutorial_2 (test xotcl-core) test_xotcl_core_tutorial_2->xo::db::Class instproc new_persistent_object ad_log ad_log (public) xo::db::Class instproc new_persistent_object->ad_log ad_try ad_try (public) xo::db::Class instproc new_persistent_object->ad_try

Testcases:
xotcl_core_tutorial_1, xotcl_core_tutorial_2

xo::db::Class instproc object_types (public)

 <instance of xo::db::Class[i]> object_types \
    [ -subtypes_first on|off ]

Return the type and subtypes of the class, on which the method is called. If subtypes_first is specified, the subtypes are returned first.

Switches:
-subtypes_first
(boolean) (defaults to "false") (optional)
Returns:
list of object_types

Partial Call Graph (max 5 caller/called nodes):
%3 test_xotcl_core_tutorial_2 xotcl_core_tutorial_2 (test xotcl-core) xo::db::Class instproc object_types xo::db::Class instproc object_types test_xotcl_core_tutorial_2->xo::db::Class instproc object_types test_xotcl_core_tutorial_4 xotcl_core_tutorial_4 (test xotcl-core) test_xotcl_core_tutorial_4->xo::db::Class instproc object_types

Testcases:
xotcl_core_tutorial_2, xotcl_core_tutorial_4

xo::db::Class proc delete (public)

 xo::db::Class[i] delete -id id 

Delete the object from the database

Switches:
-id
(required)

Partial Call Graph (max 5 caller/called nodes):
%3 test_xotcl_core_tutorial_2 xotcl_core_tutorial_2 (test xotcl-core) xo::db::Class proc delete xo::db::Class proc delete test_xotcl_core_tutorial_2->xo::db::Class proc delete

Testcases:
xotcl_core_tutorial_2

xo::db::Class proc delete_all_acs_objects (public)

 xo::db::Class[i] delete_all_acs_objects -object_type object_type 

Delete all acs_objects of the object_type from the database.

Switches:
-object_type
(required)

Partial Call Graph (max 5 caller/called nodes):
%3

Testcases:
No testcase defined.

xo::db::Class proc drop_type (public)

 xo::db::Class[i] drop_type -object_type object_type  \
    [ -drop_table drop_table ] [ -cascade_p cascade_p ]

Drop the object_type from the database and drop optionally the table. This method deletes as well all acs_objects of the object_type from the database.

Switches:
-object_type
(required)
-drop_table
(defaults to "f") (optional)
-cascade_p
(defaults to "t") (optional)

Partial Call Graph (max 5 caller/called nodes):
%3

Testcases:
No testcase defined.

xo::db::Class proc exists_in_db (public)

 xo::db::Class[i] exists_in_db -id id 

Check, if an acs_object exists in the database.

Switches:
-id
(required)
Returns:
0 or 1

Partial Call Graph (max 5 caller/called nodes):
%3 test_test_cr_items test_cr_items (test xotcl-core) xo::db::Class proc exists_in_db xo::db::Class proc exists_in_db test_test_cr_items->xo::db::Class proc exists_in_db test_test_xo_db_object test_xo_db_object (test xotcl-core) test_test_xo_db_object->xo::db::Class proc exists_in_db test_xotcl_core_tutorial_1 xotcl_core_tutorial_1 (test xotcl-core) test_xotcl_core_tutorial_1->xo::db::Class proc exists_in_db test_xotcl_core_tutorial_2 xotcl_core_tutorial_2 (test xotcl-core) test_xotcl_core_tutorial_2->xo::db::Class proc exists_in_db test_xotcl_core_tutorial_4 xotcl_core_tutorial_4 (test xotcl-core) test_xotcl_core_tutorial_4->xo::db::Class proc exists_in_db

Testcases:
xotcl_core_tutorial_1, xotcl_core_tutorial_2, xotcl_core_tutorial_4, test_xo_db_object, test_cr_items

xo::db::Class proc get_class_from_db (public)

 xo::db::Class[i] get_class_from_db [ -object_type object_type ]

Fetch an acs_object_type from the database and create an XOTcl class from this information.

Switches:
-object_type
(optional)
Returns:
class name of the created XOTcl class

Partial Call Graph (max 5 caller/called nodes):
%3 test_xotcl_core_tutorial_3 xotcl_core_tutorial_3 (test xotcl-core) xo::db::Class proc get_class_from_db xo::db::Class proc get_class_from_db test_xotcl_core_tutorial_3->xo::db::Class proc get_class_from_db ad_try ad_try (public) xo::db::Class proc get_class_from_db->ad_try

Testcases:
xotcl_core_tutorial_3

xo::db::Class proc get_instance_from_db (public)

 xo::db::Class[i] get_instance_from_db [ -id id ]

Create an XOTcl object from an acs_object_id. This method determines the type and initializes the object from the information stored in the database. The XOTcl object is destroyed automatically on cleanup (end of a connection request).

Switches:
-id
(optional)
Returns:
fully qualified object

Partial Call Graph (max 5 caller/called nodes):
%3 test_test_xo_db_object test_xo_db_object (test xotcl-core) xo::db::Class proc get_instance_from_db xo::db::Class proc get_instance_from_db test_test_xo_db_object->xo::db::Class proc get_instance_from_db test_xotcl_core_tutorial_1 xotcl_core_tutorial_1 (test xotcl-core) test_xotcl_core_tutorial_1->xo::db::Class proc get_instance_from_db test_xotcl_core_tutorial_2 xotcl_core_tutorial_2 (test xotcl-core) test_xotcl_core_tutorial_2->xo::db::Class proc get_instance_from_db db_1row db_1row (public) xo::db::Class proc get_instance_from_db->db_1row

Testcases:
xotcl_core_tutorial_1, xotcl_core_tutorial_2, test_xo_db_object

xo::db::Class proc get_object_type (public)

 xo::db::Class[i] get_object_type [ -id id ]

Return the object type for the give id.

Switches:
-id
(optional)
Returns:
object_type, typically an XOTcl class

Partial Call Graph (max 5 caller/called nodes):
%3 test_xotcl_core_tutorial_1 xotcl_core_tutorial_1 (test xotcl-core) xo::db::Class proc get_object_type xo::db::Class proc get_object_type test_xotcl_core_tutorial_1->xo::db::Class proc get_object_type test_xotcl_core_tutorial_2 xotcl_core_tutorial_2 (test xotcl-core) test_xotcl_core_tutorial_2->xo::db::Class proc get_object_type

Testcases:
xotcl_core_tutorial_1, xotcl_core_tutorial_2

xo::db::Class proc get_table_name (public)

 xo::db::Class[i] get_table_name -object_type object_type 

Get the table_name of an object_type from the database. If the object_type does not exist, the return value is empty.

Switches:
-object_type
(required)
Returns:
table_name

Partial Call Graph (max 5 caller/called nodes):
%3 test_xotcl_core_tutorial_2 xotcl_core_tutorial_2 (test xotcl-core) xo::db::Class proc get_table_name xo::db::Class proc get_table_name test_xotcl_core_tutorial_2->xo::db::Class proc get_table_name

Testcases:
xotcl_core_tutorial_2

xo::db::Class proc object_type_exists_in_db (public)

 xo::db::Class[i] object_type_exists_in_db [ -object_type object_type ]

Check, if an object_type exists in the database.

Switches:
-object_type
(optional)
Returns:
0 or 1

Partial Call Graph (max 5 caller/called nodes):
%3 test_xotcl_core_tutorial_2 xotcl_core_tutorial_2 (test xotcl-core) xo::db::Class proc object_type_exists_in_db xo::db::Class proc object_type_exists_in_db test_xotcl_core_tutorial_2->xo::db::Class proc object_type_exists_in_db test_xotcl_core_tutorial_4 xotcl_core_tutorial_4 (test xotcl-core) test_xotcl_core_tutorial_4->xo::db::Class proc object_type_exists_in_db

Testcases:
xotcl_core_tutorial_2, xotcl_core_tutorial_4

xo::db::Object instproc delete (public)

 <instance of xo::db::Object[i]> delete

Delete the object from the database and from memory

Partial Call Graph (max 5 caller/called nodes):
%3 test_test_xo_db_object test_xo_db_object (test xotcl-core) xo::db::Object instproc delete xo::db::Object instproc delete test_test_xo_db_object->xo::db::Object instproc delete test_xotcl_core_tutorial_1 xotcl_core_tutorial_1 (test xotcl-core) test_xotcl_core_tutorial_1->xo::db::Object instproc delete

Testcases:
xotcl_core_tutorial_1, test_xo_db_object

xo::db::Object instproc save (public)

 <instance of xo::db::Object[i]> save [ -package_id package_id ] \
    [ -modifying_user modifying_user ] [ -context_id context_id ]

Save the current object in the database

Switches:
-package_id
(optional)
-modifying_user
(optional)
-context_id
(optional)

Partial Call Graph (max 5 caller/called nodes):
%3 test_test_xo_db_object test_xo_db_object (test xotcl-core) xo::db::Object instproc save xo::db::Object instproc save test_test_xo_db_object->xo::db::Object instproc save test_xotcl_core_tutorial_2 xotcl_core_tutorial_2 (test xotcl-core) test_xotcl_core_tutorial_2->xo::db::Object instproc save

Testcases:
xotcl_core_tutorial_2, test_xo_db_object

xo::db::Object instproc save_new (public)

 <instance of xo::db::Object[i]> save_new [ -package_id package_id ] \
    [ -creation_user creation_user ] [ -creation_ip creation_ip ] \
    [ -context_id context_id ]

Save the XOTcl Object with a fresh acs_object in the database.

Switches:
-package_id
(optional)
-creation_user
(optional)
-creation_ip
(optional)
-context_id
(optional)
Returns:
new object id

Partial Call Graph (max 5 caller/called nodes):
%3 test_test_xo_db_object test_xo_db_object (test xotcl-core) xo::db::Object instproc save_new xo::db::Object instproc save_new test_test_xo_db_object->xo::db::Object instproc save_new

Testcases:
test_xo_db_object

xo::db::Object instproc update (public)

 <instance of xo::db::Object[i]> update [ -package_id package_id ] \
    [ -modifying_user modifying_user ] [ -context_id context_id ]

Update the current object in the database

Switches:
-package_id
(optional)
-modifying_user
(optional)
-context_id
(optional)

Partial Call Graph (max 5 caller/called nodes):
%3 test_test_xo_db_object test_xo_db_object (test xotcl-core) xo::db::Object instproc update xo::db::Object instproc update test_test_xo_db_object->xo::db::Object instproc update test_xotcl_core_tutorial_2 xotcl_core_tutorial_2 (test xotcl-core) test_xotcl_core_tutorial_2->xo::db::Object instproc update

Testcases:
xotcl_core_tutorial_2, test_xo_db_object

xo::db::has_hstore (public, deprecated)

 xo::db::has_hstore
Deprecated. Invoking this procedure generates a warning.

Check, whether hstore is available (postgres only)

See Also:
  • xo::dc has_hstore

Partial Call Graph (max 5 caller/called nodes):
%3 ad_log_deprecated ad_log_deprecated (public) xo::db::has_hstore xo::db::has_hstore xo::db::has_hstore->ad_log_deprecated

Testcases:
No testcase defined.

xo::db::has_ltree (public, deprecated)

 xo::db::has_ltree
Deprecated. Invoking this procedure generates a warning.

Check, whether ltree is available (postgres only)

See Also:
  • xo::dc has_ltree

Partial Call Graph (max 5 caller/called nodes):
%3 ad_log_deprecated ad_log_deprecated (public) xo::db::has_ltree xo::db::has_ltree xo::db::has_ltree->ad_log_deprecated

Testcases:
No testcase defined.

xo::db::list_to_values (public)

 xo::db::list_to_values list [ type ]

Convert a Tcl list into a quoted SQL VALUES expression Example:

% list_to_values {1 2 3 4 5}
    (VALUES (1), (2), (3), (4), (5))

Parameters:
list
type (defaults to "text")

Partial Call Graph (max 5 caller/called nodes):
%3 test_test_misc_core test_misc_core (test xotcl-core) xo::db::list_to_values xo::db::list_to_values test_test_misc_core->xo::db::list_to_values

Testcases:
test_misc_core

xo::db::require proc function_args (public)

 xo::db::require[i] function_args [ -kernel_older_than kernel_older_than ] \
    [ -package_key_and_version_older_than package_key_and_version_older_than ] \
    [ -check_function check_function ] sql_file

Load the SQL file, if the kernel is older than the specified version, and the version of the specified package is older, and the check_function does not exist in function_args.

Sample usage: ::xo::db::require function_args \
  -kernel_older_than 5.5.0 \
  -older_than_package_key_and_version "xowiki 0.50" \
  -check_function "acs_object_type__create_type" \
  [acs_package_root_dir xotcl-request-broker]/patches/funcs-1.sql

Switches:
-kernel_older_than
(optional)
-package_key_and_version_older_than
(optional)
-check_function
(optional)
Parameters:
sql_file

Partial Call Graph (max 5 caller/called nodes):
%3 ad_acs_version ad_acs_version (public) ad_file ad_file (public) apm_highest_version_name apm_highest_version_name (public) apm_version_names_compare apm_version_names_compare (public) db_driverkey db_driverkey (public) xo::db::require proc function_args xo::db::require proc function_args xo::db::require proc function_args->ad_acs_version xo::db::require proc function_args->ad_file xo::db::require proc function_args->apm_highest_version_name xo::db::require proc function_args->apm_version_names_compare xo::db::require proc function_args->db_driverkey

Testcases:
No testcase defined.

xo::db::sql::acs proc add_user (public)

 xo::db::sql::acs[i] add_user [ -dbn dbn ] [ -user_id user_id ] \
    [ -object_type object_type ] [ -creation_date creation_date ] \
    [ -creation_user creation_user ] [ -creation_ip creation_ip ] \
    -authority_id authority_id  -username username  -email email  \
    [ -url url ] -first_names first_names  -last_name last_name  \
    -password password  -salt salt  [ -screen_name screen_name ] \
    [ -email_verified_p email_verified_p ] \
    [ -member_state member_state ]

Automatically generated method

Switches:
-dbn
(optional)
-user_id
(optional)
-object_type
(defaults to "user") (optional)
-creation_date
(defaults to "now()") (optional)
-creation_user
(optional)
-creation_ip
(optional)
-authority_id
(required)
-username
(required)
-email
(required)
-url
(optional)
-first_names
(required)
-last_name
(required)
-password
(required)
-salt
(required)
-screen_name
(optional)
-email_verified_p
(defaults to "t") (optional)
-member_state
(defaults to "approved") (optional)

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

Testcases:
No testcase defined.

xo::db::sql::acs proc magic_object_id (public)

 xo::db::sql::acs[i] magic_object_id [ -dbn dbn ] -name name 

Automatically generated method

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

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

Testcases:
No testcase defined.

xo::db::sql::acs proc remove_user (public)

 xo::db::sql::acs[i] remove_user [ -dbn dbn ] -user_id user_id 

Automatically generated method

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

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

Testcases:
No testcase defined.

xo::db::sql::acs_activity proc delete (public)

 xo::db::sql::acs_activity[i] delete [ -dbn dbn ] \
    -activity_id activity_id 

Automatically generated method

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

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

Testcases:
No testcase defined.

xo::db::sql::acs_activity proc edit (public)

 xo::db::sql::acs_activity[i] edit [ -dbn dbn ] -activity_id activity_id  \
    [ -name name ] [ -description description ] [ -html_p html_p ] \
    [ -status_summary status_summary ]

Automatically generated method

Switches:
-dbn
(optional)
-activity_id
(required)
-name
(optional)
-description
(optional)
-html_p
(optional)
-status_summary
(optional)

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

Testcases:
No testcase defined.

xo::db::sql::acs_activity proc name (public)

 xo::db::sql::acs_activity[i] name [ -dbn dbn ] -activity_id activity_id 

Automatically generated method

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

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

Testcases:
No testcase defined.

xo::db::sql::acs_activity proc new (public)

 xo::db::sql::acs_activity[i] new [ -dbn dbn ] \
    [ -activity_id activity_id ] -name name  \
    [ -description description ] [ -html_p html_p ] \
    [ -status_summary status_summary ] [ -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)
-activity_id
(optional)
-name
(required)
-description
(optional)
-html_p
(defaults to "f") (optional)
-status_summary
(optional)
-object_type
(defaults to "acs_activity") (optional)
-creation_date
(defaults to "now()") (optional)
-creation_user
(optional)
-creation_ip
(optional)
-context_id
(optional)
-childof
(optional)

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

Testcases:
No testcase defined.

xo::db::sql::acs_activity proc object_map (public)

 xo::db::sql::acs_activity[i] object_map [ -dbn dbn ] \
    -activity_id activity_id  -object_id object_id 

Automatically generated method

Switches:
-dbn
(optional)
-activity_id
(required)
-object_id
(required)

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

Testcases:
No testcase defined.

xo::db::sql::acs_activity proc object_unmap (public)

 xo::db::sql::acs_activity[i] object_unmap [ -dbn dbn ] \
    -activity_id activity_id  -object_id object_id 

Automatically generated method

Switches:
-dbn
(optional)
-activity_id
(required)
-object_id
(required)

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

Testcases:
No testcase defined.

xo::db::sql::acs_attribute proc add_description (public)

 xo::db::sql::acs_attribute[i] add_description [ -dbn dbn ] \
    -object_type object_type  -attribute_name attribute_name  \
    -description_key description_key  -description description 

Automatically generated method

Switches:
-dbn
(optional)
-object_type
(required)
-attribute_name
(required)
-description_key
(required)
-description
(required)

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

Testcases:
No testcase defined.

xo::db::sql::acs_attribute proc create_attribute (public)

 xo::db::sql::acs_attribute[i] create_attribute [ -dbn dbn ] \
    -object_type object_type  -attribute_name attribute_name  \
    -datatype datatype  -pretty_name pretty_name  \
    [ -pretty_plural pretty_plural ] [ -table_name table_name ] \
    [ -column_name column_name ] [ -default_value default_value ] \
    [ -min_n_values min_n_values ] [ -max_n_values max_n_values ] \
    [ -sort_order sort_order ] [ -storage storage ] \
    [ -static_p static_p ] [ -create_column_p create_column_p ] \
    [ -database_type database_type ] [ -size size ] [ -null_p null_p ] \
    [ -references references ] [ -check_expr check_expr ] \
    [ -column_spec column_spec ]

Automatically generated method

Switches:
-dbn
(optional)
-object_type
(required)
-attribute_name
(required)
-datatype
(required)
-pretty_name
(required)
-pretty_plural
(optional)
-table_name
(optional)
-column_name
(optional)
-default_value
(optional)
-min_n_values
(defaults to "1") (optional)
-max_n_values
(defaults to "1") (optional)
-sort_order
(optional)
-storage
(defaults to "type_specific") (optional)
-static_p
(defaults to "f") (optional)
-create_column_p
(defaults to "f") (optional)
-database_type
(optional)
-size
(optional)
-null_p
(defaults to "t") (optional)
-references
(optional)
-check_expr
(optional)
-column_spec
(optional)

Partial Call Graph (max 5 caller/called nodes):
%3 test_xotcl_core_tutorial_2 xotcl_core_tutorial_2 (test xotcl-core) xo::db::sql::acs_attribute proc create_attribute xo::db::sql::acs_attribute proc create_attribute test_xotcl_core_tutorial_2->xo::db::sql::acs_attribute proc create_attribute db_with_handle db_with_handle (public) xo::db::sql::acs_attribute proc create_attribute->db_with_handle

Testcases:
xotcl_core_tutorial_2

xo::db::sql::acs_attribute proc drop_attribute (public)

 xo::db::sql::acs_attribute[i] drop_attribute [ -dbn dbn ] \
    -object_type object_type  -attribute_name attribute_name  \
    [ -drop_column_p drop_column_p ]

Automatically generated method

Switches:
-dbn
(optional)
-object_type
(required)
-attribute_name
(required)
-drop_column_p
(defaults to "f") (optional)

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

Testcases:
No testcase defined.

xo::db::sql::acs_attribute proc drop_description (public)

 xo::db::sql::acs_attribute[i] drop_description [ -dbn dbn ] \
    -object_type object_type  -attribute_name attribute_name  \
    -description_key description_key 

Automatically generated method

Switches:
-dbn
(optional)
-object_type
(required)
-attribute_name
(required)
-description_key
(required)

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

Testcases:
No testcase defined.

xo::db::sql::acs_content proc delete (public)

 xo::db::sql::acs_content[i] delete [ -dbn dbn ] -content_id content_id 

Automatically generated method

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

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

Testcases:
No testcase defined.

xo::db::sql::acs_content proc new (public)

 xo::db::sql::acs_content[i] new [ -dbn dbn ] -content_id content_id  \
    -mime_type mime_type  -nls_language nls_language  \
    -searchable_p searchable_p  -content content  [ -childof childof ]

Automatically generated method

Switches:
-dbn
(optional)
-content_id
(required)
-mime_type
(required)
-nls_language
(required)
-searchable_p
(required)
-content
(required)
-childof
(optional)

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

Testcases:
No testcase defined.

xo::db::sql::acs_content proc update_mime_type (public)

 xo::db::sql::acs_content[i] update_mime_type [ -dbn dbn ] \
    -content_id content_id  -mime_type mime_type 

Automatically generated method

Switches:
-dbn
(optional)
-content_id
(required)
-mime_type
(required)

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

Testcases:
No testcase defined.

xo::db::sql::acs_content proc update_nls_language (public)

 xo::db::sql::acs_content[i] update_nls_language [ -dbn dbn ] \
    -content_id content_id  -nls_language nls_language 

Automatically generated method

Switches:
-dbn
(optional)
-content_id
(required)
-nls_language
(required)

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

Testcases:
No testcase defined.

xo::db::sql::acs_content proc update_searchable_p (public)

 xo::db::sql::acs_content[i] update_searchable_p [ -dbn dbn ] \
    -content_id content_id  -searchable_p searchable_p 

Automatically generated method

Switches:
-dbn
(optional)
-content_id
(required)
-searchable_p
(required)

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

Testcases:
No testcase defined.

xo::db::sql::acs_datatype proc date_output_function (public)

 xo::db::sql::acs_datatype[i] date_output_function [ -dbn dbn ] \
    -attribute_name attribute_name 

Automatically generated method

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

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

Testcases:
No testcase defined.

xo::db::sql::acs_datatype proc timestamp_output_function (public)

 xo::db::sql::acs_datatype[i] timestamp_output_function [ -dbn dbn ] \
    -attribute_name attribute_name 

Automatically generated method

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

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

Testcases:
No testcase defined.

xo::db::sql::acs_event proc activity_set (public)

 xo::db::sql::acs_event[i] activity_set [ -dbn dbn ] -event_id event_id  \
    -activity_id activity_id 

Automatically generated method

Switches:
-dbn
(optional)
-event_id
(required)
-activity_id
(required)

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

Testcases:
No testcase defined.

xo::db::sql::acs_event proc delete (public)

 xo::db::sql::acs_event[i] delete [ -dbn dbn ] -event_id event_id 

Automatically generated method

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

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

Testcases:
No testcase defined.

xo::db::sql::acs_event proc delete_all (public)

 xo::db::sql::acs_event[i] delete_all [ -dbn dbn ] -event_id event_id 

Automatically generated method

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

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

Testcases:
No testcase defined.

xo::db::sql::acs_event proc delete_all_recurrences (public)

 xo::db::sql::acs_event[i] delete_all_recurrences [ -dbn dbn ] \
    [ -recurrence_id recurrence_id ]

Automatically generated method

Switches:
-dbn
(optional)
-recurrence_id
(optional)

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

Testcases:
No testcase defined.

xo::db::sql::acs_event proc get_description (public)

 xo::db::sql::acs_event[i] get_description [ -dbn dbn ] \
    -event_id event_id 

Automatically generated method

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

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

Testcases:
No testcase defined.

xo::db::sql::acs_event proc get_html_p (public)

 xo::db::sql::acs_event[i] get_html_p [ -dbn dbn ] -event_id event_id 

Automatically generated method

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

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

Testcases:
No testcase defined.

xo::db::sql::acs_event proc get_name (public)

 xo::db::sql::acs_event[i] get_name [ -dbn dbn ] -event_id event_id 

Automatically generated method

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

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

Testcases:
No testcase defined.

xo::db::sql::acs_event proc get_status_summary (public)

 xo::db::sql::acs_event[i] get_status_summary [ -dbn dbn ] \
    -event_id event_id 

Automatically generated method

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

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

Testcases:
No testcase defined.

xo::db::sql::acs_event proc get_value (public)

 xo::db::sql::acs_event[i] get_value [ -dbn dbn ] \
    -parameter_name parameter_name 

Automatically generated method

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

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

Testcases:
No testcase defined.

xo::db::sql::acs_event proc insert_instances (public)

 xo::db::sql::acs_event[i] insert_instances [ -dbn dbn ] \
    -event_id event_id  [ -cutoff_date cutoff_date ]

Automatically generated method

Switches:
-dbn
(optional)
-event_id
(required)
-cutoff_date
(optional)

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

Testcases:
No testcase defined.

xo::db::sql::acs_event proc instances_exist_p (public)

 xo::db::sql::acs_event[i] instances_exist_p [ -dbn dbn ] \
    -recurrence_id recurrence_id 

Automatically generated method

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

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

Testcases:
No testcase defined.

xo::db::sql::acs_event proc new (public)

 xo::db::sql::acs_event[i] new [ -dbn dbn ] [ -event_id event_id ] \
    [ -name name ] [ -description description ] [ -html_p html_p ] \
    [ -status_summary status_summary ] [ -timespan_id timespan_id ] \
    [ -activity_id activity_id ] [ -recurrence_id recurrence_id ] \
    [ -object_type object_type ] [ -creation_date creation_date ] \
    [ -creation_user creation_user ] [ -creation_ip creation_ip ] \
    [ -context_id context_id ] [ -package_id package_id ] \
    [ -location location ] [ -related_link_url related_link_url ] \
    [ -related_link_text related_link_text ] \
    [ -redirect_to_rel_link_p redirect_to_rel_link_p ] \
    [ -childof childof ]

Automatically generated method

Switches:
-dbn
(optional)
-event_id
(optional)
-name
(optional)
-description
(optional)
-html_p
(optional)
-status_summary
(optional)
-timespan_id
(optional)
-activity_id
(optional)
-recurrence_id
(optional)
-object_type
(defaults to "acs_event") (optional)
-creation_date
(defaults to "now()") (optional)
-creation_user
(optional)
-creation_ip
(optional)
-context_id
(optional)
-package_id
(optional)
-location
(optional)
-related_link_url
(optional)
-related_link_text
(optional)
-redirect_to_rel_link_p
(optional)
-childof
(optional)

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

Testcases:
No testcase defined.

xo::db::sql::acs_event proc new_instance (public)

 xo::db::sql::acs_event[i] new_instance [ -dbn dbn ] -event_id event_id  \
    -date_offset date_offset 

Automatically generated method

Switches:
-dbn
(optional)
-event_id
(required)
-date_offset
(required)

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

Testcases:
No testcase defined.

xo::db::sql::acs_event proc party_map (public)

 xo::db::sql::acs_event[i] party_map [ -dbn dbn ] -event_id event_id  \
    -party_id party_id 

Automatically generated method

Switches:
-dbn
(optional)
-event_id
(required)
-party_id
(required)

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

Testcases:
No testcase defined.

xo::db::sql::acs_event proc party_unmap (public)

 xo::db::sql::acs_event[i] party_unmap [ -dbn dbn ] -event_id event_id  \
    -party_id party_id 

Automatically generated method

Switches:
-dbn
(optional)
-event_id
(required)
-party_id
(required)

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

Testcases:
No testcase defined.

xo::db::sql::acs_event proc recurrence_timespan_edit (public)

 xo::db::sql::acs_event[i] recurrence_timespan_edit [ -dbn dbn ] \
    -event_id event_id  -start_date start_date  -end_date end_date  \
    -edit_past_events_p edit_past_events_p 

Automatically generated method

Switches:
-dbn
(optional)
-event_id
(required)
-start_date
(required)
-end_date
(required)
-edit_past_events_p
(required)

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

Testcases:
No testcase defined.

xo::db::sql::acs_event proc recurs_p (public)

 xo::db::sql::acs_event[i] recurs_p [ -dbn dbn ] -event_id event_id 

Automatically generated method

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

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

Testcases:
No testcase defined.

xo::db::sql::acs_event proc shift (public)

 xo::db::sql::acs_event[i] shift [ -dbn dbn ] [ -event_id event_id ] \
    [ -start_offset start_offset ] [ -end_offset end_offset ]

Automatically generated method

Switches:
-dbn
(optional)
-event_id
(optional)
-start_offset
(defaults to "0") (optional)
-end_offset
(defaults to "0") (optional)

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

Testcases:
No testcase defined.

xo::db::sql::acs_event proc shift_all (public)

 xo::db::sql::acs_event[i] shift_all [ -dbn dbn ] [ -event_id event_id ] \
    [ -start_offset start_offset ] [ -end_offset end_offset ]

Automatically generated method

Switches:
-dbn
(optional)
-event_id
(optional)
-start_offset
(defaults to "0") (optional)
-end_offset
(defaults to "0") (optional)

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

Testcases:
No testcase defined.

xo::db::sql::acs_event proc timespan_set (public)

 xo::db::sql::acs_event[i] timespan_set [ -dbn dbn ] -event_id event_id  \
    -timespan_id timespan_id 

Automatically generated method

Switches:
-dbn
(optional)
-event_id
(required)
-timespan_id
(required)

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

Testcases:
No testcase defined.

xo::db::sql::acs_group proc check_representation (public)

 xo::db::sql::acs_group[i] check_representation [ -dbn dbn ] \
    -group_id group_id 

Automatically generated method

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

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

Testcases:
No testcase defined.

xo::db::sql::acs_group proc delete (public)

 xo::db::sql::acs_group[i] delete [ -dbn dbn ] -group_id group_id 

Automatically generated method

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

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

Testcases:
No testcase defined.

xo::db::sql::acs_group proc member_p (public)

 xo::db::sql::acs_group[i] member_p [ -dbn dbn ] -party_id party_id  \
    -group_id group_id  -cascade_membership cascade_membership 

Automatically generated method

Switches:
-dbn
(optional)
-party_id
(required)
-group_id
(required)
-cascade_membership
(required)

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

Testcases:
No testcase defined.

xo::db::sql::acs_group proc name (public)

 xo::db::sql::acs_group[i] name [ -dbn dbn ] -group_id group_id 

Automatically generated method

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

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

Testcases:
No testcase defined.

xo::db::sql::acs_group proc new (public)

 xo::db::sql::acs_group[i] new [ -dbn dbn ] [ -group_id group_id ] \
    [ -object_type object_type ] [ -creation_date creation_date ] \
    [ -creation_user creation_user ] [ -creation_ip creation_ip ] \
    [ -email email ] [ -url url ] -group_name group_name  \
    [ -join_policy join_policy ] [ -context_id context_id ] \
    [ -childof childof ]

Automatically generated method

Switches:
-dbn
(optional)
-group_id
(optional)
-object_type
(defaults to "group") (optional)
-creation_date
(defaults to "now()") (optional)
-creation_user
(optional)
-creation_ip
(optional)
-email
(optional)
-url
(optional)
-group_name
(required)
-join_policy
(optional)
-context_id
(optional)
-childof
(optional)

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

Testcases:
No testcase defined.

xo::db::sql::acs_log proc debug (public)

 xo::db::sql::acs_log[i] debug [ -dbn dbn ] -log_key log_key  \
    -message message 

Automatically generated method

Switches:
-dbn
(optional)
-log_key
(required)
-message
(required)

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

Testcases:
No testcase defined.

xo::db::sql::acs_log proc error (public)

 xo::db::sql::acs_log[i] error [ -dbn dbn ] -log_key log_key  \
    -message message 

Automatically generated method

Switches:
-dbn
(optional)
-log_key
(required)
-message
(required)

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

Testcases:
No testcase defined.

xo::db::sql::acs_log proc notice (public)

 xo::db::sql::acs_log[i] notice [ -dbn dbn ] -log_key log_key  \
    -message message 

Automatically generated method

Switches:
-dbn
(optional)
-log_key
(required)
-message
(required)

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

Testcases:
No testcase defined.

xo::db::sql::acs_log proc warn (public)

 xo::db::sql::acs_log[i] warn [ -dbn dbn ] -log_key log_key  \
    -message message 

Automatically generated method

Switches:
-dbn
(optional)
-log_key
(required)
-message
(required)

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

Testcases:
No testcase defined.

xo::db::sql::acs_mail_body proc body_p (public)

 xo::db::sql::acs_mail_body[i] body_p [ -dbn dbn ] -object_id object_id 

Automatically generated method

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

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

Testcases:
No testcase defined.

xo::db::sql::acs_mail_body proc clone (public)

 xo::db::sql::acs_mail_body[i] clone [ -dbn dbn ] \
    -old_body_id old_body_id  [ -body_id body_id ] \
    [ -object_type object_type ] [ -creation_date creation_date ] \
    [ -creation_user creation_user ] [ -creation_ip creation_ip ] \
    [ -context_id context_id ]

Automatically generated method

Switches:
-dbn
(optional)
-old_body_id
(required)
-body_id
(optional)
-object_type
(defaults to "acs_mail_body") (optional)
-creation_date
(defaults to "now()") (optional)
-creation_user
(optional)
-creation_ip
(optional)
-context_id
(optional)

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

Testcases:
No testcase defined.

xo::db::sql::acs_mail_body proc delete (public)

 xo::db::sql::acs_mail_body[i] delete [ -dbn dbn ] -body_id body_id 

Automatically generated method

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

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

Testcases:
No testcase defined.

xo::db::sql::acs_mail_body proc new (public)

 xo::db::sql::acs_mail_body[i] new [ -dbn dbn ] [ -body_id body_id ] \
    [ -body_reply_to body_reply_to ] [ -body_from body_from ] \
    [ -body_date body_date ] [ -header_message_id header_message_id ] \
    [ -header_reply_to header_reply_to ] \
    [ -header_subject header_subject ] [ -header_from header_from ] \
    [ -header_to header_to ] [ -content_item_id content_item_id ] \
    [ -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)
-body_id
(optional)
-body_reply_to
(optional)
-body_from
(optional)
-body_date
(optional)
-header_message_id
(optional)
-header_reply_to
(optional)
-header_subject
(optional)
-header_from
(optional)
-header_to
(optional)
-content_item_id
(optional)
-object_type
(defaults to "acs_mail_body") (optional)
-creation_date
(defaults to "now()") (optional)
-creation_user
(optional)
-creation_ip
(optional)
-context_id
(optional)
-childof
(optional)

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

Testcases:
No testcase defined.

xo::db::sql::acs_mail_body proc set_content_object (public)

 xo::db::sql::acs_mail_body[i] set_content_object [ -dbn dbn ] \
    -body_id body_id  -content_item_id content_item_id 

Automatically generated method

Switches:
-dbn
(optional)
-body_id
(required)
-content_item_id
(required)

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

Testcases:
No testcase defined.

xo::db::sql::acs_mail_gc_object proc delete (public)

 xo::db::sql::acs_mail_gc_object[i] delete [ -dbn dbn ] \
    -gc_object_id gc_object_id 

Automatically generated method

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

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

Testcases:
No testcase defined.

xo::db::sql::acs_mail_gc_object proc new (public)

 xo::db::sql::acs_mail_gc_object[i] new [ -dbn dbn ] \
    [ -gc_object_id gc_object_id ] [ -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)
-gc_object_id
(optional)
-object_type
(defaults to "acs_mail_gc_object") (optional)
-creation_date
(defaults to "now") (optional)
-creation_user
(optional)
-creation_ip
(optional)
-context_id
(optional)
-childof
(optional)

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

Testcases:
No testcase defined.

xo::db::sql::acs_mail_link proc delete (public)

 xo::db::sql::acs_mail_link[i] delete [ -dbn dbn ] \
    -mail_link_id mail_link_id 

Automatically generated method

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

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

Testcases:
No testcase defined.

xo::db::sql::acs_mail_link proc link_p (public)

 xo::db::sql::acs_mail_link[i] link_p [ -dbn dbn ] -object_id object_id 

Automatically generated method

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

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

Testcases:
No testcase defined.

xo::db::sql::acs_mail_link proc new (public)

 xo::db::sql::acs_mail_link[i] new [ -dbn dbn ] \
    [ -mail_link_id mail_link_id ] -body_id body_id  \
    [ -context_id context_id ] [ -creation_date creation_date ] \
    [ -creation_user creation_user ] [ -creation_ip creation_ip ] \
    [ -object_type object_type ] [ -childof childof ]

Automatically generated method

Switches:
-dbn
(optional)
-mail_link_id
(optional)
-body_id
(required)
-context_id
(optional)
-creation_date
(defaults to "now()") (optional)
-creation_user
(optional)
-creation_ip
(optional)
-object_type
(defaults to "acs_mail_link") (optional)
-childof
(optional)

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

Testcases:
No testcase defined.

xo::db::sql::acs_mail_multipart proc add_content (public)

 xo::db::sql::acs_mail_multipart[i] add_content [ -dbn dbn ] \
    -multipart_id multipart_id  -content_item_id content_item_id 

Automatically generated method

Switches:
-dbn
(optional)
-multipart_id
(required)
-content_item_id
(required)

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

Testcases:
No testcase defined.

xo::db::sql::acs_mail_multipart proc delete (public)

 xo::db::sql::acs_mail_multipart[i] delete [ -dbn dbn ] \
    -multipart_id multipart_id 

Automatically generated method

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

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

Testcases:
No testcase defined.

xo::db::sql::acs_mail_multipart proc multipart_p (public)

 xo::db::sql::acs_mail_multipart[i] multipart_p [ -dbn dbn ] \
    -object_id object_id 

Automatically generated method

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

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

Testcases:
No testcase defined.

xo::db::sql::acs_mail_multipart proc new (public)

 xo::db::sql::acs_mail_multipart[i] new [ -dbn dbn ] \
    -multipart_id multipart_id  -multipart_kind multipart_kind  \
    [ -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)
-multipart_id
(required)
-multipart_kind
(required)
-object_type
(defaults to "acs_mail_multipart") (optional)
-creation_date
(defaults to "now()") (optional)
-creation_user
(optional)
-creation_ip
(optional)
-context_id
(optional)
-childof
(optional)

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

Testcases:
No testcase defined.

xo::db::sql::acs_mail_nt proc cancel_request (public)

 xo::db::sql::acs_mail_nt[i] cancel_request [ -dbn dbn ] \
    -message_id message_id 

Automatically generated method

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

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

Testcases:
No testcase defined.

xo::db::sql::acs_mail_nt proc expand_requests (public)

 xo::db::sql::acs_mail_nt[i] expand_requests [ -dbn dbn ]

Automatically generated method

Switches:
-dbn
(optional)

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

Testcases:
No testcase defined.

xo::db::sql::acs_mail_nt proc post_request (public)

 xo::db::sql::acs_mail_nt[i] post_request [ -dbn dbn ] \
    -party_from party_from  -party_to party_to  -subject subject  \
    -message message 

Automatically generated method

Switches:
-dbn
(optional)
-party_from
(required)
-party_to
(required)
-subject
(required)
-message
(required)

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

Testcases:
No testcase defined.

xo::db::sql::acs_mail_nt proc process_queue (public)

 xo::db::sql::acs_mail_nt[i] process_queue [ -dbn dbn ] -host host  \
    [ -port port ]

Automatically generated method

Switches:
-dbn
(optional)
-host
(required)
-port
(defaults to "25") (optional)

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

Testcases:
No testcase defined.

xo::db::sql::acs_mail_nt proc schedule_process (public)

 xo::db::sql::acs_mail_nt[i] schedule_process [ -dbn dbn ] \
    -interval interval  -host host  [ -port port ]

Automatically generated method

Switches:
-dbn
(optional)
-interval
(required)
-host
(required)
-port
(defaults to "25") (optional)

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

Testcases:
No testcase defined.

xo::db::sql::acs_mail_nt proc update_requests (public)

 xo::db::sql::acs_mail_nt[i] update_requests [ -dbn dbn ]

Automatically generated method

Switches:
-dbn
(optional)

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

Testcases:
No testcase defined.

xo::db::sql::acs_mail_queue_message proc delete (public)

 xo::db::sql::acs_mail_queue_message[i] delete [ -dbn dbn ] \
    -message_id message_id 

Automatically generated method

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

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

Testcases:
No testcase defined.

xo::db::sql::acs_mail_queue_message proc new (public)

 xo::db::sql::acs_mail_queue_message[i] new [ -dbn dbn ] \
    [ -mail_link_id mail_link_id ] -body_id body_id  \
    [ -context_id context_id ] [ -creation_date creation_date ] \
    [ -creation_user creation_user ] [ -creation_ip creation_ip ] \
    [ -object_type object_type ] [ -childof childof ]

Automatically generated method

Switches:
-dbn
(optional)
-mail_link_id
(optional)
-body_id
(required)
-context_id
(optional)
-creation_date
(defaults to "now()") (optional)
-creation_user
(optional)
-creation_ip
(optional)
-object_type
(defaults to "acs_mail_link") (optional)
-childof
(optional)

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

Testcases:
No testcase defined.

xo::db::sql::acs_message proc delete (public)

 xo::db::sql::acs_message[i] delete [ -dbn dbn ] -message_id message_id 

Automatically generated method

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

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

Testcases:
No testcase defined.

xo::db::sql::acs_message proc delete_extlink (public)

 xo::db::sql::acs_message[i] delete_extlink [ -dbn dbn ] \
    -extlink_id extlink_id 

Automatically generated method

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

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

Testcases:
No testcase defined.

xo::db::sql::acs_message proc delete_file (public)

 xo::db::sql::acs_message[i] delete_file [ -dbn dbn ] -file_id file_id 

Automatically generated method

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

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

Testcases:
No testcase defined.

xo::db::sql::acs_message proc delete_image (public)

 xo::db::sql::acs_message[i] delete_image [ -dbn dbn ] -image_id image_id 

Automatically generated method

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

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

Testcases:
No testcase defined.

xo::db::sql::acs_message proc edit (public)

 xo::db::sql::acs_message[i] edit [ -dbn dbn ] -message_id message_id  \
    [ -title title ] [ -description description ] \
    [ -mime_type mime_type ] [ -text text ] [ -data data ] \
    [ -creation_date creation_date ] [ -creation_user creation_user ] \
    [ -creation_ip creation_ip ] [ -is_live is_live ]

Automatically generated method

Switches:
-dbn
(optional)
-message_id
(required)
-title
(optional)
-description
(optional)
-mime_type
(defaults to "text/plain") (optional)
-text
(optional)
-data
(optional)
-creation_date
(defaults to "sysdate") (optional)
-creation_user
(optional)
-creation_ip
(optional)
-is_live
(defaults to "t") (optional)

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

Testcases:
No testcase defined.

xo::db::sql::acs_message proc edit_extlink (public)

 xo::db::sql::acs_message[i] edit_extlink [ -dbn dbn ] \
    -extlink_id extlink_id  -url url  [ -label label ] \
    -description description 

Automatically generated method

Switches:
-dbn
(optional)
-extlink_id
(required)
-url
(required)
-label
(optional)
-description
(required)

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

Testcases:
No testcase defined.

xo::db::sql::acs_message proc edit_file (public)

 xo::db::sql::acs_message[i] edit_file [ -dbn dbn ] -file_id file_id  \
    [ -title title ] [ -description description ] \
    [ -mime_type mime_type ] [ -data data ] \
    [ -creation_date creation_date ] [ -creation_user creation_user ] \
    [ -creation_ip creation_ip ] [ -is_live is_live ]

Automatically generated method

Switches:
-dbn
(optional)
-file_id
(required)
-title
(optional)
-description
(optional)
-mime_type
(defaults to "text/plain") (optional)
-data
(optional)
-creation_date
(defaults to "sysdate") (optional)
-creation_user
(optional)
-creation_ip
(optional)
-is_live
(defaults to "t") (optional)

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

Testcases:
No testcase defined.

xo::db::sql::acs_message proc edit_image (public)

 xo::db::sql::acs_message[i] edit_image [ -dbn dbn ] -image_id image_id  \
    [ -title title ] [ -description description ] \
    [ -mime_type mime_type ] [ -data data ] [ -width width ] \
    [ -height height ] [ -creation_date creation_date ] \
    [ -creation_user creation_user ] [ -creation_ip creation_ip ] \
    [ -is_live is_live ]

Automatically generated method

Switches:
-dbn
(optional)
-image_id
(required)
-title
(optional)
-description
(optional)
-mime_type
(defaults to "text/plain") (optional)
-data
(optional)
-width
(optional)
-height
(optional)
-creation_date
(defaults to "sysdate") (optional)
-creation_user
(optional)
-creation_ip
(optional)
-is_live
(defaults to "t") (optional)

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

Testcases:
No testcase defined.

xo::db::sql::acs_message proc first_ancestor (public)

 xo::db::sql::acs_message[i] first_ancestor [ -dbn dbn ] \
    -message_id message_id 

Automatically generated method

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

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

Testcases:
No testcase defined.

xo::db::sql::acs_message proc message_p (public)

 xo::db::sql::acs_message[i] message_p [ -dbn dbn ] \
    -message_id message_id 

Automatically generated method

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

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

Testcases:
No testcase defined.

xo::db::sql::acs_message proc name (public)

 xo::db::sql::acs_message[i] name [ -dbn dbn ] -message_id message_id 

Automatically generated method

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

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

Testcases:
No testcase defined.

xo::db::sql::acs_message proc new (public)

 xo::db::sql::acs_message[i] new [ -dbn dbn ] -message_id message_id  \
    -reply_to reply_to  -sent_date sent_date  -sender sender  \
    -rfc822_id rfc822_id  -title title  -description description  \
    -mime_type mime_type  -text text  -data data  \
    -parent_id parent_id  -context_id context_id  \
    -creation_user creation_user  -creation_ip creation_ip  \
    -object_type object_type  -is_live is_live  \
    -package_id package_id  [ -childof childof ]

Automatically generated method

Switches:
-dbn
(optional)
-message_id
(required)
-reply_to
(required)
-sent_date
(required)
-sender
(required)
-rfc822_id
(required)
-title
(required)
-description
(required)
-mime_type
(required)
-text
(required)
-data
(required)
-parent_id
(required)
-context_id
(required)
-creation_user
(required)
-creation_ip
(required)
-object_type
(required)
-is_live
(required)
-package_id
(required)
-childof
(optional)

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

Testcases:
No testcase defined.

xo::db::sql::acs_message proc new_extlink (public)

 xo::db::sql::acs_message[i] new_extlink [ -dbn dbn ] [ -name name ] \
    [ -extlink_id extlink_id ] -url url  [ -label label ] \
    [ -description description ] -parent_id parent_id  \
    [ -creation_date creation_date ] [ -creation_user creation_user ] \
    [ -creation_ip creation_ip ] [ -package_id package_id ]

Automatically generated method

Switches:
-dbn
(optional)
-name
(optional)
-extlink_id
(optional)
-url
(required)
-label
(optional)
-description
(optional)
-parent_id
(required)
-creation_date
(defaults to "sysdate") (optional)
-creation_user
(optional)
-creation_ip
(optional)
-package_id
(optional)

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

Testcases:
No testcase defined.

xo::db::sql::acs_message proc new_file (public)

 xo::db::sql::acs_message[i] new_file [ -dbn dbn ] -message_id message_id  \
    [ -file_id file_id ] -file_name file_name  [ -title title ] \
    [ -description description ] [ -mime_type mime_type ] \
    [ -data data ] [ -creation_date creation_date ] \
    [ -creation_user creation_user ] [ -creation_ip creation_ip ] \
    [ -is_live is_live ] [ -storage_type storage_type ] \
    [ -package_id package_id ]

Automatically generated method

Switches:
-dbn
(optional)
-message_id
(required)
-file_id
(optional)
-file_name
(required)
-title
(optional)
-description
(optional)
-mime_type
(defaults to "text/plain") (optional)
-data
(optional)
-creation_date
(defaults to "sysdate") (optional)
-creation_user
(optional)
-creation_ip
(optional)
-is_live
(defaults to "t") (optional)
-storage_type
(defaults to "file") (optional)
-package_id
(optional)

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

Testcases:
No testcase defined.

xo::db::sql::acs_message proc new_image (public)

 xo::db::sql::acs_message[i] new_image [ -dbn dbn ] \
    -message_id message_id  [ -image_id image_id ] \
    -file_name file_name  [ -title title ] \
    [ -description description ] [ -mime_type mime_type ] \
    [ -data data ] [ -width width ] [ -height height ] \
    [ -creation_date creation_date ] [ -creation_user creation_user ] \
    [ -creation_ip creation_ip ] [ -is_live is_live ] \
    [ -storage_type storage_type ] [ -package_id package_id ]

Automatically generated method

Switches:
-dbn
(optional)
-message_id
(required)
-image_id
(optional)
-file_name
(required)
-title
(optional)
-description
(optional)
-mime_type
(defaults to "text/plain") (optional)
-data
(optional)
-width
(optional)
-height
(optional)
-creation_date
(defaults to "sysdate") (optional)
-creation_user
(optional)
-creation_ip
(optional)
-is_live
(defaults to "t") (optional)
-storage_type
(defaults to "file") (optional)
-package_id
(optional)

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

Testcases:
No testcase defined.

xo::db::sql::acs_message proc send (public)

 xo::db::sql::acs_message[i] send [ -dbn dbn ] -message_id message_id  \
    -recipient_id recipient_id  [ -grouping_id grouping_id ] \
    [ -wait_until wait_until ]

Automatically generated method

Switches:
-dbn
(optional)
-message_id
(required)
-recipient_id
(required)
-grouping_id
(optional)
-wait_until
(defaults to "sysdate") (optional)

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

Testcases:
No testcase defined.

xo::db::sql::acs_object proc check_context_index (public)

 xo::db::sql::acs_object[i] check_context_index [ -dbn dbn ] \
    -object_id object_id  -ancestor_id ancestor_id  \
    -n_generations n_generations 

Automatically generated method

Switches:
-dbn
(optional)
-object_id
(required)
-ancestor_id
(required)
-n_generations
(required)

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

Testcases:
No testcase defined.

xo::db::sql::acs_object proc check_object_ancestors (public)

 xo::db::sql::acs_object[i] check_object_ancestors [ -dbn dbn ] \
    -object_id object_id  -ancestor_id ancestor_id  \
    -n_generations n_generations 

Automatically generated method

Switches:
-dbn
(optional)
-object_id
(required)
-ancestor_id
(required)
-n_generations
(required)

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

Testcases:
No testcase defined.

xo::db::sql::acs_object proc check_object_descendants (public)

 xo::db::sql::acs_object[i] check_object_descendants [ -dbn dbn ] \
    -object_id object_id  -descendant_id descendant_id  \
    -n_generations n_generations 

Automatically generated method

Switches:
-dbn
(optional)
-object_id
(required)
-descendant_id
(required)
-n_generations
(required)

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

Testcases:
No testcase defined.

xo::db::sql::acs_object proc check_path (public)

 xo::db::sql::acs_object[i] check_path [ -dbn dbn ] -object_id object_id  \
    -ancestor_id ancestor_id 

Automatically generated method

Switches:
-dbn
(optional)
-object_id
(required)
-ancestor_id
(required)

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

Testcases:
No testcase defined.

xo::db::sql::acs_object proc default_name (public)

 xo::db::sql::acs_object[i] default_name [ -dbn dbn ] \
    -object_id object_id 

Automatically generated method

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

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

Testcases:
No testcase defined.

xo::db::sql::acs_object proc delete (public)

 xo::db::sql::acs_object[i] delete [ -dbn dbn ] -object_id object_id 

Automatically generated method

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

Partial Call Graph (max 5 caller/called nodes):
%3 test_xotcl_core_tutorial_2 xotcl_core_tutorial_2 (test xotcl-core) xo::db::sql::acs_object proc delete xo::db::sql::acs_object proc delete test_xotcl_core_tutorial_2->xo::db::sql::acs_object proc delete test_xotcl_core_tutorial_4 xotcl_core_tutorial_4 (test xotcl-core) test_xotcl_core_tutorial_4->xo::db::sql::acs_object proc delete db_with_handle db_with_handle (public) xo::db::sql::acs_object proc delete->db_with_handle

Testcases:
xotcl_core_tutorial_2, xotcl_core_tutorial_4

xo::db::sql::acs_object proc get_attr_storage_column (public)

 xo::db::sql::acs_object[i] get_attr_storage_column [ -dbn dbn ] \
    -v_vals v_vals 

Automatically generated method

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

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

Testcases:
No testcase defined.

xo::db::sql::acs_object proc get_attr_storage_sql (public)

 xo::db::sql::acs_object[i] get_attr_storage_sql [ -dbn dbn ] \
    -v_vals v_vals 

Automatically generated method

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

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

Testcases:
No testcase defined.

xo::db::sql::acs_object proc get_attr_storage_table (public)

 xo::db::sql::acs_object[i] get_attr_storage_table [ -dbn dbn ] \
    -v_vals v_vals 

Automatically generated method

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

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

Testcases:
No testcase defined.

xo::db::sql::acs_object proc get_attribute (public)

 xo::db::sql::acs_object[i] get_attribute [ -dbn dbn ] \
    -object_id_in object_id_in  -attribute_name_in attribute_name_in 

Automatically generated method

Switches:
-dbn
(optional)
-object_id_in
(required)
-attribute_name_in
(required)

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

Testcases:
No testcase defined.

xo::db::sql::acs_object proc get_attribute_storage (public)

 xo::db::sql::acs_object[i] get_attribute_storage [ -dbn dbn ] \
    -object_id_in object_id_in  -attribute_name_in attribute_name_in 

Automatically generated method

Switches:
-dbn
(optional)
-object_id_in
(required)
-attribute_name_in
(required)

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

Testcases:
No testcase defined.

xo::db::sql::acs_object proc initialize_attributes (public)

 xo::db::sql::acs_object[i] initialize_attributes [ -dbn dbn ] \
    -object_id object_id 

Automatically generated method

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

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

Testcases:
No testcase defined.

xo::db::sql::acs_object proc name (public)

 xo::db::sql::acs_object[i] name [ -dbn dbn ] -object_id object_id 

Automatically generated method

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

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

Testcases:
No testcase defined.

xo::db::sql::acs_object proc new (public)

 xo::db::sql::acs_object[i] new [ -dbn dbn ] [ -object_id object_id ] \
    [ -object_type object_type ] [ -creation_date creation_date ] \
    [ -creation_user creation_user ] [ -creation_ip creation_ip ] \
    [ -context_id context_id ] \
    [ -security_inherit_p security_inherit_p ] [ -title title ] \
    [ -package_id package_id ] [ -childof childof ]

Automatically generated method

Switches:
-dbn
(optional)
-object_id
(optional)
-object_type
(defaults to "acs_object") (optional)
-creation_date
(defaults to "now()") (optional)
-creation_user
(optional)
-creation_ip
(optional)
-context_id
(optional)
-security_inherit_p
(defaults to "t") (optional)
-title
(optional)
-package_id
(optional)
-childof
(optional)

Partial Call Graph (max 5 caller/called nodes):
%3 test_xotcl_core_tutorial_2 xotcl_core_tutorial_2 (test xotcl-core) xo::db::sql::acs_object proc new xo::db::sql::acs_object proc new test_xotcl_core_tutorial_2->xo::db::sql::acs_object proc new db_with_handle db_with_handle (public) xo::db::sql::acs_object proc new->db_with_handle

Testcases:
xotcl_core_tutorial_2

xo::db::sql::acs_object proc package_id (public)

 xo::db::sql::acs_object[i] package_id [ -dbn dbn ] -object_id object_id 

Automatically generated method

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

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

Testcases:
No testcase defined.

xo::db::sql::acs_object proc set_attribute (public)

 xo::db::sql::acs_object[i] set_attribute [ -dbn dbn ] \
    -object_id_in object_id_in  -attribute_name_in attribute_name_in  \
    -value_in value_in 

Automatically generated method

Switches:
-dbn
(optional)
-object_id_in
(required)
-attribute_name_in
(required)
-value_in
(required)

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

Testcases:
No testcase defined.

xo::db::sql::acs_object proc update_last_modified (public)

 xo::db::sql::acs_object[i] update_last_modified [ -dbn dbn ] \
    -object_id object_id  -modifying_user modifying_user  \
    -modifying_ip modifying_ip  [ -last_modified last_modified ]

Automatically generated method

Switches:
-dbn
(optional)
-object_id
(required)
-modifying_user
(required)
-modifying_ip
(required)
-last_modified
(defaults to "now()") (optional)

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

Testcases:
No testcase defined.

xo::db::sql::acs_object_type proc create_type (public)

 xo::db::sql::acs_object_type[i] create_type [ -dbn dbn ] \
    -object_type object_type  -pretty_name pretty_name  \
    -pretty_plural pretty_plural  -supertype supertype  \
    [ -table_name table_name ] [ -id_column id_column ] \
    [ -package_name package_name ] [ -abstract_p abstract_p ] \
    [ -type_extension_table type_extension_table ] \
    [ -name_method name_method ] [ -create_table_p create_table_p ] \
    [ -dynamic_p dynamic_p ]

Automatically generated method

Switches:
-dbn
(optional)
-object_type
(required)
-pretty_name
(required)
-pretty_plural
(required)
-supertype
(required)
-table_name
(optional)
-id_column
(optional)
-package_name
(optional)
-abstract_p
(defaults to "f") (optional)
-type_extension_table
(optional)
-name_method
(optional)
-create_table_p
(defaults to "f") (optional)
-dynamic_p
(defaults to "f") (optional)

Partial Call Graph (max 5 caller/called nodes):
%3 test_xotcl_core_tutorial_2 xotcl_core_tutorial_2 (test xotcl-core) xo::db::sql::acs_object_type proc create_type xo::db::sql::acs_object_type proc create_type test_xotcl_core_tutorial_2->xo::db::sql::acs_object_type proc create_type db_with_handle db_with_handle (public) xo::db::sql::acs_object_type proc create_type->db_with_handle

Testcases:
xotcl_core_tutorial_2

xo::db::sql::acs_object_type proc drop_type (public)

 xo::db::sql::acs_object_type[i] drop_type [ -dbn dbn ] \
    -object_type object_type  [ -drop_children_p drop_children_p ] \
    [ -drop_table_p drop_table_p ]

Automatically generated method

Switches:
-dbn
(optional)
-object_type
(required)
-drop_children_p
(defaults to "f") (optional)
-drop_table_p
(defaults to "f") (optional)

Partial Call Graph (max 5 caller/called nodes):
%3 test_xotcl_core_tutorial_2 xotcl_core_tutorial_2 (test xotcl-core) xo::db::sql::acs_object_type proc drop_type xo::db::sql::acs_object_type proc drop_type test_xotcl_core_tutorial_2->xo::db::sql::acs_object_type proc drop_type db_with_handle db_with_handle (public) xo::db::sql::acs_object_type proc drop_type->db_with_handle

Testcases:
xotcl_core_tutorial_2

xo::db::sql::acs_object_type proc is_subtype_p (public)

 xo::db::sql::acs_object_type[i] is_subtype_p [ -dbn dbn ] \
    -object_type_1 object_type_1  -object_type_2 object_type_2 

Automatically generated method

Switches:
-dbn
(optional)
-object_type_1
(required)
-object_type_2
(required)

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

Testcases:
No testcase defined.

xo::db::sql::acs_object_type proc pretty_name (public)

 xo::db::sql::acs_object_type[i] pretty_name [ -dbn dbn ] \
    -object_type object_type 

Automatically generated method

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

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

Testcases:
No testcase defined.

xo::db::sql::acs_object_util proc get_object_type (public)

 xo::db::sql::acs_object_util[i] get_object_type [ -dbn dbn ] \
    -object_id object_id 

Automatically generated method

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

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

Testcases:
No testcase defined.

xo::db::sql::acs_object_util proc object_ancestor_type_p (public)

 xo::db::sql::acs_object_util[i] object_ancestor_type_p [ -dbn dbn ] \
    -object_id object_id  -object_type object_type 

Automatically generated method

Switches:
-dbn
(optional)
-object_id
(required)
-object_type
(required)

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

Testcases:
No testcase defined.

xo::db::sql::acs_object_util proc object_type_exist_p (public)

 xo::db::sql::acs_object_util[i] object_type_exist_p [ -dbn dbn ] \
    -object_type object_type 

Automatically generated method

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

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

Testcases:
No testcase defined.

xo::db::sql::acs_object_util proc object_type_p (public)

 xo::db::sql::acs_object_util[i] object_type_p [ -dbn dbn ] \
    -object_id object_id  -object_type object_type 

Automatically generated method

Switches:
-dbn
(optional)
-object_id
(required)
-object_type
(required)

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

Testcases:
No testcase defined.

xo::db::sql::acs_object_util proc type_ancestor_type_p (public)

 xo::db::sql::acs_object_util[i] type_ancestor_type_p [ -dbn dbn ] \
    -object_type1 object_type1  -object_type2 object_type2 

Automatically generated method

Switches:
-dbn
(optional)
-object_type1
(required)
-object_type2
(required)

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

Testcases:
No testcase defined.

xo::db::sql::acs_permission proc grant_permission (public)

 xo::db::sql::acs_permission[i] grant_permission [ -dbn dbn ] \
    -object_id object_id  -grantee_id grantee_id  \
    -privilege privilege 

Automatically generated method

Switches:
-dbn
(optional)
-object_id
(required)
-grantee_id
(required)
-privilege
(required)

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

Testcases:
No testcase defined.

xo::db::sql::acs_permission proc permission_p (public)

 xo::db::sql::acs_permission[i] permission_p [ -dbn dbn ] \
    -object_id object_id  -party_id party_id  -privilege privilege 

Automatically generated method

Switches:
-dbn
(optional)
-object_id
(required)
-party_id
(required)
-privilege
(required)

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

Testcases:
No testcase defined.

xo::db::sql::acs_permission proc permission_p_recursive_array (public)

 xo::db::sql::acs_permission[i] permission_p_recursive_array [ -dbn dbn ] \
    -objects objects  -party_id party_id  -privilege privilege 

Automatically generated method

Switches:
-dbn
(optional)
-objects
(required)
-party_id
(required)
-privilege
(required)

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

Testcases:
No testcase defined.

xo::db::sql::acs_permission proc revoke_permission (public)

 xo::db::sql::acs_permission[i] revoke_permission [ -dbn dbn ] \
    -object_id object_id  -grantee_id grantee_id  \
    -privilege privilege 

Automatically generated method

Switches:
-dbn
(optional)
-object_id
(required)
-grantee_id
(required)
-privilege
(required)

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

Testcases:
No testcase defined.

xo::db::sql::acs_privilege proc add_child (public)

 xo::db::sql::acs_privilege[i] add_child [ -dbn dbn ] \
    -privilege privilege  -child_privilege child_privilege 

Automatically generated method

Switches:
-dbn
(optional)
-privilege
(required)
-child_privilege
(required)

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

Testcases:
No testcase defined.

xo::db::sql::acs_privilege proc create_privilege (public)

 xo::db::sql::acs_privilege[i] create_privilege [ -dbn dbn ] \
    -privilege privilege  [ -pretty_name pretty_name ] \
    [ -pretty_plural pretty_plural ]

Automatically generated method

Switches:
-dbn
(optional)
-privilege
(required)
-pretty_name
(optional)
-pretty_plural
(optional)

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

Testcases:
No testcase defined.

xo::db::sql::acs_privilege proc drop_privilege (public)

 xo::db::sql::acs_privilege[i] drop_privilege [ -dbn dbn ] \
    -privilege privilege 

Automatically generated method

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

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

Testcases:
No testcase defined.

xo::db::sql::acs_privilege proc remove_child (public)

 xo::db::sql::acs_privilege[i] remove_child [ -dbn dbn ] \
    -privilege privilege  -child_privilege child_privilege 

Automatically generated method

Switches:
-dbn
(optional)
-privilege
(required)
-child_privilege
(required)

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

Testcases:
No testcase defined.

xo::db::sql::acs_reference proc delete (public)

 xo::db::sql::acs_reference[i] delete [ -dbn dbn ] \
    -repository_id repository_id 

Automatically generated method

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

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

Testcases:
No testcase defined.

xo::db::sql::acs_reference proc is_expired_p (public)

 xo::db::sql::acs_reference[i] is_expired_p [ -dbn dbn ] \
    -repository_id repository_id 

Automatically generated method

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

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

Testcases:
No testcase defined.

xo::db::sql::acs_reference proc new (public)

 xo::db::sql::acs_reference[i] new [ -dbn dbn ] \
    [ -repository_id repository_id ] -table_name table_name  \
    [ -internal_data_p internal_data_p ] \
    [ -package_name package_name ] [ -last_update last_update ] \
    [ -source source ] [ -source_url source_url ] \
    [ -effective_date effective_date ] [ -expiry_date expiry_date ] \
    [ -maintainer_id maintainer_id ] [ -notes notes ] \
    [ -first_names first_names ] [ -last_name last_name ] \
    [ -creation_ip creation_ip ] [ -object_type object_type ] \
    [ -creation_user creation_user ] [ -childof childof ]

Automatically generated method

Switches:
-dbn
(optional)
-repository_id
(optional)
-table_name
(required)
-internal_data_p
(defaults to ""f"") (optional)
-package_name
(optional)
-last_update
(defaults to "sysdate") (optional)
-source
(optional)
-source_url
(optional)
-effective_date
(defaults to "sysdate") (optional)
-expiry_date
(optional)
-maintainer_id
(optional)
-notes
(defaults to "null (not Oracle empty_blob())") (optional)
-first_names
(optional)
-last_name
(optional)
-creation_ip
(optional)
-object_type
(defaults to ""acs_reference_repository"") (optional)
-creation_user
(optional)
-childof
(optional)

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

Testcases:
No testcase defined.

xo::db::sql::acs_rel proc delete (public)

 xo::db::sql::acs_rel[i] delete [ -dbn dbn ] -rel_id rel_id 

Automatically generated method

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

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

Testcases:
No testcase defined.

xo::db::sql::acs_rel proc new (public)

 xo::db::sql::acs_rel[i] new [ -dbn dbn ] [ -rel_id rel_id ] \
    [ -rel_type rel_type ] -object_id_one object_id_one  \
    -object_id_two object_id_two  [ -context_id context_id ] \
    [ -creation_user creation_user ] [ -creation_ip creation_ip ] \
    [ -childof childof ]

Automatically generated method

Switches:
-dbn
(optional)
-rel_id
(optional)
-rel_type
(defaults to "relationship") (optional)
-object_id_one
(required)
-object_id_two
(required)
-context_id
(optional)
-creation_user
(optional)
-creation_ip
(optional)
-childof
(optional)

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

Testcases:
No testcase defined.

xo::db::sql::acs_rel_type proc create_role (public)

 xo::db::sql::acs_rel_type[i] create_role [ -dbn dbn ] -role role  \
    [ -pretty_name pretty_name ] [ -pretty_plural pretty_plural ]

Automatically generated method

Switches:
-dbn
(optional)
-role
(required)
-pretty_name
(optional)
-pretty_plural
(optional)

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

Testcases:
No testcase defined.

xo::db::sql::acs_rel_type proc create_type (public)

 xo::db::sql::acs_rel_type[i] create_type [ -dbn dbn ] -rel_type rel_type  \
    -pretty_name pretty_name  -pretty_plural pretty_plural  \
    [ -supertype supertype ] -table_name table_name  \
    -id_column id_column  -package_name package_name  \
    -object_type_one object_type_one  [ -role_one role_one ] \
    -min_n_rels_one min_n_rels_one  -max_n_rels_one max_n_rels_one  \
    -object_type_two object_type_two  [ -role_two role_two ] \
    -min_n_rels_two min_n_rels_two  -max_n_rels_two max_n_rels_two  \
    [ -composable_p composable_p ]

Automatically generated method

Switches:
-dbn
(optional)
-rel_type
(required)
-pretty_name
(required)
-pretty_plural
(required)
-supertype
(defaults to "relationship") (optional)
-table_name
(required)
-id_column
(required)
-package_name
(required)
-object_type_one
(required)
-role_one
(optional)
-min_n_rels_one
(required)
-max_n_rels_one
(required)
-object_type_two
(required)
-role_two
(optional)
-min_n_rels_two
(required)
-max_n_rels_two
(required)
-composable_p
(defaults to "t") (optional)

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

Testcases:
No testcase defined.

xo::db::sql::acs_rel_type proc drop_role (public)

 xo::db::sql::acs_rel_type[i] drop_role [ -dbn dbn ] -role role 

Automatically generated method

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

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

Testcases:
No testcase defined.

xo::db::sql::acs_rel_type proc drop_type (public)

 xo::db::sql::acs_rel_type[i] drop_type [ -dbn dbn ] -rel_type rel_type  \
    [ -cascade_p cascade_p ]

Automatically generated method

Switches:
-dbn
(optional)
-rel_type
(required)
-cascade_p
(defaults to "f") (optional)

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

Testcases:
No testcase defined.

xo::db::sql::acs_rel_type proc role_pretty_name (public)

 xo::db::sql::acs_rel_type[i] role_pretty_name [ -dbn dbn ] -role role 

Automatically generated method

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

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

Testcases:
No testcase defined.

xo::db::sql::acs_rel_type proc role_pretty_plural (public)

 xo::db::sql::acs_rel_type[i] role_pretty_plural [ -dbn dbn ] -role role 

Automatically generated method

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

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

Testcases:
No testcase defined.

xo::db::sql::acs_sc_binding proc delete (public)

 xo::db::sql::acs_sc_binding[i] delete [ -dbn dbn ] \
    -contract_name contract_name  -impl_name impl_name 

Automatically generated method

Switches:
-dbn
(optional)
-contract_name
(required)
-impl_name
(required)

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

Testcases:
No testcase defined.

xo::db::sql::acs_sc_binding proc exists_p (public)

 xo::db::sql::acs_sc_binding[i] exists_p [ -dbn dbn ] \
    -contract_name contract_name  -impl_name impl_name 

Automatically generated method

Switches:
-dbn
(optional)
-contract_name
(required)
-impl_name
(required)

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

Testcases:
No testcase defined.

xo::db::sql::acs_sc_binding proc new (public)

 xo::db::sql::acs_sc_binding[i] new [ -dbn dbn ] \
    -contract_name contract_name  -impl_name impl_name  \
    [ -childof childof ]

Automatically generated method

Switches:
-dbn
(optional)
-contract_name
(required)
-impl_name
(required)
-childof
(optional)

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

Testcases:
No testcase defined.

xo::db::sql::acs_sc_contract proc delete (public)

 xo::db::sql::acs_sc_contract[i] delete [ -dbn dbn ] \
    -contract_name contract_name 

Automatically generated method

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

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

Testcases:
No testcase defined.

xo::db::sql::acs_sc_contract proc get_id (public)

 xo::db::sql::acs_sc_contract[i] get_id [ -dbn dbn ] \
    -contract_name contract_name 

Automatically generated method

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

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

Testcases:
No testcase defined.

xo::db::sql::acs_sc_contract proc get_name (public)

 xo::db::sql::acs_sc_contract[i] get_name [ -dbn dbn ] \
    -contract_id contract_id 

Automatically generated method

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

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

Testcases:
No testcase defined.

xo::db::sql::acs_sc_contract proc new (public)

 xo::db::sql::acs_sc_contract[i] new [ -dbn dbn ] \
    -contract_name contract_name  -contract_desc contract_desc  \
    [ -childof childof ]

Automatically generated method

Switches:
-dbn
(optional)
-contract_name
(required)
-contract_desc
(required)
-childof
(optional)

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

Testcases:
No testcase defined.

xo::db::sql::acs_sc_impl proc delete (public)

 xo::db::sql::acs_sc_impl[i] delete [ -dbn dbn ] \
    -impl_contract_name impl_contract_name  -impl_name impl_name 

Automatically generated method

Switches:
-dbn
(optional)
-impl_contract_name
(required)
-impl_name
(required)

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

Testcases:
No testcase defined.

xo::db::sql::acs_sc_impl proc get_id (public)

 xo::db::sql::acs_sc_impl[i] get_id [ -dbn dbn ] \
    -impl_contract_name impl_contract_name  -impl_name impl_name 

Automatically generated method

Switches:
-dbn
(optional)
-impl_contract_name
(required)
-impl_name
(required)

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

Testcases:
No testcase defined.

xo::db::sql::acs_sc_impl proc get_name (public)

 xo::db::sql::acs_sc_impl[i] get_name [ -dbn dbn ] -impl_id impl_id 

Automatically generated method

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

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

Testcases:
No testcase defined.

xo::db::sql::acs_sc_impl proc new (public)

 xo::db::sql::acs_sc_impl[i] new [ -dbn dbn ] \
    -impl_contract_name impl_contract_name  -impl_name impl_name  \
    -impl_pretty_name impl_pretty_name  \
    -impl_owner_name impl_owner_name  [ -childof childof ]

Automatically generated method

Switches:
-dbn
(optional)
-impl_contract_name
(required)
-impl_name
(required)
-impl_pretty_name
(required)
-impl_owner_name
(required)
-childof
(optional)

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

Testcases:
No testcase defined.

xo::db::sql::acs_sc_impl_alias proc delete (public)

 xo::db::sql::acs_sc_impl_alias[i] delete [ -dbn dbn ] \
    -impl_contract_name impl_contract_name  -impl_name impl_name  \
    -impl_operation_name impl_operation_name 

Automatically generated method

Switches:
-dbn
(optional)
-impl_contract_name
(required)
-impl_name
(required)
-impl_operation_name
(required)

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

Testcases:
No testcase defined.

xo::db::sql::acs_sc_impl_alias proc new (public)

 xo::db::sql::acs_sc_impl_alias[i] new [ -dbn dbn ] \
    -impl_contract_name impl_contract_name  -impl_name impl_name  \
    -impl_operation_name impl_operation_name  -impl_alias impl_alias  \
    -impl_pl impl_pl  [ -childof childof ]

Automatically generated method

Switches:
-dbn
(optional)
-impl_contract_name
(required)
-impl_name
(required)
-impl_operation_name
(required)
-impl_alias
(required)
-impl_pl
(required)
-childof
(optional)

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

Testcases:
No testcase defined.

xo::db::sql::acs_sc_msg_type proc delete (public)

 xo::db::sql::acs_sc_msg_type[i] delete [ -dbn dbn ] \
    -msg_type_name msg_type_name 

Automatically generated method

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

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

Testcases:
No testcase defined.

xo::db::sql::acs_sc_msg_type proc get_id (public)

 xo::db::sql::acs_sc_msg_type[i] get_id [ -dbn dbn ] \
    -msg_type_name msg_type_name 

Automatically generated method

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

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

Testcases:
No testcase defined.

xo::db::sql::acs_sc_msg_type proc get_name (public)

 xo::db::sql::acs_sc_msg_type[i] get_name [ -dbn dbn ] \
    -msg_type_id msg_type_id 

Automatically generated method

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

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

Testcases:
No testcase defined.

xo::db::sql::acs_sc_msg_type proc new (public)

 xo::db::sql::acs_sc_msg_type[i] new [ -dbn dbn ] \
    -msg_type_name msg_type_name  -msg_type_spec msg_type_spec  \
    [ -childof childof ]

Automatically generated method

Switches:
-dbn
(optional)
-msg_type_name
(required)
-msg_type_spec
(required)
-childof
(optional)

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

Testcases:
No testcase defined.

xo::db::sql::acs_sc_msg_type proc new_element (public)

 xo::db::sql::acs_sc_msg_type[i] new_element [ -dbn dbn ] \
    -msg_type_name msg_type_name  -element_name element_name  \
    -element_msg_type_name element_msg_type_name  \
    [ -element_msg_type_isset_p element_msg_type_isset_p ] \
    -element_pos element_pos 

Automatically generated method

Switches:
-dbn
(optional)
-msg_type_name
(required)
-element_name
(required)
-element_msg_type_name
(required)
-element_msg_type_isset_p
(defaults to "f") (optional)
-element_pos
(required)

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

Testcases:
No testcase defined.

xo::db::sql::acs_sc_msg_type proc parse_spec (public)

 xo::db::sql::acs_sc_msg_type[i] parse_spec [ -dbn dbn ] \
    -msg_type_name msg_type_name  -msg_type_spec msg_type_spec 

Automatically generated method

Switches:
-dbn
(optional)
-msg_type_name
(required)
-msg_type_spec
(required)

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

Testcases:
No testcase defined.

xo::db::sql::acs_sc_operation proc delete (public)

 xo::db::sql::acs_sc_operation[i] delete [ -dbn dbn ] \
    -operation_id operation_id 

Automatically generated method

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

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

Testcases:
No testcase defined.

xo::db::sql::acs_sc_operation proc get_id (public)

 xo::db::sql::acs_sc_operation[i] get_id [ -dbn dbn ] \
    -contract_name contract_name  -operation_name operation_name 

Automatically generated method

Switches:
-dbn
(optional)
-contract_name
(required)
-operation_name
(required)

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

Testcases:
No testcase defined.

xo::db::sql::acs_sc_operation proc new (public)

 xo::db::sql::acs_sc_operation[i] 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
(defaults to "f") (optional)
-operation_nargs
(required)
-operation_inputtype
(required)
-operation_outputtype
(required)
-childof
(optional)

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

Testcases:
No testcase defined.

xo::db::sql::acs_user proc approve_email (public)

 xo::db::sql::acs_user[i] approve_email [ -dbn dbn ] -user_id user_id 

Automatically generated method

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

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

Testcases:
No testcase defined.

xo::db::sql::acs_user proc delete (public)

 xo::db::sql::acs_user[i] delete [ -dbn dbn ] -user_id user_id 

Automatically generated method

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

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

Testcases:
No testcase defined.

xo::db::sql::acs_user proc new (public)

 xo::db::sql::acs_user[i] new [ -dbn dbn ] [ -user_id user_id ] \
    [ -object_type object_type ] [ -creation_date creation_date ] \
    [ -creation_user creation_user ] [ -creation_ip creation_ip ] \
    -authority_id authority_id  -username username  -email email  \
    [ -url url ] -first_names first_names  -last_name last_name  \
    -password password  -salt salt  [ -screen_name screen_name ] \
    [ -email_verified_p email_verified_p ] [ -context_id context_id ] \
    [ -childof childof ]

Automatically generated method

Switches:
-dbn
(optional)
-user_id
(optional)
-object_type
(defaults to "user") (optional)
-creation_date
(defaults to "now()") (optional)
-creation_user
(optional)
-creation_ip
(optional)
-authority_id
(required)
-username
(required)
-email
(required)
-url
(optional)
-first_names
(required)
-last_name
(required)
-password
(required)
-salt
(required)
-screen_name
(optional)
-email_verified_p
(defaults to "t") (optional)
-context_id
(optional)
-childof
(optional)

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

Testcases:
No testcase defined.

xo::db::sql::acs_user proc unapprove_email (public)

 xo::db::sql::acs_user[i] unapprove_email [ -dbn dbn ] -user_id user_id 

Automatically generated method

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

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

Testcases:
No testcase defined.

xo::db::sql::acs_util proc boolean_query (public)

 xo::db::sql::acs_util[i] boolean_query [ -dbn dbn ] -query_in query_in  \
    -not_flag_in not_flag_in 

Automatically generated method

Switches:
-dbn
(optional)
-query_in
(required)
-not_flag_in
(required)

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

Testcases:
No testcase defined.

xo::db::sql::acs_util proc has_children (public)

 xo::db::sql::acs_util[i] has_children [ -dbn dbn ] \
    -item_id_in item_id_in  -table_name_in table_name_in  \
    -parent_column_in parent_column_in 

Automatically generated method

Switches:
-dbn
(optional)
-item_id_in
(required)
-table_name_in
(required)
-parent_column_in
(required)

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

Testcases:
No testcase defined.

xo::db::sql::acs_util proc sql_to_tcl_string (public)

 xo::db::sql::acs_util[i] sql_to_tcl_string [ -dbn dbn ] \
    -string_in string_in 

Automatically generated method

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

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

Testcases:
No testcase defined.

xo::db::sql::admin_rel proc delete (public)

 xo::db::sql::admin_rel[i] delete [ -dbn dbn ] -rel_id rel_id 

Automatically generated method

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

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

Testcases:
No testcase defined.

xo::db::sql::admin_rel proc new (public)

 xo::db::sql::admin_rel[i] new [ -dbn dbn ] [ -rel_id rel_id ] \
    [ -rel_type rel_type ] -object_id_one object_id_one  \
    -object_id_two object_id_two  [ -member_state member_state ] \
    [ -creation_user creation_user ] [ -creation_ip creation_ip ] \
    [ -childof childof ]

Automatically generated method

Switches:
-dbn
(optional)
-rel_id
(optional)
-rel_type
(defaults to "admin_rel") (optional)
-object_id_one
(required)
-object_id_two
(required)
-member_state
(defaults to "approved") (optional)
-creation_user
(optional)
-creation_ip
(optional)
-childof
(optional)

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

Testcases:
No testcase defined.

xo::db::sql::apm proc get_value (public)

 xo::db::sql::apm[i] get_value [ -dbn dbn ] -package_key package_key  \
    -parameter_name parameter_name 

Automatically generated method

Switches:
-dbn
(optional)
-package_key
(required)
-parameter_name
(required)

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

Testcases:
No testcase defined.

xo::db::sql::apm proc id_for_name (public)

 xo::db::sql::apm[i] id_for_name [ -dbn dbn ] -package_key package_key  \
    -parameter_name parameter_name 

Automatically generated method

Switches:
-dbn
(optional)
-package_key
(required)
-parameter_name
(required)

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

Testcases:
No testcase defined.

xo::db::sql::apm proc parameter_p (public)

 xo::db::sql::apm[i] parameter_p [ -dbn dbn ] -package_key package_key  \
    -parameter_name parameter_name 

Automatically generated method

Switches:
-dbn
(optional)
-package_key
(required)
-parameter_name
(required)

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

Testcases:
No testcase defined.

xo::db::sql::apm proc register_application (public)

 xo::db::sql::apm[i] register_application [ -dbn dbn ] \
    -package_key package_key  -pretty_name pretty_name  \
    -pretty_plural pretty_plural  -package_uri package_uri  \
    [ -initial_install_p initial_install_p ] \
    [ -singleton_p singleton_p ] \
    [ -implements_subsite_p implements_subsite_p ] \
    [ -inherit_templates_p inherit_templates_p ] \
    [ -spec_file_path spec_file_path ] \
    [ -spec_file_mtime spec_file_mtime ]

Automatically generated method

Switches:
-dbn
(optional)
-package_key
(required)
-pretty_name
(required)
-pretty_plural
(required)
-package_uri
(required)
-initial_install_p
(defaults to "f") (optional)
-singleton_p
(defaults to "f") (optional)
-implements_subsite_p
(defaults to "f") (optional)
-inherit_templates_p
(defaults to "f") (optional)
-spec_file_path
(optional)
-spec_file_mtime
(optional)

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

Testcases:
No testcase defined.

xo::db::sql::apm proc register_p (public)

 xo::db::sql::apm[i] register_p [ -dbn dbn ] -package_key package_key 

Automatically generated method

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

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

Testcases:
No testcase defined.

xo::db::sql::apm proc register_package (public)

 xo::db::sql::apm[i] register_package [ -dbn dbn ] \
    -package_key package_key  -pretty_name pretty_name  \
    -pretty_plural pretty_plural  -package_uri package_uri  \
    -package_type package_type  \
    [ -initial_install_p initial_install_p ] \
    [ -singleton_p singleton_p ] \
    [ -implements_subsite_p implements_subsite_p ] \
    [ -inherit_templates_p inherit_templates_p ] \
    [ -spec_file_path spec_file_path ] \
    [ -spec_file_mtime spec_file_mtime ]

Automatically generated method

Switches:
-dbn
(optional)
-package_key
(required)
-pretty_name
(required)
-pretty_plural
(required)
-package_uri
(required)
-package_type
(required)
-initial_install_p
(defaults to "f") (optional)
-singleton_p
(defaults to "f") (optional)
-implements_subsite_p
(defaults to "f") (optional)
-inherit_templates_p
(defaults to "f") (optional)
-spec_file_path
(optional)
-spec_file_mtime
(optional)

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

Testcases:
No testcase defined.

xo::db::sql::apm proc register_parameter (public)

 xo::db::sql::apm[i] register_parameter [ -dbn dbn ] \
    [ -parameter_id parameter_id ] -package_key package_key  \
    -parameter_name parameter_name  [ -description description ] \
    -scope scope  [ -datatype datatype ] \
    [ -default_value default_value ] [ -section_name section_name ] \
    [ -min_n_values min_n_values ] [ -max_n_values max_n_values ]

Automatically generated method

Switches:
-dbn
(optional)
-parameter_id
(optional)
-package_key
(required)
-parameter_name
(required)
-description
(optional)
-scope
(required)
-datatype
(defaults to "string") (optional)
-default_value
(optional)
-section_name
(optional)
-min_n_values
(defaults to "1") (optional)
-max_n_values
(defaults to "1") (optional)

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

Testcases:
No testcase defined.

xo::db::sql::apm proc register_service (public)

 xo::db::sql::apm[i] register_service [ -dbn dbn ] \
    -package_key package_key  -pretty_name pretty_name  \
    -pretty_plural pretty_plural  -package_uri package_uri  \
    [ -initial_install_p initial_install_p ] \
    [ -singleton_p singleton_p ] \
    [ -implements_subsite_p implements_subsite_p ] \
    [ -inherit_templates_p inherit_templates_p ] \
    [ -spec_file_path spec_file_path ] \
    [ -spec_file_mtime spec_file_mtime ]

Automatically generated method

Switches:
-dbn
(optional)
-package_key
(required)
-pretty_name
(required)
-pretty_plural
(required)
-package_uri
(required)
-initial_install_p
(defaults to "f") (optional)
-singleton_p
(defaults to "f") (optional)
-implements_subsite_p
(defaults to "f") (optional)
-inherit_templates_p
(defaults to "f") (optional)
-spec_file_path
(optional)
-spec_file_mtime
(optional)

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

Testcases:
No testcase defined.

xo::db::sql::apm proc set_global_value (public)

 xo::db::sql::apm[i] set_global_value [ -dbn dbn ] \
    -package_key package_key  -parameter_name parameter_name  \
    -attr_value attr_value 

Automatically generated method

Switches:
-dbn
(optional)
-package_key
(required)
-parameter_name
(required)
-attr_value
(required)

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

Testcases:
No testcase defined.

xo::db::sql::apm proc set_value (public)

 xo::db::sql::apm[i] set_value [ -dbn dbn ] -package_key package_key  \
    -parameter_name parameter_name  -attr_value attr_value 

Automatically generated method

Switches:
-dbn
(optional)
-package_key
(required)
-parameter_name
(required)
-attr_value
(required)

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

Testcases:
No testcase defined.

xo::db::sql::apm proc unregister_application (public)

 xo::db::sql::apm[i] unregister_application [ -dbn dbn ] \
    -package_key package_key  [ -cascade_p cascade_p ]

Automatically generated method

Switches:
-dbn
(optional)
-package_key
(required)
-cascade_p
(defaults to "f") (optional)

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

Testcases:
No testcase defined.

xo::db::sql::apm proc unregister_package (public)

 xo::db::sql::apm[i] unregister_package [ -dbn dbn ] \
    -package_key package_key  [ -cascade_p cascade_p ]

Automatically generated method

Switches:
-dbn
(optional)
-package_key
(required)
-cascade_p
(defaults to "t") (optional)

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

Testcases:
No testcase defined.

xo::db::sql::apm proc unregister_parameter (public)

 xo::db::sql::apm[i] unregister_parameter [ -dbn dbn ] \
    [ -parameter_id parameter_id ]

Automatically generated method

Switches:
-dbn
(optional)
-parameter_id
(optional)

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

Testcases:
No testcase defined.

xo::db::sql::apm proc unregister_service (public)

 xo::db::sql::apm[i] unregister_service [ -dbn dbn ] \
    -package_key package_key  [ -cascade_p cascade_p ]

Automatically generated method

Switches:
-dbn
(optional)
-package_key
(required)
-cascade_p
(defaults to "f") (optional)

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

Testcases:
No testcase defined.

xo::db::sql::apm proc update_package (public)

 xo::db::sql::apm[i] update_package [ -dbn dbn ] -package_key package_key  \
    [ -pretty_name pretty_name ] [ -pretty_plural pretty_plural ] \
    [ -package_uri package_uri ] [ -package_type package_type ] \
    [ -initial_install_p initial_install_p ] \
    [ -singleton_p singleton_p ] \
    [ -implements_subsite_p implements_subsite_p ] \
    [ -inherit_templates_p inherit_templates_p ] \
    [ -spec_file_path spec_file_path ] \
    [ -spec_file_mtime spec_file_mtime ]

Automatically generated method

Switches:
-dbn
(optional)
-package_key
(required)
-pretty_name
(optional)
-pretty_plural
(optional)
-package_uri
(optional)
-package_type
(optional)
-initial_install_p
(optional)
-singleton_p
(optional)
-implements_subsite_p
(defaults to "f") (optional)
-inherit_templates_p
(defaults to "f") (optional)
-spec_file_path
(optional)
-spec_file_mtime
(optional)

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

Testcases:
No testcase defined.

xo::db::sql::apm proc update_parameter (public)

 xo::db::sql::apm[i] update_parameter [ -dbn dbn ] \
    -parameter_id parameter_id  [ -parameter_name parameter_name ] \
    [ -description description ] [ -datatype datatype ] \
    [ -default_value default_value ] [ -section_name section_name ] \
    [ -min_n_values min_n_values ] [ -max_n_values max_n_values ]

Automatically generated method

Switches:
-dbn
(optional)
-parameter_id
(required)
-parameter_name
(optional)
-description
(optional)
-datatype
(defaults to "string") (optional)
-default_value
(optional)
-section_name
(optional)
-min_n_values
(defaults to "1") (optional)
-max_n_values
(defaults to "1") (optional)

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

Testcases:
No testcase defined.

xo::db::sql::apm_application proc delete (public)

 xo::db::sql::apm_application[i] delete [ -dbn dbn ] \
    -application_id application_id 

Automatically generated method

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

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

Testcases:
No testcase defined.

xo::db::sql::apm_application proc new (public)

 xo::db::sql::apm_application[i] new [ -dbn dbn ] \
    [ -application_id application_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)
-application_id
(optional)
-instance_name
(optional)
-package_key
(required)
-object_type
(defaults to "apm_application") (optional)
-creation_date
(defaults to "now()") (optional)
-creation_user
(optional)
-creation_ip
(optional)
-context_id
(optional)
-childof
(optional)

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

Testcases:
No testcase defined.

xo::db::sql::apm_package proc delete (public)

 xo::db::sql::apm_package[i] delete [ -dbn dbn ] -package_id package_id 

Automatically generated method

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

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

Testcases:
No testcase defined.

xo::db::sql::apm_package proc highest_version (public)

 xo::db::sql::apm_package[i] highest_version [ -dbn dbn ] \
    -package_key package_key 

Automatically generated method

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

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

Testcases:
No testcase defined.

xo::db::sql::apm_package proc initial_install_p (public)

 xo::db::sql::apm_package[i] initial_install_p [ -dbn dbn ] \
    -package_key package_key 

Automatically generated method

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

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

Testcases:
No testcase defined.

xo::db::sql::apm_package proc initialize_parameters (public)

 xo::db::sql::apm_package[i] initialize_parameters [ -dbn dbn ] \
    -package_id package_id  -package_key package_key 

Automatically generated method

Switches:
-dbn
(optional)
-package_id
(required)
-package_key
(required)

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

Testcases:
No testcase defined.

xo::db::sql::apm_package proc is_child (public)

 xo::db::sql::apm_package[i] is_child [ -dbn dbn ] \
    -parent_package_key parent_package_key  \
    -child_package_key child_package_key 

Automatically generated method

Switches:
-dbn
(optional)
-parent_package_key
(required)
-child_package_key
(required)

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

Testcases:
No testcase defined.

xo::db::sql::apm_package proc name (public)

 xo::db::sql::apm_package[i] name [ -dbn dbn ] -package_id package_id 

Automatically generated method

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

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

Testcases:
No testcase defined.

xo::db::sql::apm_package proc new (public)

 xo::db::sql::apm_package[i] 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
(defaults to "apm_package") (optional)
-creation_date
(defaults to "now()") (optional)
-creation_user
(optional)
-creation_ip
(optional)
-context_id
(optional)
-childof
(optional)

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

Testcases:
No testcase defined.

xo::db::sql::apm_package proc num_instances (public)

 xo::db::sql::apm_package[i] num_instances [ -dbn dbn ] \
    -package_key package_key 

Automatically generated method

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

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

Testcases:
No testcase defined.

xo::db::sql::apm_package proc parent_id (public)

 xo::db::sql::apm_package[i] parent_id [ -dbn dbn ] \
    -parent_id__package_id parent_id__package_id 

Automatically generated method

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

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

Testcases:
No testcase defined.

xo::db::sql::apm_package proc singleton_p (public)

 xo::db::sql::apm_package[i] singleton_p [ -dbn dbn ] \
    -package_key package_key 

Automatically generated method

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

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

Testcases:
No testcase defined.

xo::db::sql::apm_package_type proc create_type (public)

 xo::db::sql::apm_package_type[i] create_type [ -dbn dbn ] \
    -package_key package_key  -pretty_name pretty_name  \
    -pretty_plural pretty_plural  -package_uri package_uri  \
    -package_type package_type  -initial_install_p initial_install_p  \
    -singleton_p singleton_p  \
    -implements_subsite_p implements_subsite_p  \
    -inherit_templates_p inherit_templates_p  \
    [ -spec_file_path spec_file_path ] \
    [ -spec_file_mtime spec_file_mtime ]

Automatically generated method

Switches:
-dbn
(optional)
-package_key
(required)
-pretty_name
(required)
-pretty_plural
(required)
-package_uri
(required)
-package_type
(required)
-initial_install_p
(required)
-singleton_p
(required)
-implements_subsite_p
(required)
-inherit_templates_p
(required)
-spec_file_path
(optional)
-spec_file_mtime
(optional)

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

Testcases:
No testcase defined.

xo::db::sql::apm_package_type proc drop_type (public)

 xo::db::sql::apm_package_type[i] drop_type [ -dbn dbn ] \
    -package_key package_key  [ -cascade_p cascade_p ]

Automatically generated method

Switches:
-dbn
(optional)
-package_key
(required)
-cascade_p
(defaults to "f") (optional)

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

Testcases:
No testcase defined.

xo::db::sql::apm_package_type proc num_parameters (public)

 xo::db::sql::apm_package_type[i] num_parameters [ -dbn dbn ] \
    -package_key package_key 

Automatically generated method

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

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

Testcases:
No testcase defined.

xo::db::sql::apm_package_type proc update_type (public)

 xo::db::sql::apm_package_type[i] update_type [ -dbn dbn ] \
    -package_key package_key  [ -pretty_name pretty_name ] \
    [ -pretty_plural pretty_plural ] [ -package_uri package_uri ] \
    [ -package_type package_type ] \
    [ -initial_install_p initial_install_p ] \
    [ -singleton_p singleton_p ] \
    [ -implements_subsite_p implements_subsite_p ] \
    [ -inherit_templates_p inherit_templates_p ] \
    [ -spec_file_path spec_file_path ] \
    [ -spec_file_mtime spec_file_mtime ]

Automatically generated method

Switches:
-dbn
(optional)
-package_key
(required)
-pretty_name
(optional)
-pretty_plural
(optional)
-package_uri
(optional)
-package_type
(optional)
-initial_install_p
(optional)
-singleton_p
(optional)
-implements_subsite_p
(optional)
-inherit_templates_p
(optional)
-spec_file_path
(optional)
-spec_file_mtime
(optional)

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

Testcases:
No testcase defined.

xo::db::sql::apm_package_version proc add_dependency (public)

 xo::db::sql::apm_package_version[i] add_dependency [ -dbn dbn ] \
    -dependency_type dependency_type  [ -dependency_id dependency_id ] \
    -version_id version_id  -dependency_uri dependency_uri  \
    -dependency_version dependency_version 

Automatically generated method

Switches:
-dbn
(optional)
-dependency_type
(required)
-dependency_id
(optional)
-version_id
(required)
-dependency_uri
(required)
-dependency_version
(required)

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

Testcases:
No testcase defined.

xo::db::sql::apm_package_version proc add_interface (public)

 xo::db::sql::apm_package_version[i] add_interface [ -dbn dbn ] \
    [ -interface_id interface_id ] -version_id version_id  \
    -interface_uri interface_uri  \
    -interface_version interface_version 

Automatically generated method

Switches:
-dbn
(optional)
-interface_id
(optional)
-version_id
(required)
-interface_uri
(required)
-interface_version
(required)

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

Testcases:
No testcase defined.

xo::db::sql::apm_package_version proc copy (public)

 xo::db::sql::apm_package_version[i] copy [ -dbn dbn ] \
    -version_id version_id  [ -new_version_id new_version_id ] \
    -new_version_name new_version_name  \
    -new_version_uri new_version_uri  -copy_owners_p copy_owners_p 

Automatically generated method

Switches:
-dbn
(optional)
-version_id
(required)
-new_version_id
(optional)
-new_version_name
(required)
-new_version_uri
(required)
-copy_owners_p
(required)

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

Testcases:
No testcase defined.

xo::db::sql::apm_package_version proc delete (public)

 xo::db::sql::apm_package_version[i] delete [ -dbn dbn ] \
    -version_id version_id 

Automatically generated method

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

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

Testcases:
No testcase defined.

xo::db::sql::apm_package_version proc disable (public)

 xo::db::sql::apm_package_version[i] disable [ -dbn dbn ] \
    -version_id version_id 

Automatically generated method

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

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

Testcases:
No testcase defined.

xo::db::sql::apm_package_version proc edit (public)

 xo::db::sql::apm_package_version[i] edit [ -dbn dbn ] \
    [ -new_version_id new_version_id ] -version_id version_id  \
    [ -version_name version_name ] -version_uri version_uri  \
    -summary summary  -description_format description_format  \
    -description description  -release_date release_date  \
    -vendor vendor  -vendor_uri vendor_uri  -auto_mount auto_mount  \
    [ -installed_p installed_p ] \
    [ -data_model_loaded_p data_model_loaded_p ]

Automatically generated method

Switches:
-dbn
(optional)
-new_version_id
(optional)
-version_id
(required)
-version_name
(optional)
-version_uri
(required)
-summary
(required)
-description_format
(required)
-description
(required)
-release_date
(required)
-vendor
(required)
-vendor_uri
(required)
-auto_mount
(required)
-installed_p
(defaults to "f") (optional)
-data_model_loaded_p
(defaults to "f") (optional)

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

Testcases:
No testcase defined.

xo::db::sql::apm_package_version proc enable (public)

 xo::db::sql::apm_package_version[i] enable [ -dbn dbn ] \
    -version_id version_id 

Automatically generated method

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

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

Testcases:
No testcase defined.

xo::db::sql::apm_package_version proc new (public)

 xo::db::sql::apm_package_version[i] new [ -dbn dbn ] \
    [ -version_id version_id ] -package_key package_key  \
    [ -version_name version_name ] -version_uri version_uri  \
    -summary summary  -description_format description_format  \
    -description description  -release_date release_date  \
    -vendor vendor  -vendor_uri vendor_uri  -auto_mount auto_mount  \
    [ -installed_p installed_p ] \
    [ -data_model_loaded_p data_model_loaded_p ] [ -childof childof ]

Automatically generated method

Switches:
-dbn
(optional)
-version_id
(optional)
-package_key
(required)
-version_name
(optional)
-version_uri
(required)
-summary
(required)
-description_format
(required)
-description
(required)
-release_date
(required)
-vendor
(required)
-vendor_uri
(required)
-auto_mount
(required)
-installed_p
(defaults to "f") (optional)
-data_model_loaded_p
(defaults to "f") (optional)
-childof
(optional)

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

Testcases:
No testcase defined.

xo::db::sql::apm_package_version proc remove_dependency (public)

 xo::db::sql::apm_package_version[i] remove_dependency [ -dbn dbn ] \
    -dependency_uri dependency_uri  \
    -dependency_version dependency_version  -version_id version_id 

Automatically generated method

Switches:
-dbn
(optional)
-dependency_uri
(required)
-dependency_version
(required)
-version_id
(required)

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

Testcases:
No testcase defined.

xo::db::sql::apm_package_version proc remove_interface (public)

 xo::db::sql::apm_package_version[i] remove_interface [ -dbn dbn ] \
    -interface_uri interface_uri  \
    -interface_version interface_version  -version_id version_id 

Automatically generated method

Switches:
-dbn
(optional)
-interface_uri
(required)
-interface_version
(required)
-version_id
(required)

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

Testcases:
No testcase defined.

xo::db::sql::apm_package_version proc sortable_version_name (public)

 xo::db::sql::apm_package_version[i] sortable_version_name [ -dbn dbn ] \
    -version_name version_name 

Automatically generated method

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

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

Testcases:
No testcase defined.

xo::db::sql::apm_package_version proc upgrade (public)

 xo::db::sql::apm_package_version[i] upgrade [ -dbn dbn ] \
    -version_id version_id 

Automatically generated method

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

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

Testcases:
No testcase defined.

xo::db::sql::apm_package_version proc upgrade_p (public)

 xo::db::sql::apm_package_version[i] upgrade_p [ -dbn dbn ] -path path  \
    -initial_version_name initial_version_name  \
    -final_version_name final_version_name 

Automatically generated method

Switches:
-dbn
(optional)
-path
(required)
-initial_version_name
(required)
-final_version_name
(required)

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

Testcases:
No testcase defined.

xo::db::sql::apm_package_version proc version_name_greater (public)

 xo::db::sql::apm_package_version[i] version_name_greater [ -dbn dbn ] \
    -version_name_one version_name_one  \
    -version_name_two version_name_two 

Automatically generated method

Switches:
-dbn
(optional)
-version_name_one
(required)
-version_name_two
(required)

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

Testcases:
No testcase defined.

xo::db::sql::apm_parameter_value proc delete (public)

 xo::db::sql::apm_parameter_value[i] delete [ -dbn dbn ] \
    [ -value_id value_id ]

Automatically generated method

Switches:
-dbn
(optional)
-value_id
(optional)

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

Testcases:
No testcase defined.

xo::db::sql::apm_parameter_value proc new (public)

 xo::db::sql::apm_parameter_value[i] new [ -dbn dbn ] \
    [ -value_id value_id ] -package_id package_id  \
    -parameter_id parameter_id  -attr_value attr_value  \
    [ -childof childof ]

Automatically generated method

Switches:
-dbn
(optional)
-value_id
(optional)
-package_id
(required)
-parameter_id
(required)
-attr_value
(required)
-childof
(optional)

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

Testcases:
No testcase defined.

xo::db::sql::apm_service proc delete (public)

 xo::db::sql::apm_service[i] delete [ -dbn dbn ] -service_id service_id 

Automatically generated method

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

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

Testcases:
No testcase defined.

xo::db::sql::apm_service proc new (public)

 xo::db::sql::apm_service[i] new [ -dbn dbn ] [ -service_id service_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)
-service_id
(optional)
-instance_name
(optional)
-package_key
(required)
-object_type
(defaults to "apm_service") (optional)
-creation_date
(defaults to "now()") (optional)
-creation_user
(optional)
-creation_ip
(optional)
-context_id
(optional)
-childof
(optional)

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

Testcases:
No testcase defined.

xo::db::sql::application_group proc delete (public)

 xo::db::sql::application_group[i] delete [ -dbn dbn ] -group_id group_id 

Automatically generated method

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

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

Testcases:
No testcase defined.

xo::db::sql::application_group proc group_id_from_package_id (public)

 xo::db::sql::application_group[i] group_id_from_package_id [ -dbn dbn ] \
    -package_id package_id  [ -no_complain_p no_complain_p ]

Automatically generated method

Switches:
-dbn
(optional)
-package_id
(required)
-no_complain_p
(defaults to "f") (optional)

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

Testcases:
No testcase defined.

xo::db::sql::application_group proc new (public)

 xo::db::sql::application_group[i] new [ -dbn dbn ] -group_id group_id  \
    [ -object_type object_type ] [ -creation_date creation_date ] \
    -creation_user creation_user  -creation_ip creation_ip  \
    -email email  -url url  -group_name group_name  \
    -package_id package_id  -join_policy join_policy  \
    -context_id context_id  [ -childof childof ]

Automatically generated method

Switches:
-dbn
(optional)
-group_id
(required)
-object_type
(defaults to "application_group") (optional)
-creation_date
(defaults to "now()") (optional)
-creation_user
(required)
-creation_ip
(required)
-email
(required)
-url
(required)
-group_name
(required)
-package_id
(required)
-join_policy
(required)
-context_id
(required)
-childof
(optional)

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

Testcases:
No testcase defined.

xo::db::sql::authority proc del (public)

 xo::db::sql::authority[i] del [ -dbn dbn ] -authority_id authority_id 

Automatically generated method

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

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

Testcases:
No testcase defined.

xo::db::sql::authority proc new (public)

 xo::db::sql::authority[i] new [ -dbn dbn ] [ -authority_id authority_id ] \
    [ -object_type object_type ] -short_name short_name  \
    -pretty_name pretty_name  [ -enabled_p enabled_p ] \
    -sort_order sort_order  [ -auth_impl_id auth_impl_id ] \
    [ -pwd_impl_id pwd_impl_id ] \
    [ -forgotten_pwd_url forgotten_pwd_url ] \
    [ -change_pwd_url change_pwd_url ] \
    [ -register_impl_id register_impl_id ] \
    [ -register_url register_url ] \
    [ -help_contact_text help_contact_text ] \
    [ -creation_user creation_user ] [ -creation_ip creation_ip ] \
    [ -context_id context_id ] [ -childof childof ]

Automatically generated method

Switches:
-dbn
(optional)
-authority_id
(optional)
-object_type
(defaults to "authority") (optional)
-short_name
(required)
-pretty_name
(required)
-enabled_p
(defaults to "t") (optional)
-sort_order
(required)
-auth_impl_id
(optional)
-pwd_impl_id
(optional)
-forgotten_pwd_url
(optional)
-change_pwd_url
(optional)
-register_impl_id
(optional)
-register_url
(optional)
-help_contact_text
(optional)
-creation_user
(optional)
-creation_ip
(optional)
-context_id
(optional)
-childof
(optional)

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

Testcases:
No testcase defined.

xo::db::sql::bookmark proc delete (public)

 xo::db::sql::bookmark[i] delete [ -dbn dbn ] -bookmark_id bookmark_id 

Automatically generated method

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

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

Testcases:
No testcase defined.

xo::db::sql::bookmark proc get_in_closed_p (public)

 xo::db::sql::bookmark[i] get_in_closed_p [ -dbn dbn ]

Automatically generated method

Switches:
-dbn
(optional)

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

Testcases:
No testcase defined.

xo::db::sql::bookmark proc get_root_folder (public)

 xo::db::sql::bookmark[i] get_root_folder [ -dbn dbn ]

Automatically generated method

Switches:
-dbn
(optional)

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

Testcases:
No testcase defined.

xo::db::sql::bookmark proc initialize_in_closed_p (public)

 xo::db::sql::bookmark[i] initialize_in_closed_p [ -dbn dbn ]

Automatically generated method

Switches:
-dbn
(optional)

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

Testcases:
No testcase defined.

xo::db::sql::bookmark proc name (public)

 xo::db::sql::bookmark[i] name [ -dbn dbn ]

Automatically generated method

Switches:
-dbn
(optional)

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

Testcases:
No testcase defined.

xo::db::sql::bookmark proc new (public)

 xo::db::sql::bookmark[i] new [ -dbn dbn ] -bookmark_id bookmark_id  \
    -owner_id owner_id  -url_id url_id  -local_title local_title  \
    -folder_p folder_p  -parent_id parent_id  \
    -last_access_date last_access_date  -creation_user creation_user  \
    -creation_ip creation_ip  -context_id context_id  \
    [ -childof childof ]

Automatically generated method

Switches:
-dbn
(optional)
-bookmark_id
(required)
-owner_id
(required)
-url_id
(required)
-local_title
(required)
-folder_p
(required)
-parent_id
(required)
-last_access_date
(required)
-creation_user
(required)
-creation_ip
(required)
-context_id
(required)
-childof
(optional)

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

Testcases:
No testcase defined.

xo::db::sql::bookmark proc new_root_folder (public)

 xo::db::sql::bookmark[i] new_root_folder [ -dbn dbn ]

Automatically generated method

Switches:
-dbn
(optional)

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

Testcases:
No testcase defined.

xo::db::sql::bookmark proc private_p (public)

 xo::db::sql::bookmark[i] private_p [ -dbn dbn ]

Automatically generated method

Switches:
-dbn
(optional)

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

Testcases:
No testcase defined.

xo::db::sql::bookmark proc toggle_open_close (public)

 xo::db::sql::bookmark[i] toggle_open_close [ -dbn dbn ]

Automatically generated method

Switches:
-dbn
(optional)

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

Testcases:
No testcase defined.

xo::db::sql::bookmark proc toggle_open_close_all (public)

 xo::db::sql::bookmark[i] toggle_open_close_all [ -dbn dbn ]

Automatically generated method

Switches:
-dbn
(optional)

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

Testcases:
No testcase defined.

xo::db::sql::bookmark proc update_in_closed_p_all_users (public)

 xo::db::sql::bookmark[i] update_in_closed_p_all_users [ -dbn dbn ]

Automatically generated method

Switches:
-dbn
(optional)

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

Testcases:
No testcase defined.

xo::db::sql::bookmark proc update_in_closed_p_one_user (public)

 xo::db::sql::bookmark[i] update_in_closed_p_one_user [ -dbn dbn ]

Automatically generated method

Switches:
-dbn
(optional)

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

Testcases:
No testcase defined.

xo::db::sql::bookmark proc update_private_p (public)

 xo::db::sql::bookmark[i] update_private_p [ -dbn dbn ]

Automatically generated method

Switches:
-dbn
(optional)

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

Testcases:
No testcase defined.

xo::db::sql::bt_bug proc bug_type_sort_order (public)

 xo::db::sql::bt_bug[i] bug_type_sort_order [ -dbn dbn ] \
    -bug_type bug_type 

Automatically generated method

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

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

Testcases:
No testcase defined.

xo::db::sql::bt_bug proc delete (public)

 xo::db::sql::bt_bug[i] delete [ -dbn dbn ] -bug_id bug_id 

Automatically generated method

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

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

Testcases:
No testcase defined.

xo::db::sql::bt_bug proc name (public)

 xo::db::sql::bt_bug[i] name [ -dbn dbn ] -bug_id bug_id 

Automatically generated method

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

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

Testcases:
No testcase defined.

xo::db::sql::bt_bug proc new (public)

 xo::db::sql::bt_bug[i] new [ -dbn dbn ] -bug_id bug_id  \
    -bug_number bug_number  -package_id package_id  \
    -component_id component_id  -found_in_version found_in_version  \
    -summary summary  -user_agent user_agent  \
    -comment_content comment_content  -comment_formt comment_formt  \
    -creation_date creation_date  -creation_user creation_user  \
    -creation_ip creation_ip  [ -item_subtype item_subtype ] \
    [ -content_type content_type ] [ -childof childof ]

Automatically generated method

Switches:
-dbn
(optional)
-bug_id
(required)
-bug_number
(required)
-package_id
(required)
-component_id
(required)
-found_in_version
(required)
-summary
(required)
-user_agent
(required)
-comment_content
(required)
-comment_formt
(required)
-creation_date
(required)
-creation_user
(required)
-creation_ip
(required)
-item_subtype
(defaults to "bt_bug") (optional)
-content_type
(defaults to "bt_bug_revision") (optional)
-childof
(optional)

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

Testcases:
No testcase defined.

xo::db::sql::bt_bug_revision proc new (public)

 xo::db::sql::bt_bug_revision[i] new [ -dbn dbn ] [ -childof childof ]

Automatically generated method

Switches:
-dbn
(optional)
-childof
(optional)

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

Testcases:
No testcase defined.

xo::db::sql::bt_patch proc delete (public)

 xo::db::sql::bt_patch[i] delete [ -dbn dbn ] -patch_id patch_id 

Automatically generated method

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

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

Testcases:
No testcase defined.

xo::db::sql::bt_patch proc name (public)

 xo::db::sql::bt_patch[i] name [ -dbn dbn ] -patch_id patch_id 

Automatically generated method

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

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

Testcases:
No testcase defined.

xo::db::sql::bt_patch proc new (public)

 xo::db::sql::bt_patch[i] new [ -dbn dbn ] -patch_id patch_id  \
    -project_id project_id  -component_id component_id  \
    -summary summary  -description description  \
    -description_format description_format  -content content  \
    -generated_from_version generated_from_version  \
    -creation_user creation_user  -creation_ip creation_ip  \
    [ -childof childof ]

Automatically generated method

Switches:
-dbn
(optional)
-patch_id
(required)
-project_id
(required)
-component_id
(required)
-summary
(required)
-description
(required)
-description_format
(required)
-content
(required)
-generated_from_version
(required)
-creation_user
(required)
-creation_ip
(required)
-childof
(optional)

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

Testcases:
No testcase defined.

xo::db::sql::bt_project proc delete (public)

 xo::db::sql::bt_project[i] delete [ -dbn dbn ] -project_id project_id 

Automatically generated method

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

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

Testcases:
No testcase defined.

xo::db::sql::bt_project proc keywords_delete (public)

 xo::db::sql::bt_project[i] keywords_delete [ -dbn dbn ] \
    -project_id project_id 

Automatically generated method

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

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

Testcases:
No testcase defined.

xo::db::sql::bt_project proc new (public)

 xo::db::sql::bt_project[i] new [ -dbn dbn ] -package_id package_id  \
    [ -childof childof ]

Automatically generated method

Switches:
-dbn
(optional)
-package_id
(required)
-childof
(optional)

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

Testcases:
No testcase defined.

xo::db::sql::bt_version proc set_active (public)

 xo::db::sql::bt_version[i] set_active [ -dbn dbn ] \
    -active_version_id active_version_id 

Automatically generated method

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

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

Testcases:
No testcase defined.

xo::db::sql::cal_item proc delete (public)

 xo::db::sql::cal_item[i] delete [ -dbn dbn ] -cal_item_id cal_item_id 

Automatically generated method

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

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

Testcases:
No testcase defined.

xo::db::sql::cal_item proc delete_all (public)

 xo::db::sql::cal_item[i] delete_all [ -dbn dbn ] \
    -recurrence_id recurrence_id 

Automatically generated method

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

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

Testcases:
No testcase defined.

xo::db::sql::cal_item proc new (public)

 xo::db::sql::cal_item[i] new [ -dbn dbn ] [ -cal_item_id cal_item_id ] \
    [ -on_which_calendar on_which_calendar ] -name name  \
    -description description  [ -html_p html_p ] \
    [ -status_summary status_summary ] [ -timespan_id timespan_id ] \
    [ -activity_id activity_id ] [ -recurrence_id recurrence_id ] \
    [ -object_type object_type ] [ -context_id context_id ] \
    [ -creation_date creation_date ] [ -creation_user creation_user ] \
    [ -creation_ip creation_ip ] [ -package_id package_id ] \
    [ -location location ] [ -related_link_url related_link_url ] \
    [ -related_link_text related_link_text ] \
    [ -redirect_to_rel_link_p redirect_to_rel_link_p ] \
    [ -childof childof ]

Automatically generated method

Switches:
-dbn
(optional)
-cal_item_id
(optional)
-on_which_calendar
(optional)
-name
(required)
-description
(required)
-html_p
(optional)
-status_summary
(optional)
-timespan_id
(optional)
-activity_id
(optional)
-recurrence_id
(optional)
-object_type
(defaults to ""cal_item"") (optional)
-context_id
(optional)
-creation_date
(defaults to "now()") (optional)
-creation_user
(optional)
-creation_ip
(optional)
-package_id
(optional)
-location
(optional)
-related_link_url
(optional)
-related_link_text
(optional)
-redirect_to_rel_link_p
(optional)
-childof
(optional)

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

Testcases:
No testcase defined.

xo::db::sql::cal_uid proc upsert (public)

 xo::db::sql::cal_uid[i] upsert [ -dbn dbn ] -cal_uid cal_uid  \
    -activity_id activity_id  -ical_vars ical_vars 

Automatically generated method

Switches:
-dbn
(optional)
-cal_uid
(required)
-activity_id
(required)
-ical_vars
(required)

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

Testcases:
No testcase defined.

xo::db::sql::calendar proc delete (public)

 xo::db::sql::calendar[i] delete [ -dbn dbn ] -calendar_id calendar_id 

Automatically generated method

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

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

Testcases:
No testcase defined.

xo::db::sql::calendar proc new (public)

 xo::db::sql::calendar[i] new [ -dbn dbn ] -calendar_id calendar_id  \
    -calendar_name calendar_name  [ -object_type object_type ] \
    -owner_id owner_id  -private_p private_p  -package_id package_id  \
    -context_id context_id  -creation_date creation_date  \
    -creation_user creation_user  -creation_ip creation_ip  \
    [ -childof childof ]

Automatically generated method

Switches:
-dbn
(optional)
-calendar_id
(required)
-calendar_name
(required)
-object_type
(defaults to "calendar") (optional)
-owner_id
(required)
-private_p
(required)
-package_id
(required)
-context_id
(required)
-creation_date
(required)
-creation_user
(required)
-creation_ip
(required)
-childof
(optional)

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

Testcases:
No testcase defined.

xo::db::sql::category proc change_parent (public)

 xo::db::sql::category[i] change_parent [ -dbn dbn ] \
    -category_id category_id  -tree_id tree_id  -parent_id parent_id 

Automatically generated method

Switches:
-dbn
(optional)
-category_id
(required)
-tree_id
(required)
-parent_id
(required)

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

Testcases:
No testcase defined.

xo::db::sql::category proc del (public)

 xo::db::sql::category[i] del [ -dbn dbn ] -category_id category_id 

Automatically generated method

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

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

Testcases:
No testcase defined.

xo::db::sql::category proc edit (public)

 xo::db::sql::category[i] edit [ -dbn dbn ] -category_id category_id  \
    -locale locale  -name name  -description description  \
    -modifying_date modifying_date  -modifying_user modifying_user  \
    -modifying_ip modifying_ip 

Automatically generated method

Switches:
-dbn
(optional)
-category_id
(required)
-locale
(required)
-name
(required)
-description
(required)
-modifying_date
(required)
-modifying_user
(required)
-modifying_ip
(required)

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

Testcases:
No testcase defined.

xo::db::sql::category proc name (public)

 xo::db::sql::category[i] name [ -dbn dbn ] -category_id category_id 

Automatically generated method

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

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

Testcases:
No testcase defined.

xo::db::sql::category proc new (public)

 xo::db::sql::category[i] new [ -dbn dbn ] -category_id category_id  \
    -tree_id tree_id  -locale locale  -name name  \
    -description description  -parent_id parent_id  \
    -deprecated_p deprecated_p  -creation_date creation_date  \
    -creation_user creation_user  -creation_ip creation_ip  \
    [ -childof childof ]

Automatically generated method

Switches:
-dbn
(optional)
-category_id
(required)
-tree_id
(required)
-locale
(required)
-name
(required)
-description
(required)
-parent_id
(required)
-deprecated_p
(required)
-creation_date
(required)
-creation_user
(required)
-creation_ip
(required)
-childof
(optional)

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

Testcases:
No testcase defined.

xo::db::sql::category proc new_translation (public)

 xo::db::sql::category[i] new_translation [ -dbn dbn ] \
    -category_id category_id  -locale locale  -name name  \
    -description description  -modifying_date modifying_date  \
    -modifying_user modifying_user  -modifying_ip modifying_ip 

Automatically generated method

Switches:
-dbn
(optional)
-category_id
(required)
-locale
(required)
-name
(required)
-description
(required)
-modifying_date
(required)
-modifying_user
(required)
-modifying_ip
(required)

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

Testcases:
No testcase defined.

xo::db::sql::category proc phase_in (public)

 xo::db::sql::category[i] phase_in [ -dbn dbn ] -category_id category_id 

Automatically generated method

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

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

Testcases:
No testcase defined.

xo::db::sql::category proc phase_out (public)

 xo::db::sql::category[i] phase_out [ -dbn dbn ] -category_id category_id 

Automatically generated method

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

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

Testcases:
No testcase defined.

xo::db::sql::category_link proc del (public)

 xo::db::sql::category_link[i] del [ -dbn dbn ] -link_id link_id 

Automatically generated method

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

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

Testcases:
No testcase defined.

xo::db::sql::category_link proc new (public)

 xo::db::sql::category_link[i] new [ -dbn dbn ] \
    -from_category_id from_category_id  \
    -to_category_id to_category_id  [ -childof childof ]

Automatically generated method

Switches:
-dbn
(optional)
-from_category_id
(required)
-to_category_id
(required)
-childof
(optional)

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

Testcases:
No testcase defined.

xo::db::sql::category_synonym proc convert_string (public)

 xo::db::sql::category_synonym[i] convert_string [ -dbn dbn ] -name name 

Automatically generated method

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

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

Testcases:
No testcase defined.

xo::db::sql::category_synonym proc del (public)

 xo::db::sql::category_synonym[i] del [ -dbn dbn ] -synonym_id synonym_id 

Automatically generated method

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

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

Testcases:
No testcase defined.

xo::db::sql::category_synonym proc edit (public)

 xo::db::sql::category_synonym[i] edit [ -dbn dbn ] \
    -synonym_id synonym_id  -new_name new_name  -locale locale 

Automatically generated method

Switches:
-dbn
(optional)
-synonym_id
(required)
-new_name
(required)
-locale
(required)

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

Testcases:
No testcase defined.

xo::db::sql::category_synonym proc get_similarity (public)

 xo::db::sql::category_synonym[i] get_similarity [ -dbn dbn ] -len1 len1  \
    -len2 len2  -matches matches 

Automatically generated method

Switches:
-dbn
(optional)
-len1
(required)
-len2
(required)
-matches
(required)

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

Testcases:
No testcase defined.

xo::db::sql::category_synonym proc new (public)

 xo::db::sql::category_synonym[i] new [ -dbn dbn ] -name name  \
    -locale locale  -category_id category_id  -synonym_id synonym_id  \
    [ -childof childof ]

Automatically generated method

Switches:
-dbn
(optional)
-name
(required)
-locale
(required)
-category_id
(required)
-synonym_id
(required)
-childof
(optional)

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

Testcases:
No testcase defined.

xo::db::sql::category_synonym proc reindex (public)

 xo::db::sql::category_synonym[i] reindex [ -dbn dbn ] \
    -synonym_id synonym_id  -name name  -locale locale 

Automatically generated method

Switches:
-dbn
(optional)
-synonym_id
(required)
-name
(required)
-locale
(required)

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

Testcases:
No testcase defined.

xo::db::sql::category_synonym proc search (public)

 xo::db::sql::category_synonym[i] search [ -dbn dbn ] \
    -search_text search_text  -locale locale 

Automatically generated method

Switches:
-dbn
(optional)
-search_text
(required)
-locale
(required)

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

Testcases:
No testcase defined.

xo::db::sql::category_tree proc check_nested_ind (public)

 xo::db::sql::category_tree[i] check_nested_ind [ -dbn dbn ] \
    -tree_id tree_id 

Automatically generated method

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

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

Testcases:
No testcase defined.

xo::db::sql::category_tree proc copy (public)

 xo::db::sql::category_tree[i] copy [ -dbn dbn ] -source_tree source_tree  \
    -dest_tree dest_tree  -creation_user creation_user  \
    -creation_ip creation_ip 

Automatically generated method

Switches:
-dbn
(optional)
-source_tree
(required)
-dest_tree
(required)
-creation_user
(required)
-creation_ip
(required)

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

Testcases:
No testcase defined.

xo::db::sql::category_tree proc del (public)

 xo::db::sql::category_tree[i] del [ -dbn dbn ] -tree_id tree_id 

Automatically generated method

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

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

Testcases:
No testcase defined.

xo::db::sql::category_tree proc edit (public)

 xo::db::sql::category_tree[i] 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_ip 

Automatically 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)

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

Testcases:
No testcase defined.

xo::db::sql::category_tree proc map (public)

 xo::db::sql::category_tree[i] 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 widget 

Automatically 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)

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

Testcases:
No testcase defined.

xo::db::sql::category_tree proc name (public)

 xo::db::sql::category_tree[i] name [ -dbn dbn ] -tree_id tree_id 

Automatically generated method

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

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

Testcases:
No testcase defined.

xo::db::sql::category_tree proc new (public)

 xo::db::sql::category_tree[i] 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)

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

Testcases:
No testcase defined.

xo::db::sql::category_tree proc new_translation (public)

 xo::db::sql::category_tree[i] 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_ip 

Automatically generated method

Switches:
-dbn
(optional)
-tree_id
(required)
-locale
(required)
-tree_name
(required)
-description
(required)
-modifying_date
(required)
-modifying_user
(required)
-modifying_ip
(required)

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

Testcases:
No testcase defined.

xo::db::sql::category_tree proc unmap (public)

 xo::db::sql::category_tree[i] unmap [ -dbn dbn ] -object_id object_id  \
    -tree_id tree_id 

Automatically generated method

Switches:
-dbn
(optional)
-object_id
(required)
-tree_id
(required)

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

Testcases:
No testcase defined.

xo::db::sql::composition_rel proc check_index (public)

 xo::db::sql::composition_rel[i] check_index [ -dbn dbn ] \
    -component_id component_id  -container_id container_id 

Automatically generated method

Switches:
-dbn
(optional)
-component_id
(required)
-container_id
(required)

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

Testcases:
No testcase defined.

xo::db::sql::composition_rel proc check_path_exists_p (public)

 xo::db::sql::composition_rel[i] check_path_exists_p [ -dbn dbn ] \
    -component_id component_id  -container_id container_id 

Automatically generated method

Switches:
-dbn
(optional)
-component_id
(required)
-container_id
(required)

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

Testcases:
No testcase defined.

xo::db::sql::composition_rel proc check_representation (public)

 xo::db::sql::composition_rel[i] check_representation [ -dbn dbn ] \
    -rel_id rel_id 

Automatically generated method

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

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

Testcases:
No testcase defined.

xo::db::sql::composition_rel proc delete (public)

 xo::db::sql::composition_rel[i] delete [ -dbn dbn ] -rel_id rel_id 

Automatically generated method

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

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

Testcases:
No testcase defined.

xo::db::sql::composition_rel proc new (public)

 xo::db::sql::composition_rel[i] new [ -dbn dbn ] [ -rel_id rel_id ] \
    [ -rel_type rel_type ] -object_id_one object_id_one  \
    -object_id_two object_id_two  [ -creation_user creation_user ] \
    [ -creation_ip creation_ip ] [ -childof childof ]

Automatically generated method

Switches:
-dbn
(optional)
-rel_id
(optional)
-rel_type
(defaults to "composition_rel") (optional)
-object_id_one
(required)
-object_id_two
(required)
-creation_user
(optional)
-creation_ip
(optional)
-childof
(optional)

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

Testcases:
No testcase defined.

xo::db::sql::content_extlink proc copy (public)

 xo::db::sql::content_extlink[i] copy [ -dbn dbn ] -extlink_id extlink_id  \
    -target_folder_id target_folder_id  -creation_user creation_user  \
    [ -creation_ip creation_ip ] -name name 

Automatically generated method

Switches:
-dbn
(optional)
-extlink_id
(required)
-target_folder_id
(required)
-creation_user
(required)
-creation_ip
(optional)
-name
(required)

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

Testcases:
No testcase defined.

xo::db::sql::content_extlink proc delete (public)

 xo::db::sql::content_extlink[i] delete [ -dbn dbn ] \
    -extlink_id extlink_id 

Automatically generated method

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

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

Testcases:
No testcase defined.

xo::db::sql::content_extlink proc is_extlink (public)

 xo::db::sql::content_extlink[i] is_extlink [ -dbn dbn ] -item_id item_id 

Automatically generated method

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

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

Testcases:
No testcase defined.

xo::db::sql::content_extlink proc new (public)

 xo::db::sql::content_extlink[i] new [ -dbn dbn ] [ -name name ] -url url  \
    [ -label label ] [ -description description ] \
    -parent_id parent_id  [ -extlink_id extlink_id ] \
    [ -creation_date creation_date ] [ -creation_user creation_user ] \
    [ -creation_ip creation_ip ] [ -package_id package_id ] \
    [ -childof childof ]

Automatically generated method

Switches:
-dbn
(optional)
-name
(optional)
-url
(required)
-label
(optional)
-description
(optional)
-parent_id
(required)
-extlink_id
(optional)
-creation_date
(defaults to "now") (optional)
-creation_user
(optional)
-creation_ip
(optional)
-package_id
(optional)
-childof
(optional)

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

Testcases:
No testcase defined.

xo::db::sql::content_folder proc copy (public)

 xo::db::sql::content_folder[i] copy [ -dbn dbn ] -folder_id folder_id  \
    -target_folder_id target_folder_id  -creation_user creation_user  \
    [ -creation_ip creation_ip ] [ -name name ] [ -label label ]

Automatically generated method

Switches:
-dbn
(optional)
-folder_id
(required)
-target_folder_id
(required)
-creation_user
(required)
-creation_ip
(optional)
-name
(optional)
-label
(optional)

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

Testcases:
No testcase defined.

xo::db::sql::content_folder proc del (public)

 xo::db::sql::content_folder[i] del [ -dbn dbn ] -folder_id folder_id  \
    [ -cascade_p cascade_p ]

Automatically generated method

Switches:
-dbn
(optional)
-folder_id
(required)
-cascade_p
(defaults to "f") (optional)

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

Testcases:
No testcase defined.

xo::db::sql::content_folder proc delete (public)

 xo::db::sql::content_folder[i] delete [ -dbn dbn ] -folder_id folder_id  \
    [ -cascade_p cascade_p ]

Automatically generated method

Switches:
-dbn
(optional)
-folder_id
(required)
-cascade_p
(defaults to "f") (optional)

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

Testcases:
No testcase defined.

xo::db::sql::content_folder proc edit_name (public)

 xo::db::sql::content_folder[i] edit_name [ -dbn dbn ] \
    -folder_id folder_id  [ -name name ] [ -label label ] \
    [ -description description ]

Automatically generated method

Switches:
-dbn
(optional)
-folder_id
(required)
-name
(optional)
-label
(optional)
-description
(optional)

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

Testcases:
No testcase defined.

xo::db::sql::content_folder proc get_index_page (public)

 xo::db::sql::content_folder[i] get_index_page [ -dbn dbn ] \
    -folder_id folder_id 

Automatically generated method

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

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

Testcases:
No testcase defined.

xo::db::sql::content_folder proc get_label (public)

 xo::db::sql::content_folder[i] get_label [ -dbn dbn ] \
    -folder_id folder_id 

Automatically generated method

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

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

Testcases:
No testcase defined.

xo::db::sql::content_folder proc is_empty (public)

 xo::db::sql::content_folder[i] is_empty [ -dbn dbn ] \
    -folder_id folder_id 

Automatically generated method

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

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

Testcases:
No testcase defined.

xo::db::sql::content_folder proc is_folder (public)

 xo::db::sql::content_folder[i] is_folder [ -dbn dbn ] -item_id item_id 

Automatically generated method

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

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

Testcases:
No testcase defined.

xo::db::sql::content_folder proc is_registered (public)

 xo::db::sql::content_folder[i] is_registered [ -dbn dbn ] \
    -folder_id folder_id  -content_type content_type  \
    [ -include_subtypes include_subtypes ]

Automatically generated method

Switches:
-dbn
(optional)
-folder_id
(required)
-content_type
(required)
-include_subtypes
(defaults to "f") (optional)

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

Testcases:
No testcase defined.

xo::db::sql::content_folder proc is_root (public)

 xo::db::sql::content_folder[i] is_root [ -dbn dbn ] -folder_id folder_id 

Automatically generated method

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

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

Testcases:
No testcase defined.

xo::db::sql::content_folder proc is_sub_folder (public)

 xo::db::sql::content_folder[i] is_sub_folder [ -dbn dbn ] \
    -folder_id folder_id  -target_folder_id target_folder_id 

Automatically generated method

Switches:
-dbn
(optional)
-folder_id
(required)
-target_folder_id
(required)

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

Testcases:
No testcase defined.

xo::db::sql::content_folder proc move (public)

 xo::db::sql::content_folder[i] move [ -dbn dbn ] -folder_id folder_id  \
    -target_folder_id target_folder_id  [ -name name ]

Automatically generated method

Switches:
-dbn
(optional)
-folder_id
(required)
-target_folder_id
(required)
-name
(optional)

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

Testcases:
No testcase defined.

xo::db::sql::content_folder proc new (public)

 xo::db::sql::content_folder[i] new [ -dbn dbn ] -name name  -label label  \
    [ -description description ] [ -parent_id parent_id ] \
    [ -context_id context_id ] [ -folder_id folder_id ] \
    [ -creation_date creation_date ] [ -creation_user creation_user ] \
    [ -creation_ip creation_ip ] \
    [ -security_inherit_p security_inherit_p ] \
    [ -package_id package_id ] [ -childof childof ]

Automatically generated method

Switches:
-dbn
(optional)
-name
(required)
-label
(required)
-description
(optional)
-parent_id
(optional)
-context_id
(optional)
-folder_id
(optional)
-creation_date
(defaults to "now") (optional)
-creation_user
(optional)
-creation_ip
(optional)
-security_inherit_p
(defaults to "t") (optional)
-package_id
(optional)
-childof
(optional)

Partial Call Graph (max 5 caller/called nodes):
%3 test_xowiki_test_cases xowiki_test_cases (test xowiki) xo::db::sql::content_folder proc new xo::db::sql::content_folder proc new test_xowiki_test_cases->xo::db::sql::content_folder proc new db_with_handle db_with_handle (public) xo::db::sql::content_folder proc new->db_with_handle

Testcases:
xowiki_test_cases

xo::db::sql::content_folder proc register_content_type (public)

 xo::db::sql::content_folder[i] register_content_type [ -dbn dbn ] \
    -folder_id folder_id  -content_type content_type  \
    [ -include_subtypes include_subtypes ]

Automatically generated method

Switches:
-dbn
(optional)
-folder_id
(required)
-content_type
(required)
-include_subtypes
(defaults to "f") (optional)

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

Testcases:
No testcase defined.

xo::db::sql::content_folder proc rename (public)

 xo::db::sql::content_folder[i] rename [ -dbn dbn ] -folder_id folder_id  \
    [ -name name ] [ -label label ] [ -description description ]

Automatically generated method

Switches:
-dbn
(optional)
-folder_id
(required)
-name
(optional)
-label
(optional)
-description
(optional)

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

Testcases:
No testcase defined.

xo::db::sql::content_folder proc unregister_content_type (public)

 xo::db::sql::content_folder[i] unregister_content_type [ -dbn dbn ] \
    -folder_id folder_id  -content_type content_type  \
    [ -include_subtypes include_subtypes ]

Automatically generated method

Switches:
-dbn
(optional)
-folder_id
(required)
-content_type
(required)
-include_subtypes
(defaults to "f") (optional)

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

Testcases:
No testcase defined.

xo::db::sql::content_item proc copy (public)

 xo::db::sql::content_item[i] copy [ -dbn dbn ] -item_id item_id  \
    -target_folder_id target_folder_id  -creation_user creation_user  \
    [ -creation_ip creation_ip ] [ -name name ]

Automatically generated method

Switches:
-dbn
(optional)
-item_id
(required)
-target_folder_id
(required)
-creation_user
(required)
-creation_ip
(optional)
-name
(optional)

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

Testcases:
No testcase defined.

xo::db::sql::content_item proc copy2 (public)

 xo::db::sql::content_item[i] copy2 [ -dbn dbn ] -item_id item_id  \
    -target_folder_id target_folder_id  -creation_user creation_user  \
    [ -creation_ip creation_ip ]

Automatically generated method

Switches:
-dbn
(optional)
-item_id
(required)
-target_folder_id
(required)
-creation_user
(required)
-creation_ip
(optional)

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

Testcases:
No testcase defined.

xo::db::sql::content_item proc del (public)

 xo::db::sql::content_item[i] del [ -dbn dbn ] -item_id item_id 

Automatically generated method

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

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

Testcases:
No testcase defined.

xo::db::sql::content_item proc delete (public)

 xo::db::sql::content_item[i] delete [ -dbn dbn ] -item_id item_id 

Automatically generated method

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

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

Testcases:
No testcase defined.

xo::db::sql::content_item proc edit_name (public)

 xo::db::sql::content_item[i] edit_name [ -dbn dbn ] -item_id item_id  \
    -name name 

Automatically generated method

Switches:
-dbn
(optional)
-item_id
(required)
-name
(required)

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

Testcases:
No testcase defined.

xo::db::sql::content_item proc generic_move (public)

 xo::db::sql::content_item[i] generic_move [ -dbn dbn ] -item_id item_id  \
    -target_item_id target_item_id  -name name 

Automatically generated method

Switches:
-dbn
(optional)
-item_id
(required)
-target_item_id
(required)
-name
(required)

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

Testcases:
No testcase defined.

xo::db::sql::content_item proc get_best_revision (public)

 xo::db::sql::content_item[i] get_best_revision [ -dbn dbn ] \
    -item_id item_id 

Automatically generated method

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

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

Testcases:
No testcase defined.

xo::db::sql::content_item proc get_content_type (public)

 xo::db::sql::content_item[i] get_content_type [ -dbn dbn ] \
    -item_id item_id 

Automatically generated method

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

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

Testcases:
No testcase defined.

xo::db::sql::content_item proc get_context (public)

 xo::db::sql::content_item[i] get_context [ -dbn dbn ] -item_id item_id 

Automatically generated method

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

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

Testcases:
No testcase defined.

xo::db::sql::content_item proc get_id (public)

 xo::db::sql::content_item[i] get_id [ -dbn dbn ] -item_path item_path  \
    [ -root_folder_id root_folder_id ] \
    [ -resolve_index resolve_index ]

Automatically generated method

Switches:
-dbn
(optional)
-item_path
(required)
-root_folder_id
(optional)
-resolve_index
(defaults to "f") (optional)

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

Testcases:
No testcase defined.

xo::db::sql::content_item proc get_latest_revision (public)

 xo::db::sql::content_item[i] get_latest_revision [ -dbn dbn ] \
    -item_id item_id 

Automatically generated method

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

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

Testcases:
No testcase defined.

xo::db::sql::content_item proc get_live_revision (public)

 xo::db::sql::content_item[i] get_live_revision [ -dbn dbn ] \
    -item_id item_id 

Automatically generated method

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

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

Testcases:
No testcase defined.

xo::db::sql::content_item proc get_parent_folder (public)

 xo::db::sql::content_item[i] get_parent_folder [ -dbn dbn ] \
    -item_id item_id 

Automatically generated method

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

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

Testcases:
No testcase defined.

xo::db::sql::content_item proc get_path (public)

 xo::db::sql::content_item[i] get_path [ -dbn dbn ] -item_id item_id  \
    [ -root_folder_id root_folder_id ]

Automatically generated method

Switches:
-dbn
(optional)
-item_id
(required)
-root_folder_id
(optional)

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

Testcases:
No testcase defined.

xo::db::sql::content_item proc get_publish_date (public)

 xo::db::sql::content_item[i] get_publish_date [ -dbn dbn ] \
    -item_id item_id  [ -is_live is_live ]

Automatically generated method

Switches:
-dbn
(optional)
-item_id
(required)
-is_live
(defaults to "f") (optional)

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

Testcases:
No testcase defined.

xo::db::sql::content_item proc get_revision_count (public)

 xo::db::sql::content_item[i] get_revision_count [ -dbn dbn ] \
    -item_id item_id 

Automatically generated method

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

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

Testcases:
No testcase defined.

xo::db::sql::content_item proc get_root_folder (public)

 xo::db::sql::content_item[i] get_root_folder [ -dbn dbn ] \
    [ -item_id item_id ]

Automatically generated method

Switches:
-dbn
(optional)
-item_id
(optional)

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

Testcases:
No testcase defined.

xo::db::sql::content_item proc get_template (public)

 xo::db::sql::content_item[i] get_template [ -dbn dbn ] -item_id item_id  \
    -use_context use_context 

Automatically generated method

Switches:
-dbn
(optional)
-item_id
(required)
-use_context
(required)

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

Testcases:
No testcase defined.

xo::db::sql::content_item proc get_title (public)

 xo::db::sql::content_item[i] get_title [ -dbn dbn ] -item_id item_id  \
    [ -is_live is_live ]

Automatically generated method

Switches:
-dbn
(optional)
-item_id
(required)
-is_live
(defaults to "f") (optional)

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

Testcases:
No testcase defined.

xo::db::sql::content_item proc get_virtual_path (public)

 xo::db::sql::content_item[i] get_virtual_path [ -dbn dbn ] \
    -item_id item_id  [ -root_folder_id root_folder_id ]

Automatically generated method

Switches:
-dbn
(optional)
-item_id
(required)
-root_folder_id
(defaults to "-100") (optional)

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

Testcases:
No testcase defined.

xo::db::sql::content_item proc is_index_page (public)

 xo::db::sql::content_item[i] is_index_page [ -dbn dbn ] -item_id item_id  \
    -folder_id folder_id 

Automatically generated method

Switches:
-dbn
(optional)
-item_id
(required)
-folder_id
(required)

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

Testcases:
No testcase defined.

xo::db::sql::content_item proc is_publishable (public)

 xo::db::sql::content_item[i] is_publishable [ -dbn dbn ] \
    -item_id item_id 

Automatically generated method

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

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

Testcases:
No testcase defined.

xo::db::sql::content_item proc is_published (public)

 xo::db::sql::content_item[i] is_published [ -dbn dbn ] -item_id item_id 

Automatically generated method

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

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

Testcases:
No testcase defined.

xo::db::sql::content_item proc is_subclass (public)

 xo::db::sql::content_item[i] is_subclass [ -dbn dbn ] \
    -object_type object_type  -supertype supertype 

Automatically generated method

Switches:
-dbn
(optional)
-object_type
(required)
-supertype
(required)

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

Testcases:
No testcase defined.

xo::db::sql::content_item proc is_valid_child (public)

 xo::db::sql::content_item[i] is_valid_child [ -dbn dbn ] \
    -item_id item_id  -content_type content_type  \
    -relation_tag relation_tag 

Automatically generated method

Switches:
-dbn
(optional)
-item_id
(required)
-content_type
(required)
-relation_tag
(required)

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

Testcases:
No testcase defined.

xo::db::sql::content_item proc move (public)

 xo::db::sql::content_item[i] move [ -dbn dbn ] -item_id item_id  \
    -target_folder_id target_folder_id  -name name 

Automatically generated method

Switches:
-dbn
(optional)
-item_id
(required)
-target_folder_id
(required)
-name
(required)

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

Testcases:
No testcase defined.

xo::db::sql::content_item proc new (public)

 xo::db::sql::content_item[i] new [ -dbn dbn ] -name name  \
    [ -parent_id parent_id ] [ -item_id item_id ] [ -locale locale ] \
    [ -creation_date creation_date ] [ -creation_user creation_user ] \
    [ -context_id context_id ] [ -creation_ip creation_ip ] \
    [ -item_subtype item_subtype ] [ -content_type content_type ] \
    [ -title title ] [ -description description ] \
    [ -mime_type mime_type ] [ -nls_language nls_language ] \
    [ -text text ] [ -data data ] [ -relation_tag relation_tag ] \
    [ -is_live is_live ] [ -storage_type storage_type ] \
    [ -package_id package_id ] [ -with_child_rels with_child_rels ] \
    [ -childof childof ]

Automatically generated method

Switches:
-dbn
(optional)
-name
(required)
-parent_id
(optional)
-item_id
(optional)
-locale
(optional)
-creation_date
(defaults to "now") (optional)
-creation_user
(optional)
-context_id
(optional)
-creation_ip
(optional)
-item_subtype
(defaults to "content_item") (optional)
-content_type
(defaults to "content_revision") (optional)
-title
(optional)
-description
(optional)
-mime_type
(defaults to "text/plain") (optional)
-nls_language
(optional)
-text
(optional)
-data
(optional)
-relation_tag
(optional)
-is_live
(defaults to "f") (optional)
-storage_type
(optional)
-package_id
(optional)
-with_child_rels
(defaults to "t") (optional)
-childof
(optional)

Partial Call Graph (max 5 caller/called nodes):
%3 test_xotcl_core_tutorial_4 xotcl_core_tutorial_4 (test xotcl-core) xo::db::sql::content_item proc new xo::db::sql::content_item proc new test_xotcl_core_tutorial_4->xo::db::sql::content_item proc new db_with_handle db_with_handle (public) xo::db::sql::content_item proc new->db_with_handle

Testcases:
xotcl_core_tutorial_4

xo::db::sql::content_item proc register_template (public)

 xo::db::sql::content_item[i] register_template [ -dbn dbn ] \
    -item_id item_id  -template_id template_id  \
    -use_context use_context 

Automatically generated method

Switches:
-dbn
(optional)
-item_id
(required)
-template_id
(required)
-use_context
(required)

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

Testcases:
No testcase defined.

xo::db::sql::content_item proc relate (public)

 xo::db::sql::content_item[i] relate [ -dbn dbn ] -item_id item_id  \
    -object_id object_id  [ -relation_tag relation_tag ] \
    [ -order_n order_n ] [ -relation_type relation_type ]

Automatically generated method

Switches:
-dbn
(optional)
-item_id
(required)
-object_id
(required)
-relation_tag
(defaults to "generic") (optional)
-order_n
(optional)
-relation_type
(defaults to "cr_item_rel") (optional)

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

Testcases:
No testcase defined.

xo::db::sql::content_item proc set_live_revision (public)

 xo::db::sql::content_item[i] set_live_revision [ -dbn dbn ] \
    -revision_id revision_id  [ -publish_status publish_status ] \
    [ -publish_date publish_date ] [ -is_latest is_latest ]

Automatically generated method

Switches:
-dbn
(optional)
-revision_id
(required)
-publish_status
(defaults to "ready") (optional)
-publish_date
(defaults to "now()") (optional)
-is_latest
(defaults to "f") (optional)

Partial Call Graph (max 5 caller/called nodes):
%3 test_xotcl_core_tutorial_4 xotcl_core_tutorial_4 (test xotcl-core) xo::db::sql::content_item proc set_live_revision xo::db::sql::content_item proc set_live_revision test_xotcl_core_tutorial_4->xo::db::sql::content_item proc set_live_revision db_with_handle db_with_handle (public) xo::db::sql::content_item proc set_live_revision->db_with_handle

Testcases:
xotcl_core_tutorial_4

xo::db::sql::content_item proc set_release_period (public)

 xo::db::sql::content_item[i] set_release_period [ -dbn dbn ] \
    -item_id item_id  [ -start_when start_when ] \
    [ -end_when end_when ]

Automatically generated method

Switches:
-dbn
(optional)
-item_id
(required)
-start_when
(optional)
-end_when
(optional)

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

Testcases:
No testcase defined.

xo::db::sql::content_item proc unregister_template (public)

 xo::db::sql::content_item[i] unregister_template [ -dbn dbn ] \
    -item_id item_id  [ -template_id template_id ] \
    [ -use_context use_context ]

Automatically generated method

Switches:
-dbn
(optional)
-item_id
(required)
-template_id
(optional)
-use_context
(optional)

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

Testcases:
No testcase defined.

xo::db::sql::content_item proc unrelate (public)

 xo::db::sql::content_item[i] unrelate [ -dbn dbn ] -rel_id rel_id 

Automatically generated method

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

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

Testcases:
No testcase defined.

xo::db::sql::content_item proc unset_live_revision (public)

 xo::db::sql::content_item[i] unset_live_revision [ -dbn dbn ] \
    -item_id item_id 

Automatically generated method

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

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

Testcases:
No testcase defined.

xo::db::sql::content_item proc write_to_file (public)

 xo::db::sql::content_item[i] write_to_file [ -dbn dbn ] -item_id item_id  \
    -root_path root_path 

Automatically generated method

Switches:
-dbn
(optional)
-item_id
(required)
-root_path
(required)

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

Testcases:
No testcase defined.

xo::db::sql::content_keyword proc del (public)

 xo::db::sql::content_keyword[i] del [ -dbn dbn ] -keyword_id keyword_id 

Automatically generated method

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

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

Testcases:
No testcase defined.

xo::db::sql::content_keyword proc delete (public)

 xo::db::sql::content_keyword[i] delete [ -dbn dbn ] \
    -keyword_id keyword_id 

Automatically generated method

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

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

Testcases:
No testcase defined.

xo::db::sql::content_keyword proc get_description (public)

 xo::db::sql::content_keyword[i] get_description [ -dbn dbn ] \
    -keyword_id keyword_id 

Automatically generated method

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

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

Testcases:
No testcase defined.

xo::db::sql::content_keyword proc get_heading (public)

 xo::db::sql::content_keyword[i] get_heading [ -dbn dbn ] \
    -keyword_id keyword_id 

Automatically generated method

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

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

Testcases:
No testcase defined.

xo::db::sql::content_keyword proc get_path (public)

 xo::db::sql::content_keyword[i] get_path [ -dbn dbn ] \
    -keyword_id keyword_id 

Automatically generated method

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

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

Testcases:
No testcase defined.

xo::db::sql::content_keyword proc is_assigned (public)

 xo::db::sql::content_keyword[i] is_assigned [ -dbn dbn ] \
    -item_id item_id  -keyword_id keyword_id  [ -recurse recurse ]

Automatically generated method

Switches:
-dbn
(optional)
-item_id
(required)
-keyword_id
(required)
-recurse
(defaults to "none") (optional)

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

Testcases:
No testcase defined.

xo::db::sql::content_keyword proc is_leaf (public)

 xo::db::sql::content_keyword[i] is_leaf [ -dbn dbn ] \
    -keyword_id keyword_id 

Automatically generated method

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

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

Testcases:
No testcase defined.

xo::db::sql::content_keyword proc item_assign (public)

 xo::db::sql::content_keyword[i] item_assign [ -dbn dbn ] \
    -item_id item_id  -keyword_id keyword_id  \
    [ -context_id context_id ] [ -creation_user creation_user ] \
    [ -creation_ip creation_ip ]

Automatically generated method

Switches:
-dbn
(optional)
-item_id
(required)
-keyword_id
(required)
-context_id
(optional)
-creation_user
(optional)
-creation_ip
(optional)

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

Testcases:
No testcase defined.

xo::db::sql::content_keyword proc item_unassign (public)

 xo::db::sql::content_keyword[i] item_unassign [ -dbn dbn ] \
    -item_id item_id  -keyword_id keyword_id 

Automatically generated method

Switches:
-dbn
(optional)
-item_id
(required)
-keyword_id
(required)

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

Testcases:
No testcase defined.

xo::db::sql::content_keyword proc new (public)

 xo::db::sql::content_keyword[i] new [ -dbn dbn ] -heading heading  \
    [ -description description ] [ -parent_id parent_id ] \
    [ -keyword_id keyword_id ] [ -creation_date creation_date ] \
    [ -creation_user creation_user ] [ -creation_ip creation_ip ] \
    [ -object_type object_type ] [ -package_id package_id ] \
    [ -childof childof ]

Automatically generated method

Switches:
-dbn
(optional)
-heading
(required)
-description
(optional)
-parent_id
(optional)
-keyword_id
(optional)
-creation_date
(defaults to "now") (optional)
-creation_user
(optional)
-creation_ip
(optional)
-object_type
(defaults to "content_keyword") (optional)
-package_id
(optional)
-childof
(optional)

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

Testcases:
No testcase defined.

xo::db::sql::content_keyword proc set_description (public)

 xo::db::sql::content_keyword[i] set_description [ -dbn dbn ] \
    -keyword_id keyword_id  -description description 

Automatically generated method

Switches:
-dbn
(optional)
-keyword_id
(required)
-description
(required)

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

Testcases:
No testcase defined.

xo::db::sql::content_keyword proc set_heading (public)

 xo::db::sql::content_keyword[i] set_heading [ -dbn dbn ] \
    -keyword_id keyword_id  -heading heading 

Automatically generated method

Switches:
-dbn
(optional)
-keyword_id
(required)
-heading
(required)

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

Testcases:
No testcase defined.

xo::db::sql::content_revision proc content_copy (public)

 xo::db::sql::content_revision[i] content_copy [ -dbn dbn ] \
    -revision_id revision_id  [ -revision_id_dest revision_id_dest ]

Automatically generated method

Switches:
-dbn
(optional)
-revision_id
(required)
-revision_id_dest
(optional)

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

Testcases:
No testcase defined.

xo::db::sql::content_revision proc copy (public)

 xo::db::sql::content_revision[i] copy [ -dbn dbn ] \
    -revision_id revision_id  [ -copy_id copy_id ] \
    [ -target_item_id target_item_id ] \
    [ -creation_user creation_user ] [ -creation_ip creation_ip ]

Automatically generated method

Switches:
-dbn
(optional)
-revision_id
(required)
-copy_id
(optional)
-target_item_id
(optional)
-creation_user
(optional)
-creation_ip
(optional)

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

Testcases:
No testcase defined.

xo::db::sql::content_revision proc copy_attributes (public)

 xo::db::sql::content_revision[i] copy_attributes [ -dbn dbn ] \
    -content_type content_type  -revision_id revision_id  \
    -copy_id copy_id 

Automatically generated method

Switches:
-dbn
(optional)
-content_type
(required)
-revision_id
(required)
-copy_id
(required)

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

Testcases:
No testcase defined.

xo::db::sql::content_revision proc del (public)

 xo::db::sql::content_revision[i] del [ -dbn dbn ] \
    -revision_id revision_id 

Automatically generated method

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

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

Testcases:
No testcase defined.

xo::db::sql::content_revision proc delete (public)

 xo::db::sql::content_revision[i] delete [ -dbn dbn ] \
    -revision_id revision_id 

Automatically generated method

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

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

Testcases:
No testcase defined.

xo::db::sql::content_revision proc get_content (public)

 xo::db::sql::content_revision[i] get_content [ -dbn dbn ] \
    -revision_id revision_id 

Automatically generated method

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

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

Testcases:
No testcase defined.

xo::db::sql::content_revision proc get_number (public)

 xo::db::sql::content_revision[i] get_number [ -dbn dbn ] \
    -revision_id revision_id 

Automatically generated method

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

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

Testcases:
No testcase defined.

xo::db::sql::content_revision proc is_latest (public)

 xo::db::sql::content_revision[i] is_latest [ -dbn dbn ] \
    -revision_id revision_id 

Automatically generated method

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

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

Testcases:
No testcase defined.

xo::db::sql::content_revision proc is_live (public)

 xo::db::sql::content_revision[i] is_live [ -dbn dbn ] \
    -revision_id revision_id 

Automatically generated method

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

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

Testcases:
No testcase defined.

xo::db::sql::content_revision proc new (public)

 xo::db::sql::content_revision[i] new [ -dbn dbn ] -title title  \
    [ -description description ] [ -publish_date publish_date ] \
    [ -mime_type mime_type ] [ -nls_language nls_language ] \
    [ -text text ] -item_id item_id  [ -revision_id revision_id ] \
    [ -creation_date creation_date ] [ -creation_user creation_user ] \
    [ -creation_ip creation_ip ] [ -content_length content_length ] \
    [ -package_id package_id ] [ -childof childof ]

Automatically generated method

Switches:
-dbn
(optional)
-title
(required)
-description
(optional)
-publish_date
(defaults to "now()") (optional)
-mime_type
(defaults to "text/plain") (optional)
-nls_language
(optional)
-text
(defaults to " ") (optional)
-item_id
(required)
-revision_id
(optional)
-creation_date
(defaults to "now()") (optional)
-creation_user
(optional)
-creation_ip
(optional)
-content_length
(optional)
-package_id
(optional)
-childof
(optional)

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

Testcases:
No testcase defined.

xo::db::sql::content_revision proc revision_name (public)

 xo::db::sql::content_revision[i] revision_name [ -dbn dbn ] \
    -revision_id revision_id 

Automatically generated method

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

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

Testcases:
No testcase defined.

xo::db::sql::content_revision proc to_html (public)

 xo::db::sql::content_revision[i] to_html [ -dbn dbn ] \
    -revision_id revision_id 

Automatically generated method

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

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

Testcases:
No testcase defined.

xo::db::sql::content_revision proc to_temporary_clob (public)

 xo::db::sql::content_revision[i] to_temporary_clob [ -dbn dbn ] \
    -revision_id revision_id 

Automatically generated method

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

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

Testcases:
No testcase defined.

xo::db::sql::content_symlink proc copy (public)

 xo::db::sql::content_symlink[i] copy [ -dbn dbn ] -symlink_id symlink_id  \
    -target_folder_id target_folder_id  -creation_user creation_user  \
    [ -creation_ip creation_ip ] [ -name name ]

Automatically generated method

Switches:
-dbn
(optional)
-symlink_id
(required)
-target_folder_id
(required)
-creation_user
(required)
-creation_ip
(optional)
-name
(optional)

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

Testcases:
No testcase defined.

xo::db::sql::content_symlink proc del (public)

 xo::db::sql::content_symlink[i] del [ -dbn dbn ] -symlink_id symlink_id 

Automatically generated method

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

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

Testcases:
No testcase defined.

xo::db::sql::content_symlink proc delete (public)

 xo::db::sql::content_symlink[i] delete [ -dbn dbn ] \
    -symlink_id symlink_id 

Automatically generated method

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

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

Testcases:
No testcase defined.

xo::db::sql::content_symlink proc is_symlink (public)

 xo::db::sql::content_symlink[i] is_symlink [ -dbn dbn ] -item_id item_id 

Automatically generated method

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

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

Testcases:
No testcase defined.

xo::db::sql::content_symlink proc new (public)

 xo::db::sql::content_symlink[i] new [ -dbn dbn ] [ -name name ] \
    [ -label label ] -target_id target_id  -parent_id parent_id  \
    [ -symlink_id symlink_id ] [ -creation_date creation_date ] \
    [ -creation_user creation_user ] [ -creation_ip creation_ip ] \
    [ -package_id package_id ] [ -childof childof ]

Automatically generated method

Switches:
-dbn
(optional)
-name
(optional)
-label
(optional)
-target_id
(required)
-parent_id
(required)
-symlink_id
(optional)
-creation_date
(defaults to "now") (optional)
-creation_user
(optional)
-creation_ip
(optional)
-package_id
(optional)
-childof
(optional)

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

Testcases:
No testcase defined.

xo::db::sql::content_symlink proc resolve (public)

 xo::db::sql::content_symlink[i] resolve [ -dbn dbn ] -item_id item_id 

Automatically generated method

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

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

Testcases:
No testcase defined.

xo::db::sql::content_symlink proc resolve_content_type (public)

 xo::db::sql::content_symlink[i] resolve_content_type [ -dbn dbn ] \
    -item_id item_id 

Automatically generated method

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

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

Testcases:
No testcase defined.

xo::db::sql::content_template proc del (public)

 xo::db::sql::content_template[i] del [ -dbn dbn ] \
    -template_id template_id 

Automatically generated method

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

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

Testcases:
No testcase defined.

xo::db::sql::content_template proc delete (public)

 xo::db::sql::content_template[i] delete [ -dbn dbn ] \
    -template_id template_id 

Automatically generated method

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

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

Testcases:
No testcase defined.

xo::db::sql::content_template proc get_path (public)

 xo::db::sql::content_template[i] get_path [ -dbn dbn ] \
    -template_id template_id  [ -root_folder_id root_folder_id ]

Automatically generated method

Switches:
-dbn
(optional)
-template_id
(required)
-root_folder_id
(defaults to "content_template_globals.c_root_folder_id") (optional)

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

Testcases:
No testcase defined.

xo::db::sql::content_template proc get_root_folder (public)

 xo::db::sql::content_template[i] get_root_folder [ -dbn dbn ]

Automatically generated method

Switches:
-dbn
(optional)

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

Testcases:
No testcase defined.

xo::db::sql::content_template proc is_template (public)

 xo::db::sql::content_template[i] is_template [ -dbn dbn ] \
    -template_id template_id 

Automatically generated method

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

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

Testcases:
No testcase defined.

xo::db::sql::content_template proc new (public)

 xo::db::sql::content_template[i] new [ -dbn dbn ] -name name  \
    [ -parent_id parent_id ] [ -template_id template_id ] \
    [ -creation_date creation_date ] [ -creation_user creation_user ] \
    [ -creation_ip creation_ip ] [ -text text ] [ -is_live is_live ] \
    [ -childof childof ]

Automatically generated method

Switches:
-dbn
(optional)
-name
(required)
-parent_id
(optional)
-template_id
(optional)
-creation_date
(defaults to "now") (optional)
-creation_user
(optional)
-creation_ip
(optional)
-text
(optional)
-is_live
(defaults to "f") (optional)
-childof
(optional)

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

Testcases:
No testcase defined.

xo::db::sql::content_type proc create_attribute (public)

 xo::db::sql::content_type[i] create_attribute [ -dbn dbn ] \
    -content_type content_type  -attribute_name attribute_name  \
    -datatype datatype  -pretty_name pretty_name  \
    [ -pretty_plural pretty_plural ] [ -sort_order sort_order ] \
    [ -default_value default_value ] [ -column_spec column_spec ]

Automatically generated method

Switches:
-dbn
(optional)
-content_type
(required)
-attribute_name
(required)
-datatype
(required)
-pretty_name
(required)
-pretty_plural
(optional)
-sort_order
(optional)
-default_value
(optional)
-column_spec
(defaults to "text") (optional)

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

Testcases:
No testcase defined.

xo::db::sql::content_type proc create_type (public)

 xo::db::sql::content_type[i] create_type [ -dbn dbn ] \
    -content_type content_type  [ -supertype supertype ] \
    -pretty_name pretty_name  -pretty_plural pretty_plural  \
    -table_name table_name  [ -id_column id_column ] \
    [ -name_method name_method ]

Automatically generated method

Switches:
-dbn
(optional)
-content_type
(required)
-supertype
(defaults to "content_revision") (optional)
-pretty_name
(required)
-pretty_plural
(required)
-table_name
(required)
-id_column
(defaults to "XXX") (optional)
-name_method
(optional)

Partial Call Graph (max 5 caller/called nodes):
%3 test_xotcl_core_tutorial_4 xotcl_core_tutorial_4 (test xotcl-core) xo::db::sql::content_type proc create_type xo::db::sql::content_type proc create_type test_xotcl_core_tutorial_4->xo::db::sql::content_type proc create_type db_with_handle db_with_handle (public) xo::db::sql::content_type proc create_type->db_with_handle

Testcases:
xotcl_core_tutorial_4

xo::db::sql::content_type proc drop_attribute (public)

 xo::db::sql::content_type[i] drop_attribute [ -dbn dbn ] \
    -content_type content_type  -attribute_name attribute_name  \
    [ -drop_column drop_column ]

Automatically generated method

Switches:
-dbn
(optional)
-content_type
(required)
-attribute_name
(required)
-drop_column
(defaults to "f") (optional)

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

Testcases:
No testcase defined.

xo::db::sql::content_type proc drop_type (public)

 xo::db::sql::content_type[i] drop_type [ -dbn dbn ] \
    -content_type content_type  [ -drop_children_p drop_children_p ] \
    [ -drop_table_p drop_table_p ] [ -drop_objects_p drop_objects_p ]

Automatically generated method

Switches:
-dbn
(optional)
-content_type
(required)
-drop_children_p
(defaults to "f") (optional)
-drop_table_p
(defaults to "f") (optional)
-drop_objects_p
(defaults to "f") (optional)

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

Testcases:
No testcase defined.

xo::db::sql::content_type proc get_template (public)

 xo::db::sql::content_type[i] get_template [ -dbn dbn ] \
    -content_type content_type  -use_context use_context 

Automatically generated method

Switches:
-dbn
(optional)
-content_type
(required)
-use_context
(required)

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

Testcases:
No testcase defined.

xo::db::sql::content_type proc is_content_type (public)

 xo::db::sql::content_type[i] is_content_type [ -dbn dbn ] \
    -object_type object_type 

Automatically generated method

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

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

Testcases:
No testcase defined.

xo::db::sql::content_type proc refresh_trigger (public)

 xo::db::sql::content_type[i] refresh_trigger [ -dbn dbn ] \
    -content_type content_type 

Automatically generated method

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

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

Testcases:
No testcase defined.

xo::db::sql::content_type proc refresh_view (public)

 xo::db::sql::content_type[i] refresh_view [ -dbn dbn ] \
    -content_type content_type 

Automatically generated method

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

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

Testcases:
No testcase defined.

xo::db::sql::content_type proc register_child_type (public)

 xo::db::sql::content_type[i] register_child_type [ -dbn dbn ] \
    -parent_type parent_type  -child_type child_type  \
    [ -relation_tag relation_tag ] [ -min_n min_n ] [ -max_n max_n ]

Automatically generated method

Switches:
-dbn
(optional)
-parent_type
(required)
-child_type
(required)
-relation_tag
(defaults to "generic") (optional)
-min_n
(defaults to "0") (optional)
-max_n
(optional)

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

Testcases:
No testcase defined.

xo::db::sql::content_type proc register_mime_type (public)

 xo::db::sql::content_type[i] register_mime_type [ -dbn dbn ] \
    -content_type content_type  -mime_type mime_type 

Automatically generated method

Switches:
-dbn
(optional)
-content_type
(required)
-mime_type
(required)

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

Testcases:
No testcase defined.

xo::db::sql::content_type proc register_relation_type (public)

 xo::db::sql::content_type[i] register_relation_type [ -dbn dbn ] \
    -content_type content_type  -target_type target_type  \
    [ -relation_tag relation_tag ] [ -min_n min_n ] [ -max_n max_n ]

Automatically generated method

Switches:
-dbn
(optional)
-content_type
(required)
-target_type
(required)
-relation_tag
(defaults to "generic") (optional)
-min_n
(defaults to "0") (optional)
-max_n
(optional)

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

Testcases:
No testcase defined.

xo::db::sql::content_type proc register_template (public)

 xo::db::sql::content_type[i] register_template [ -dbn dbn ] \
    -content_type content_type  -template_id template_id  \
    -use_context use_context  [ -is_default is_default ]

Automatically generated method

Switches:
-dbn
(optional)
-content_type
(required)
-template_id
(required)
-use_context
(required)
-is_default
(defaults to "f") (optional)

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

Testcases:
No testcase defined.

xo::db::sql::content_type proc rotate_template (public)

 xo::db::sql::content_type[i] rotate_template [ -dbn dbn ] \
    -template_id template_id  -v_content_type v_content_type  \
    -use_context use_context 

Automatically generated method

Switches:
-dbn
(optional)
-template_id
(required)
-v_content_type
(required)
-use_context
(required)

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

Testcases:
No testcase defined.

xo::db::sql::content_type proc set_default_template (public)

 xo::db::sql::content_type[i] set_default_template [ -dbn dbn ] \
    -content_type content_type  -template_id template_id  \
    -use_context use_context 

Automatically generated method

Switches:
-dbn
(optional)
-content_type
(required)
-template_id
(required)
-use_context
(required)

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

Testcases:
No testcase defined.

xo::db::sql::content_type proc trigger_insert_statement (public)

 xo::db::sql::content_type[i] trigger_insert_statement [ -dbn dbn ] \
    -content_type content_type 

Automatically generated method

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

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

Testcases:
No testcase defined.

xo::db::sql::content_type proc unregister_child_type (public)

 xo::db::sql::content_type[i] unregister_child_type [ -dbn dbn ] \
    -parent_type parent_type  -child_type child_type  \
    -relation_tag relation_tag 

Automatically generated method

Switches:
-dbn
(optional)
-parent_type
(required)
-child_type
(required)
-relation_tag
(required)

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

Testcases:
No testcase defined.

xo::db::sql::content_type proc unregister_mime_type (public)

 xo::db::sql::content_type[i] unregister_mime_type [ -dbn dbn ] \
    -content_type content_type  -mime_type mime_type 

Automatically generated method

Switches:
-dbn
(optional)
-content_type
(required)
-mime_type
(required)

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

Testcases:
No testcase defined.

xo::db::sql::content_type proc unregister_relation_type (public)

 xo::db::sql::content_type[i] unregister_relation_type [ -dbn dbn ] \
    -content_type content_type  -target_type target_type  \
    [ -relation_tag relation_tag ]

Automatically generated method

Switches:
-dbn
(optional)
-content_type
(required)
-target_type
(required)
-relation_tag
(optional)

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

Testcases:
No testcase defined.

xo::db::sql::content_type proc unregister_template (public)

 xo::db::sql::content_type[i] unregister_template [ -dbn dbn ] \
    [ -content_type content_type ] -template_id template_id  \
    [ -use_context use_context ]

Automatically generated method

Switches:
-dbn
(optional)
-content_type
(optional)
-template_id
(required)
-use_context
(optional)

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

Testcases:
No testcase defined.

xo::db::sql::doc proc get_package_header (public)

 xo::db::sql::doc[i] get_package_header [ -dbn dbn ] \
    -package_name package_name 

Automatically generated method

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

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

Testcases:
No testcase defined.

xo::db::sql::doc proc get_proc_header (public)

 xo::db::sql::doc[i] get_proc_header [ -dbn dbn ] -proc_name proc_name  \
    -package_name package_name 

Automatically generated method

Switches:
-dbn
(optional)
-proc_name
(required)
-package_name
(required)

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

Testcases:
No testcase defined.

xo::db::sql::download_rep proc delete (public)

 xo::db::sql::download_rep[i] delete [ -dbn dbn ] \
    -repository_id repository_id 

Automatically generated method

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

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

Testcases:
No testcase defined.

xo::db::sql::download_rep proc edit (public)

 xo::db::sql::download_rep[i] edit [ -dbn dbn ] \
    -repository_id repository_id  -title title  \
    -description description  -help_text help_text  \
    -last_modified last_modified  -modifying_user modifying_user  \
    -modifying_ip modifying_ip 

Automatically generated method

Switches:
-dbn
(optional)
-repository_id
(required)
-title
(required)
-description
(required)
-help_text
(required)
-last_modified
(required)
-modifying_user
(required)
-modifying_ip
(required)

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

Testcases:
No testcase defined.

xo::db::sql::download_rep proc new (public)

 xo::db::sql::download_rep[i] new [ -dbn dbn ] \
    -repository_id repository_id  -title title  \
    -description description  [ -help_text help_text ] \
    [ -creation_date creation_date ] [ -creation_user creation_user ] \
    [ -parent_id parent_id ] [ -context_id context_id ] \
    [ -creation_ip creation_ip ] [ -childof childof ]

Automatically generated method

Switches:
-dbn
(optional)
-repository_id
(required)
-title
(required)
-description
(required)
-help_text
(optional)
-creation_date
(defaults to "now()") (optional)
-creation_user
(optional)
-parent_id
(optional)
-context_id
(optional)
-creation_ip
(optional)
-childof
(optional)

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

Testcases:
No testcase defined.

xo::db::sql::ec_product proc delete (public)

 xo::db::sql::ec_product[i] delete [ -dbn dbn ] -product_id product_id 

Automatically generated method

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

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

Testcases:
No testcase defined.

xo::db::sql::ec_product proc new (public)

 xo::db::sql::ec_product[i] new [ -dbn dbn ] [ -product_id product_id ] \
    [ -creation_user creation_user ] -context_id context_id  \
    -product_name product_name  [ -price price ] [ -sku sku ] \
    [ -one_line_description one_line_description ] \
    [ -detailed_description detailed_description ] \
    [ -search_keywords search_keywords ] [ -present_p present_p ] \
    [ -stock_status stock_status ] [ -dirname dirname ] \
    [ -available_date available_date ] [ -color_list color_list ] \
    [ -size_list size_list ] [ -creation_ip creation_ip ] \
    [ -childof childof ]

Automatically generated method

Switches:
-dbn
(optional)
-product_id
(optional)
-creation_user
(optional)
-context_id
(required)
-product_name
(required)
-price
(optional)
-sku
(optional)
-one_line_description
(optional)
-detailed_description
(optional)
-search_keywords
(optional)
-present_p
(defaults to "t") (optional)
-stock_status
(defaults to "o") (optional)
-dirname
(optional)
-available_date
(defaults to "sysdate") (optional)
-color_list
(optional)
-size_list
(optional)
-creation_ip
(optional)
-childof
(optional)

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

Testcases:
No testcase defined.

xo::db::sql::etp proc create_extlink (public)

 xo::db::sql::etp[i] create_extlink [ -dbn dbn ] [ -item_id item_id ] \
    -package_id package_id  -url url  -title title  \
    -description description 

Automatically generated method

Switches:
-dbn
(optional)
-item_id
(optional)
-package_id
(required)
-url
(required)
-title
(required)
-description
(required)

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

Testcases:
No testcase defined.

xo::db::sql::etp proc create_new_revision (public)

 xo::db::sql::etp[i] create_new_revision [ -dbn dbn ] \
    -package_id package_id  -name name  -user_id user_id  \
    -revision_id revision_id 

Automatically generated method

Switches:
-dbn
(optional)
-package_id
(required)
-name
(required)
-user_id
(required)
-revision_id
(required)

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

Testcases:
No testcase defined.

xo::db::sql::etp proc create_page (public)

 xo::db::sql::etp[i] create_page [ -dbn dbn ] -item_id item_id  \
    -package_id package_id  -name name  -title title  \
    [ -content_type content_type ]

Automatically generated method

Switches:
-dbn
(optional)
-item_id
(required)
-package_id
(required)
-name
(required)
-title
(required)
-content_type
(optional)

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

Testcases:
No testcase defined.

xo::db::sql::etp proc create_symlink (public)

 xo::db::sql::etp[i] create_symlink [ -dbn dbn ] -package_id package_id  \
    -target_id target_id 

Automatically generated method

Switches:
-dbn
(optional)
-package_id
(required)
-target_id
(required)

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

Testcases:
No testcase defined.

xo::db::sql::etp proc get_attribute_value (public)

 xo::db::sql::etp[i] get_attribute_value [ -dbn dbn ] \
    -object_id object_id  -attribute_id attribute_id 

Automatically generated method

Switches:
-dbn
(optional)
-object_id
(required)
-attribute_id
(required)

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

Testcases:
No testcase defined.

xo::db::sql::etp proc get_description (public)

 xo::db::sql::etp[i] get_description [ -dbn dbn ] -item_id item_id  \
    -revision_description revision_description 

Automatically generated method

Switches:
-dbn
(optional)
-item_id
(required)
-revision_description
(required)

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

Testcases:
No testcase defined.

xo::db::sql::etp proc get_folder_id (public)

 xo::db::sql::etp[i] get_folder_id [ -dbn dbn ] -package_id package_id 

Automatically generated method

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

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

Testcases:
No testcase defined.

xo::db::sql::etp proc get_relative_url (public)

 xo::db::sql::etp[i] get_relative_url [ -dbn dbn ] -item_id item_id  \
    -name name 

Automatically generated method

Switches:
-dbn
(optional)
-item_id
(required)
-name
(required)

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

Testcases:
No testcase defined.

xo::db::sql::etp proc get_title (public)

 xo::db::sql::etp[i] get_title [ -dbn dbn ] -item_id item_id  \
    -revision_title revision_title 

Automatically generated method

Switches:
-dbn
(optional)
-item_id
(required)
-revision_title
(required)

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

Testcases:
No testcase defined.

xo::db::sql::faq proc clone (public)

 xo::db::sql::faq[i] clone [ -dbn dbn ] -new_package_id new_package_id  \
    -old_package_id old_package_id 

Automatically generated method

Switches:
-dbn
(optional)
-new_package_id
(required)
-old_package_id
(required)

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

Testcases:
No testcase defined.

xo::db::sql::faq proc delete_faq (public)

 xo::db::sql::faq[i] delete_faq [ -dbn dbn ]

Automatically generated method

Switches:
-dbn
(optional)

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

Testcases:
No testcase defined.

xo::db::sql::faq proc delete_q_and_a (public)

 xo::db::sql::faq[i] delete_q_and_a [ -dbn dbn ]

Automatically generated method

Switches:
-dbn
(optional)

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

Testcases:
No testcase defined.

xo::db::sql::faq proc name (public)

 xo::db::sql::faq[i] name [ -dbn dbn ]

Automatically generated method

Switches:
-dbn
(optional)

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

Testcases:
No testcase defined.

xo::db::sql::faq proc new_faq (public)

 xo::db::sql::faq[i] new_faq [ -dbn dbn ]

Automatically generated method

Switches:
-dbn
(optional)

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

Testcases:
No testcase defined.

xo::db::sql::faq proc new_q_and_a (public)

 xo::db::sql::faq[i] new_q_and_a [ -dbn dbn ] [ -entry_id entry_id ] \
    -faq_id faq_id  -question question  -answer answer  \
    -sort_key sort_key  -object_type object_type  \
    [ -creation_date creation_date ] [ -creation_user creation_user ] \
    [ -creation_ip creation_ip ] [ -context_id context_id ]

Automatically generated method

Switches:
-dbn
(optional)
-entry_id
(optional)
-faq_id
(required)
-question
(required)
-answer
(required)
-sort_key
(required)
-object_type
(required)
-creation_date
(defaults to "current_timestamp") (optional)
-creation_user
(optional)
-creation_ip
(optional)
-context_id
(optional)

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

Testcases:
No testcase defined.

xo::db::sql::file_storage proc copy_file (public)

 xo::db::sql::file_storage[i] copy_file [ -dbn dbn ] -file_id file_id  \
    -target_folder_id target_folder_id  -creation_user creation_user  \
    -creation_ip creation_ip  [ -name name ] [ -title title ]

Automatically generated method

Switches:
-dbn
(optional)
-file_id
(required)
-target_folder_id
(required)
-creation_user
(required)
-creation_ip
(required)
-name
(optional)
-title
(optional)

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

Testcases:
No testcase defined.

xo::db::sql::file_storage proc delete_file (public)

 xo::db::sql::file_storage[i] delete_file [ -dbn dbn ] -file_id file_id 

Automatically generated method

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

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

Testcases:
No testcase defined.

xo::db::sql::file_storage proc delete_folder (public)

 xo::db::sql::file_storage[i] delete_folder [ -dbn dbn ] \
    -folder_id folder_id  -cascade_p cascade_p 

Automatically generated method

Switches:
-dbn
(optional)
-folder_id
(required)
-cascade_p
(required)

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

Testcases:
No testcase defined.

xo::db::sql::file_storage proc delete_version (public)

 xo::db::sql::file_storage[i] delete_version [ -dbn dbn ] \
    -file_id file_id  -version_id version_id 

Automatically generated method

Switches:
-dbn
(optional)
-file_id
(required)
-version_id
(required)

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

Testcases:
No testcase defined.

xo::db::sql::file_storage proc get_content_type (public)

 xo::db::sql::file_storage[i] get_content_type [ -dbn dbn ] \
    -file_id file_id 

Automatically generated method

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

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

Testcases:
No testcase defined.

xo::db::sql::file_storage proc get_folder_name (public)

 xo::db::sql::file_storage[i] get_folder_name [ -dbn dbn ] \
    -folder_id folder_id 

Automatically generated method

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

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

Testcases:
No testcase defined.

xo::db::sql::file_storage proc get_package_id (public)

 xo::db::sql::file_storage[i] get_package_id [ -dbn dbn ] \
    -item_id item_id 

Automatically generated method

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

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

Testcases:
No testcase defined.

xo::db::sql::file_storage proc get_parent_id (public)

 xo::db::sql::file_storage[i] get_parent_id [ -dbn dbn ] -item_id item_id 

Automatically generated method

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

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

Testcases:
No testcase defined.

xo::db::sql::file_storage proc get_root_folder (public)

 xo::db::sql::file_storage[i] get_root_folder [ -dbn dbn ] \
    -package_id package_id 

Automatically generated method

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

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

Testcases:
No testcase defined.

xo::db::sql::file_storage proc get_title (public)

 xo::db::sql::file_storage[i] get_title [ -dbn dbn ] -item_id item_id 

Automatically generated method

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

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

Testcases:
No testcase defined.

xo::db::sql::file_storage proc move_file (public)

 xo::db::sql::file_storage[i] move_file [ -dbn dbn ] -file_id file_id  \
    -target_folder_id target_folder_id  -creation_user creation_user  \
    -creation_ip creation_ip 

Automatically generated method

Switches:
-dbn
(optional)
-file_id
(required)
-target_folder_id
(required)
-creation_user
(required)
-creation_ip
(required)

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

Testcases:
No testcase defined.

xo::db::sql::file_storage proc new_file (public)

 xo::db::sql::file_storage[i] new_file [ -dbn dbn ] -name name  \
    -folder_id folder_id  -user_id user_id  -creation_ip creation_ip  \
    -indb_p indb_p  -item_id item_id  -package_id package_id 

Automatically generated method

Switches:
-dbn
(optional)
-name
(required)
-folder_id
(required)
-user_id
(required)
-creation_ip
(required)
-indb_p
(required)
-item_id
(required)
-package_id
(required)

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

Testcases:
No testcase defined.

xo::db::sql::file_storage proc new_folder (public)

 xo::db::sql::file_storage[i] new_folder [ -dbn dbn ] -name name  \
    -folder_name folder_name  -parent_id parent_id  \
    -creation_user creation_user  -creation_ip creation_ip 

Automatically generated method

Switches:
-dbn
(optional)
-name
(required)
-folder_name
(required)
-parent_id
(required)
-creation_user
(required)
-creation_ip
(required)

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

Testcases:
No testcase defined.

xo::db::sql::file_storage proc new_root_folder (public)

 xo::db::sql::file_storage[i] new_root_folder [ -dbn dbn ] \
    -package_id package_id  -folder_name folder_name  -url url  \
    -description description 

Automatically generated method

Switches:
-dbn
(optional)
-package_id
(required)
-folder_name
(required)
-url
(required)
-description
(required)

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

Testcases:
No testcase defined.

xo::db::sql::file_storage proc new_version (public)

 xo::db::sql::file_storage[i] new_version [ -dbn dbn ] -filename filename  \
    -description description  -mime_type mime_type  -item_id item_id  \
    -creation_user creation_user  -creation_ip creation_ip 

Automatically generated method

Switches:
-dbn
(optional)
-filename
(required)
-description
(required)
-mime_type
(required)
-item_id
(required)
-creation_user
(required)
-creation_ip
(required)

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

Testcases:
No testcase defined.

xo::db::sql::file_storage proc rename_file (public)

 xo::db::sql::file_storage[i] rename_file [ -dbn dbn ] -file_id file_id  \
    -name name 

Automatically generated method

Switches:
-dbn
(optional)
-file_id
(required)
-name
(required)

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

Testcases:
No testcase defined.

xo::db::sql::forums_forum proc delete (public)

 xo::db::sql::forums_forum[i] delete [ -dbn dbn ] -forum_id forum_id 

Automatically generated method

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

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

Testcases:
No testcase defined.

xo::db::sql::forums_forum proc name (public)

 xo::db::sql::forums_forum[i] name [ -dbn dbn ] -forum_id forum_id 

Automatically generated method

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

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

Testcases:
No testcase defined.

xo::db::sql::forums_forum proc new (public)

 xo::db::sql::forums_forum[i] new [ -dbn dbn ] -forum_id forum_id  \
    [ -object_type object_type ] -name name  -charter charter  \
    -presentation_type presentation_type  \
    -posting_policy posting_policy  -package_id package_id  \
    -creation_date creation_date  -creation_user creation_user  \
    -creation_ip creation_ip  -context_id context_id  \
    [ -childof childof ]

Automatically generated method

Switches:
-dbn
(optional)
-forum_id
(required)
-object_type
(defaults to "forums_forum") (optional)
-name
(required)
-charter
(required)
-presentation_type
(required)
-posting_policy
(required)
-package_id
(required)
-creation_date
(required)
-creation_user
(required)
-creation_ip
(required)
-context_id
(required)
-childof
(optional)

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

Testcases:
No testcase defined.

xo::db::sql::forums_message proc delete (public)

 xo::db::sql::forums_message[i] delete [ -dbn dbn ] \
    -message_id message_id 

Automatically generated method

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

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

Testcases:
No testcase defined.

xo::db::sql::forums_message proc delete_thread (public)

 xo::db::sql::forums_message[i] delete_thread [ -dbn dbn ] \
    -message_id message_id 

Automatically generated method

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

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

Testcases:
No testcase defined.

xo::db::sql::forums_message proc name (public)

 xo::db::sql::forums_message[i] name [ -dbn dbn ] -message_id message_id 

Automatically generated method

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

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

Testcases:
No testcase defined.

xo::db::sql::forums_message proc new (public)

 xo::db::sql::forums_message[i] new [ -dbn dbn ] -message_id message_id  \
    [ -object_type object_type ] -forum_id forum_id  -subject subject  \
    -content content  -format format  -user_id user_id  -state state  \
    -parent_id parent_id  -creation_date creation_date  \
    -creation_user creation_user  -creation_ip creation_ip  \
    -context_id context_id  [ -childof childof ]

Automatically generated method

Switches:
-dbn
(optional)
-message_id
(required)
-object_type
(defaults to "forums_message") (optional)
-forum_id
(required)
-subject
(required)
-content
(required)
-format
(required)
-user_id
(required)
-state
(required)
-parent_id
(required)
-creation_date
(required)
-creation_user
(required)
-creation_ip
(required)
-context_id
(required)
-childof
(optional)

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

Testcases:
No testcase defined.

xo::db::sql::forums_message proc root_message_id (public)

 xo::db::sql::forums_message[i] root_message_id [ -dbn dbn ] \
    -message_id message_id 

Automatically generated method

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

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

Testcases:
No testcase defined.

xo::db::sql::forums_message proc set_state (public)

 xo::db::sql::forums_message[i] set_state [ -dbn dbn ] \
    -message_id message_id  -state state 

Automatically generated method

Switches:
-dbn
(optional)
-message_id
(required)
-state
(required)

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

Testcases:
No testcase defined.

xo::db::sql::forums_message proc thread_close (public)

 xo::db::sql::forums_message[i] thread_close [ -dbn dbn ] \
    -message_id message_id 

Automatically generated method

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

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

Testcases:
No testcase defined.

xo::db::sql::forums_message proc thread_open (public)

 xo::db::sql::forums_message[i] thread_open [ -dbn dbn ] \
    -message_id message_id 

Automatically generated method

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

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

Testcases:
No testcase defined.

xo::db::sql::forums_reading_info proc move_thread_update (public)

 xo::db::sql::forums_reading_info[i] move_thread_update [ -dbn dbn ] \
    -source_message_id source_message_id  \
    -target_message_id target_message_id 

Automatically generated method

Switches:
-dbn
(optional)
-source_message_id
(required)
-target_message_id
(required)

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

Testcases:
No testcase defined.

xo::db::sql::forums_reading_info proc remove_msg (public)

 xo::db::sql::forums_reading_info[i] remove_msg [ -dbn dbn ] \
    -message_id message_id 

Automatically generated method

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

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

Testcases:
No testcase defined.

xo::db::sql::forums_reading_info proc user_add_forum (public)

 xo::db::sql::forums_reading_info[i] user_add_forum [ -dbn dbn ] \
    -forum_id forum_id  -user_id user_id 

Automatically generated method

Switches:
-dbn
(optional)
-forum_id
(required)
-user_id
(required)

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

Testcases:
No testcase defined.

xo::db::sql::forums_reading_info proc user_add_msg (public)

 xo::db::sql::forums_reading_info[i] user_add_msg [ -dbn dbn ] \
    -root_message_id root_message_id  -user_id user_id 

Automatically generated method

Switches:
-dbn
(optional)
-root_message_id
(required)
-user_id
(required)

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

Testcases:
No testcase defined.

xo::db::sql::fs_simple_object proc delete (public)

 xo::db::sql::fs_simple_object[i] delete [ -dbn dbn ] \
    -object_id object_id 

Automatically generated method

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

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

Testcases:
No testcase defined.

xo::db::sql::fs_simple_object proc new (public)

 xo::db::sql::fs_simple_object[i] new [ -dbn dbn ] -object_id object_id  \
    [ -object_type object_type ] -folder_id folder_id  -name name  \
    -description description  -creation_date creation_date  \
    -creation_user creation_user  -creation_ip creation_ip  \
    -context_id context_id  [ -childof childof ]

Automatically generated method

Switches:
-dbn
(optional)
-object_id
(required)
-object_type
(defaults to "fs_simple_object") (optional)
-folder_id
(required)
-name
(required)
-description
(required)
-creation_date
(required)
-creation_user
(required)
-creation_ip
(required)
-context_id
(required)
-childof
(optional)

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

Testcases:
No testcase defined.

xo::db::sql::fs_url proc copy (public)

 xo::db::sql::fs_url[i] copy [ -dbn dbn ] [ -url_id url_id ]

Automatically generated method

Switches:
-dbn
(optional)
-url_id
(defaults to "target_object_id") (optional)

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

Testcases:
No testcase defined.

xo::db::sql::fs_url proc delete (public)

 xo::db::sql::fs_url[i] delete [ -dbn dbn ] -url_id url_id 

Automatically generated method

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

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

Testcases:
No testcase defined.

xo::db::sql::fs_url proc new (public)

 xo::db::sql::fs_url[i] new [ -dbn dbn ] -url_id url_id  \
    [ -object_type object_type ] -url url  -folder_id folder_id  \
    -name name  -description description  \
    -creation_date creation_date  -creation_user creation_user  \
    -creation_ip creation_ip  -context_id context_id  \
    [ -childof childof ]

Automatically generated method

Switches:
-dbn
(optional)
-url_id
(required)
-object_type
(defaults to "fs_url") (optional)
-url
(required)
-folder_id
(required)
-name
(required)
-description
(required)
-creation_date
(required)
-creation_user
(required)
-creation_ip
(required)
-context_id
(required)
-childof
(optional)

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

Testcases:
No testcase defined.

xo::db::sql::image proc delete (public)

 xo::db::sql::image[i] delete [ -dbn dbn ] -v_item_id v_item_id 

Automatically generated method

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

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

Testcases:
No testcase defined.

xo::db::sql::image proc new (public)

 xo::db::sql::image[i] new [ -dbn dbn ] -name name  \
    [ -parent_id parent_id ] [ -item_id item_id ] \
    [ -revision_id revision_id ] [ -mime_type mime_type ] \
    [ -creation_user creation_user ] [ -creation_ip creation_ip ] \
    [ -relation_tag relation_tag ] [ -title title ] \
    [ -description description ] [ -is_live is_live ] \
    [ -publish_date publish_date ] -path path  -file_size file_size  \
    -height height  -width width  [ -package_id package_id ] \
    [ -childof childof ]

Automatically generated method

Switches:
-dbn
(optional)
-name
(required)
-parent_id
(optional)
-item_id
(optional)
-revision_id
(optional)
-mime_type
(defaults to "jpeg") (optional)
-creation_user
(optional)
-creation_ip
(optional)
-relation_tag
(optional)
-title
(optional)
-description
(optional)
-is_live
(defaults to "f") (optional)
-publish_date
(defaults to "now()") (optional)
-path
(required)
-file_size
(required)
-height
(required)
-width
(required)
-package_id
(optional)
-childof
(optional)

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

Testcases:
No testcase defined.

xo::db::sql::image proc new_revision (public)

 xo::db::sql::image[i] new_revision [ -dbn dbn ] -item_id item_id  \
    -revision_id revision_id  -title title  -description description  \
    -publish_date publish_date  -mime_type mime_type  \
    -nls_language nls_language  -creation_user creation_user  \
    -creation_ip creation_ip  -height height  -width width  \
    -package_id package_id 

Automatically generated method

Switches:
-dbn
(optional)
-item_id
(required)
-revision_id
(required)
-title
(required)
-description
(required)
-publish_date
(required)
-mime_type
(required)
-nls_language
(required)
-creation_user
(required)
-creation_ip
(required)
-height
(required)
-width
(required)
-package_id
(required)

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

Testcases:
No testcase defined.

xo::db::sql::journal_entry proc delete (public)

 xo::db::sql::journal_entry[i] delete [ -dbn dbn ] -journal_id journal_id 

Automatically generated method

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

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

Testcases:
No testcase defined.

xo::db::sql::journal_entry proc delete_for_object (public)

 xo::db::sql::journal_entry[i] delete_for_object [ -dbn dbn ] \
    -object_id object_id 

Automatically generated method

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

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

Testcases:
No testcase defined.

xo::db::sql::journal_entry proc new (public)

 xo::db::sql::journal_entry[i] new [ -dbn dbn ] [ -journal_id journal_id ] \
    -object_id object_id  -action action  \
    [ -action_pretty action_pretty ] [ -creation_date creation_date ] \
    [ -creation_user creation_user ] [ -creation_ip creation_ip ] \
    [ -msg msg ] [ -childof childof ]

Automatically generated method

Switches:
-dbn
(optional)
-journal_id
(optional)
-object_id
(required)
-action
(required)
-action_pretty
(optional)
-creation_date
(defaults to "now()") (optional)
-creation_user
(optional)
-creation_ip
(optional)
-msg
(optional)
-childof
(optional)

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

Testcases:
No testcase defined.

xo::db::sql::membership_rel proc approve (public)

 xo::db::sql::membership_rel[i] approve [ -dbn dbn ] -rel_id rel_id 

Automatically generated method

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

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

Testcases:
No testcase defined.

xo::db::sql::membership_rel proc ban (public)

 xo::db::sql::membership_rel[i] ban [ -dbn dbn ] -rel_id rel_id 

Automatically generated method

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

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

Testcases:
No testcase defined.

xo::db::sql::membership_rel proc check_index (public)

 xo::db::sql::membership_rel[i] check_index [ -dbn dbn ] \
    -group_id group_id  -member_id member_id  \
    -container_id container_id 

Automatically generated method

Switches:
-dbn
(optional)
-group_id
(required)
-member_id
(required)
-container_id
(required)

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

Testcases:
No testcase defined.

xo::db::sql::membership_rel proc check_representation (public)

 xo::db::sql::membership_rel[i] check_representation [ -dbn dbn ] \
    -rel_id rel_id 

Automatically generated method

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

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

Testcases:
No testcase defined.

xo::db::sql::membership_rel proc delete (public)

 xo::db::sql::membership_rel[i] delete [ -dbn dbn ] -rel_id rel_id 

Automatically generated method

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

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

Testcases:
No testcase defined.

xo::db::sql::membership_rel proc deleted (public)

 xo::db::sql::membership_rel[i] deleted [ -dbn dbn ] -rel_id rel_id 

Automatically generated method

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

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

Testcases:
No testcase defined.

xo::db::sql::membership_rel proc expire (public)

 xo::db::sql::membership_rel[i] expire [ -dbn dbn ] -rel_id rel_id 

Automatically generated method

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

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

Testcases:
No testcase defined.

xo::db::sql::membership_rel proc merge (public)

 xo::db::sql::membership_rel[i] merge [ -dbn dbn ] -rel_id rel_id 

Automatically generated method

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

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

Testcases:
No testcase defined.

xo::db::sql::membership_rel proc new (public)

 xo::db::sql::membership_rel[i] new [ -dbn dbn ] [ -rel_id rel_id ] \
    [ -rel_type rel_type ] -object_id_one object_id_one  \
    -object_id_two object_id_two  [ -member_state member_state ] \
    [ -creation_user creation_user ] [ -creation_ip creation_ip ] \
    [ -childof childof ]

Automatically generated method

Switches:
-dbn
(optional)
-rel_id
(optional)
-rel_type
(defaults to "membership_rel") (optional)
-object_id_one
(required)
-object_id_two
(required)
-member_state
(defaults to "approved") (optional)
-creation_user
(optional)
-creation_ip
(optional)
-childof
(optional)

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

Testcases:
No testcase defined.

xo::db::sql::membership_rel proc reject (public)

 xo::db::sql::membership_rel[i] reject [ -dbn dbn ] -rel_id rel_id 

Automatically generated method

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

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

Testcases:
No testcase defined.

xo::db::sql::membership_rel proc unapprove (public)

 xo::db::sql::membership_rel[i] unapprove [ -dbn dbn ] -rel_id rel_id 

Automatically generated method

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

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

Testcases:
No testcase defined.

xo::db::sql::news proc archive (public)

 xo::db::sql::news[i] archive [ -dbn dbn ] -item_id item_id  \
    [ -archive_date archive_date ]

Automatically generated method

Switches:
-dbn
(optional)
-item_id
(required)
-archive_date
(defaults to "current_timestamp") (optional)

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

Testcases:
No testcase defined.

xo::db::sql::news proc clone (public)

 xo::db::sql::news[i] clone [ -dbn dbn ] -old_package_id old_package_id  \
    -new_package_id new_package_id 

Automatically generated method

Switches:
-dbn
(optional)
-old_package_id
(required)
-new_package_id
(required)

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

Testcases:
No testcase defined.

xo::db::sql::news proc delete (public)

 xo::db::sql::news[i] delete [ -dbn dbn ] -item_id item_id 

Automatically generated method

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

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

Testcases:
No testcase defined.

xo::db::sql::news proc make_permanent (public)

 xo::db::sql::news[i] make_permanent [ -dbn dbn ] -item_id item_id 

Automatically generated method

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

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

Testcases:
No testcase defined.

xo::db::sql::news proc name (public)

 xo::db::sql::news[i] name [ -dbn dbn ] -news_id news_id 

Automatically generated method

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

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

Testcases:
No testcase defined.

xo::db::sql::news proc new (public)

 xo::db::sql::news[i] new [ -dbn dbn ] [ -item_id item_id ] \
    [ -locale locale ] [ -publish_date publish_date ] [ -text text ] \
    [ -nls_language nls_language ] [ -title title ] \
    [ -mime_type mime_type ] [ -package_id package_id ] \
    [ -archive_date archive_date ] [ -approval_user approval_user ] \
    [ -approval_date approval_date ] [ -approval_ip approval_ip ] \
    [ -relation_tag relation_tag ] [ -creation_ip creation_ip ] \
    [ -creation_user creation_user ] [ -is_live_p is_live_p ] \
    -lead lead  [ -childof childof ]

Automatically generated method

Switches:
-dbn
(optional)
-item_id
(optional)
-locale
(optional)
-publish_date
(optional)
-text
(optional)
-nls_language
(optional)
-title
(optional)
-mime_type
(defaults to "text/plain") (optional)
-package_id
(optional)
-archive_date
(optional)
-approval_user
(optional)
-approval_date
(optional)
-approval_ip
(optional)
-relation_tag
(optional)
-creation_ip
(optional)
-creation_user
(optional)
-is_live_p
(defaults to "f") (optional)
-lead
(required)
-childof
(optional)

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

Testcases:
No testcase defined.

xo::db::sql::news proc revision_delete (public)

 xo::db::sql::news[i] revision_delete [ -dbn dbn ] \
    -revision_id revision_id 

Automatically generated method

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

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

Testcases:
No testcase defined.

xo::db::sql::news proc revision_new (public)

 xo::db::sql::news[i] revision_new [ -dbn dbn ] -item_id item_id  \
    [ -publish_date publish_date ] [ -text text ] -title title  \
    -description description  [ -mime_type mime_type ] \
    [ -package_id package_id ] [ -archive_date archive_date ] \
    [ -approval_user approval_user ] [ -approval_date approval_date ] \
    [ -approval_ip approval_ip ] [ -creation_date creation_date ] \
    [ -creation_ip creation_ip ] [ -creation_user creation_user ] \
    [ -make_active_revision_p make_active_revision_p ] -lead lead 

Automatically generated method

Switches:
-dbn
(optional)
-item_id
(required)
-publish_date
(optional)
-text
(optional)
-title
(required)
-description
(required)
-mime_type
(defaults to "text/plain") (optional)
-package_id
(optional)
-archive_date
(optional)
-approval_user
(optional)
-approval_date
(optional)
-approval_ip
(optional)
-creation_date
(defaults to "current_timestamp") (optional)
-creation_ip
(optional)
-creation_user
(optional)
-make_active_revision_p
(defaults to "f") (optional)
-lead
(required)

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

Testcases:
No testcase defined.

xo::db::sql::news proc revision_set_active (public)

 xo::db::sql::news[i] revision_set_active [ -dbn dbn ] \
    -revision_id revision_id 

Automatically generated method

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

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

Testcases:
No testcase defined.

xo::db::sql::news proc set_approve (public)

 xo::db::sql::news[i] set_approve [ -dbn dbn ] -revision_id revision_id  \
    [ -approve_p approve_p ] [ -publish_date publish_date ] \
    [ -archive_date archive_date ] [ -approval_user approval_user ] \
    [ -approval_date approval_date ] [ -approval_ip approval_ip ] \
    [ -live_revision_p live_revision_p ]

Automatically generated method

Switches:
-dbn
(optional)
-revision_id
(required)
-approve_p
(defaults to "t") (optional)
-publish_date
(optional)
-archive_date
(optional)
-approval_user
(optional)
-approval_date
(defaults to "current_timestamp") (optional)
-approval_ip
(optional)
-live_revision_p
(defaults to "t") (optional)

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

Testcases:
No testcase defined.

xo::db::sql::news proc status (public)

 xo::db::sql::news[i] status [ -dbn dbn ] -publish_date publish_date  \
    -archive_date archive_date 

Automatically generated method

Switches:
-dbn
(optional)
-publish_date
(required)
-archive_date
(required)

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

Testcases:
No testcase defined.

xo::db::sql::notification proc delete (public)

 xo::db::sql::notification[i] delete [ -dbn dbn ] \
    -notification_id notification_id 

Automatically generated method

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

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

Testcases:
No testcase defined.

xo::db::sql::notification proc new (public)

 xo::db::sql::notification[i] new [ -dbn dbn ] \
    -notification_id notification_id  -type_id type_id  \
    -object_id object_id  -notif_date notif_date  \
    -response_id response_id  -notif_user notif_user  \
    -notif_subject notif_subject  -notif_text notif_text  \
    -notif_html notif_html  -file_ids file_ids  \
    -creation_date creation_date  -creation_user creation_user  \
    -creation_ip creation_ip  -context_id context_id  \
    [ -childof childof ]

Automatically generated method

Switches:
-dbn
(optional)
-notification_id
(required)
-type_id
(required)
-object_id
(required)
-notif_date
(required)
-response_id
(required)
-notif_user
(required)
-notif_subject
(required)
-notif_text
(required)
-notif_html
(required)
-file_ids
(required)
-creation_date
(required)
-creation_user
(required)
-creation_ip
(required)
-context_id
(required)
-childof
(optional)

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

Testcases:
No testcase defined.

xo::db::sql::notification_delivery_method proc delete (public)

 xo::db::sql::notification_delivery_method[i] delete [ -dbn dbn ] \
    -delivery_method_id delivery_method_id 

Automatically generated method

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

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

Testcases:
No testcase defined.

xo::db::sql::notification_delivery_method proc new (public)

 xo::db::sql::notification_delivery_method[i] new [ -dbn dbn ] \
    -delivery_method_id delivery_method_id  -sc_impl_id sc_impl_id  \
    -short_name short_name  -pretty_name pretty_name  \
    -creation_date creation_date  -creation_user creation_user  \
    -creation_ip creation_ip  -context_id context_id  \
    [ -childof childof ]

Automatically generated method

Switches:
-dbn
(optional)
-delivery_method_id
(required)
-sc_impl_id
(required)
-short_name
(required)
-pretty_name
(required)
-creation_date
(required)
-creation_user
(required)
-creation_ip
(required)
-context_id
(required)
-childof
(optional)

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

Testcases:
No testcase defined.

xo::db::sql::notification_interval proc delete (public)

 xo::db::sql::notification_interval[i] delete [ -dbn dbn ] \
    -interval_id interval_id 

Automatically generated method

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

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

Testcases:
No testcase defined.

xo::db::sql::notification_interval proc new (public)

 xo::db::sql::notification_interval[i] new [ -dbn dbn ] \
    -interval_id interval_id  -name name  -n_seconds n_seconds  \
    -creation_date creation_date  -creation_user creation_user  \
    -creation_ip creation_ip  -context_id context_id  \
    [ -childof childof ]

Automatically generated method

Switches:
-dbn
(optional)
-interval_id
(required)
-name
(required)
-n_seconds
(required)
-creation_date
(required)
-creation_user
(required)
-creation_ip
(required)
-context_id
(required)
-childof
(optional)

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

Testcases:
No testcase defined.

xo::db::sql::notification_reply proc delete (public)

 xo::db::sql::notification_reply[i] delete [ -dbn dbn ] \
    -reply_id reply_id 

Automatically generated method

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

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

Testcases:
No testcase defined.

xo::db::sql::notification_reply proc new (public)

 xo::db::sql::notification_reply[i] new [ -dbn dbn ] -reply_id reply_id  \
    -object_id object_id  -type_id type_id  -from_user from_user  \
    -subject subject  -content content  -reply_date reply_date  \
    -creation_date creation_date  -creation_user creation_user  \
    -creation_ip creation_ip  -context_id context_id  \
    [ -childof childof ]

Automatically generated method

Switches:
-dbn
(optional)
-reply_id
(required)
-object_id
(required)
-type_id
(required)
-from_user
(required)
-subject
(required)
-content
(required)
-reply_date
(required)
-creation_date
(required)
-creation_user
(required)
-creation_ip
(required)
-context_id
(required)
-childof
(optional)

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

Testcases:
No testcase defined.

xo::db::sql::notification_request proc delete (public)

 xo::db::sql::notification_request[i] delete [ -dbn dbn ] \
    -request_id request_id 

Automatically generated method

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

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

Testcases:
No testcase defined.

xo::db::sql::notification_request proc delete_all (public)

 xo::db::sql::notification_request[i] delete_all [ -dbn dbn ] \
    -object_id object_id 

Automatically generated method

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

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

Testcases:
No testcase defined.

xo::db::sql::notification_request proc delete_all_for_user (public)

 xo::db::sql::notification_request[i] delete_all_for_user [ -dbn dbn ] \
    -user_id user_id 

Automatically generated method

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

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

Testcases:
No testcase defined.

xo::db::sql::notification_request proc new (public)

 xo::db::sql::notification_request[i] new [ -dbn dbn ] \
    -request_id request_id  [ -object_type object_type ] \
    -type_id type_id  -user_id user_id  -object_id object_id  \
    -interval_id interval_id  -delivery_method_id delivery_method_id  \
    -format format  [ -dynamic_p dynamic_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)
-request_id
(required)
-object_type
(defaults to "notification_request") (optional)
-type_id
(required)
-user_id
(required)
-object_id
(required)
-interval_id
(required)
-delivery_method_id
(required)
-format
(required)
-dynamic_p
(defaults to "f") (optional)
-creation_date
(required)
-creation_user
(required)
-creation_ip
(required)
-context_id
(required)
-childof
(optional)

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

Testcases:
No testcase defined.

xo::db::sql::notification_type proc delete (public)

 xo::db::sql::notification_type[i] delete [ -dbn dbn ] -type_id type_id 

Automatically generated method

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

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

Testcases:
No testcase defined.

xo::db::sql::notification_type proc new (public)

 xo::db::sql::notification_type[i] new [ -dbn dbn ] -type_id type_id  \
    -sc_impl_id sc_impl_id  -short_name short_name  \
    -pretty_name pretty_name  -description description  \
    -creation_date creation_date  -creation_user creation_user  \
    -creation_ip creation_ip  -context_id context_id  \
    [ -childof childof ]

Automatically generated method

Switches:
-dbn
(optional)
-type_id
(required)
-sc_impl_id
(required)
-short_name
(required)
-pretty_name
(required)
-description
(required)
-creation_date
(required)
-creation_user
(required)
-creation_ip
(required)
-context_id
(required)
-childof
(optional)

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

Testcases:
No testcase defined.

xo::db::sql::pa_album proc delete (public)

 xo::db::sql::pa_album[i] delete [ -dbn dbn ] -album_id album_id 

Automatically generated method

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

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

Testcases:
No testcase defined.

xo::db::sql::pa_album proc delete_revision (public)

 xo::db::sql::pa_album[i] delete_revision [ -dbn dbn ] \
    -revision_id revision_id 

Automatically generated method

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

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

Testcases:
No testcase defined.

xo::db::sql::pa_album proc new (public)

 xo::db::sql::pa_album[i] new [ -dbn dbn ] -name name  -album_id album_id  \
    [ -parent_id parent_id ] [ -is_live is_live ] \
    [ -creation_user creation_user ] [ -creation_ip creation_ip ] \
    [ -title title ] [ -description description ] [ -story story ] \
    [ -photographer photographer ] [ -revision_id revision_id ] \
    [ -creation_date creation_date ] [ -locale locale ] \
    [ -context_id context_id ] [ -publish_date publish_date ] \
    [ -nls_language nls_language ] [ -childof childof ]

Automatically generated method

Switches:
-dbn
(optional)
-name
(required)
-album_id
(required)
-parent_id
(optional)
-is_live
(defaults to "f") (optional)
-creation_user
(optional)
-creation_ip
(optional)
-title
(optional)
-description
(optional)
-story
(defaults to "null ") (optional)
-photographer
(defaults to "null ") (optional)
-revision_id
(optional)
-creation_date
(defaults to "now()") (optional)
-locale
(optional)
-context_id
(optional)
-publish_date
(defaults to "now()") (optional)
-nls_language
(optional)
-childof
(optional)

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

Testcases:
No testcase defined.

xo::db::sql::pa_collection proc delete (public)

 xo::db::sql::pa_collection[i] delete [ -dbn dbn ] \
    -collection_id collection_id 

Automatically generated method

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

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

Testcases:
No testcase defined.

xo::db::sql::pa_collection proc new (public)

 xo::db::sql::pa_collection[i] new [ -dbn dbn ] \
    [ -collection_id collection_id ] [ -owner_id owner_id ] \
    -title title  [ -creation_date creation_date ] \
    [ -creation_user creation_user ] [ -creation_ip creation_ip ] \
    [ -context_id context_id ] [ -childof childof ]

Automatically generated method

Switches:
-dbn
(optional)
-collection_id
(optional)
-owner_id
(optional)
-title
(required)
-creation_date
(defaults to "now()") (optional)
-creation_user
(optional)
-creation_ip
(optional)
-context_id
(optional)
-childof
(optional)

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

Testcases:
No testcase defined.

xo::db::sql::pa_collection proc title (public)

 xo::db::sql::pa_collection[i] title [ -dbn dbn ] \
    -collection_id collection_id 

Automatically generated method

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

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

Testcases:
No testcase defined.

xo::db::sql::pa_photo proc delete (public)

 xo::db::sql::pa_photo[i] delete [ -dbn dbn ] -item_id item_id 

Automatically generated method

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

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

Testcases:
No testcase defined.

xo::db::sql::pa_photo proc delete_revision (public)

 xo::db::sql::pa_photo[i] delete_revision [ -dbn dbn ] \
    -revision_id revision_id 

Automatically generated method

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

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

Testcases:
No testcase defined.

xo::db::sql::pa_photo proc new (public)

 xo::db::sql::pa_photo[i] new [ -dbn dbn ] -name name  \
    [ -parent_id parent_id ] [ -item_id item_id ] \
    [ -revision_id revision_id ] [ -creation_date creation_date ] \
    [ -creation_user creation_user ] [ -creation_ip creation_ip ] \
    [ -locale locale ] [ -context_id context_id ] [ -title title ] \
    [ -description description ] [ -is_live is_live ] \
    [ -publish_date publish_date ] [ -nls_language nls_language ] \
    [ -caption caption ] [ -story story ] [ -childof childof ]

Automatically generated method

Switches:
-dbn
(optional)
-name
(required)
-parent_id
(optional)
-item_id
(optional)
-revision_id
(optional)
-creation_date
(defaults to "now()") (optional)
-creation_user
(optional)
-creation_ip
(optional)
-locale
(optional)
-context_id
(optional)
-title
(optional)
-description
(optional)
-is_live
(defaults to "f") (optional)
-publish_date
(defaults to "now()") (optional)
-nls_language
(optional)
-caption
(optional)
-story
(optional)
-childof
(optional)

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

Testcases:
No testcase defined.

xo::db::sql::party proc delete (public)

 xo::db::sql::party[i] delete [ -dbn dbn ] -party_id party_id 

Automatically generated method

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

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

Testcases:
No testcase defined.

xo::db::sql::party proc email (public)

 xo::db::sql::party[i] email [ -dbn dbn ] -party_id party_id 

Automatically generated method

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

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

Testcases:
No testcase defined.

xo::db::sql::party proc name (public)

 xo::db::sql::party[i] name [ -dbn dbn ] -party_id party_id 

Automatically generated method

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

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

Testcases:
No testcase defined.

xo::db::sql::party proc new (public)

 xo::db::sql::party[i] new [ -dbn dbn ] [ -party_id party_id ] \
    [ -object_type object_type ] [ -creation_date creation_date ] \
    [ -creation_user creation_user ] [ -creation_ip creation_ip ] \
    -email email  [ -url url ] [ -context_id context_id ] \
    [ -childof childof ]

Automatically generated method

Switches:
-dbn
(optional)
-party_id
(optional)
-object_type
(defaults to "party") (optional)
-creation_date
(defaults to "now()") (optional)
-creation_user
(optional)
-creation_ip
(optional)
-email
(required)
-url
(optional)
-context_id
(optional)
-childof
(optional)

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

Testcases:
No testcase defined.

xo::db::sql::party_approved_member proc add (public)

 xo::db::sql::party_approved_member[i] add [ -dbn dbn ] \
    -party_id party_id  -member_id member_id  -rel_id rel_id  \
    -rel_type rel_type 

Automatically generated method

Switches:
-dbn
(optional)
-party_id
(required)
-member_id
(required)
-rel_id
(required)
-rel_type
(required)

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

Testcases:
No testcase defined.

xo::db::sql::party_approved_member proc add_one (public)

 xo::db::sql::party_approved_member[i] add_one [ -dbn dbn ] \
    -party_id party_id  -member_id member_id  -rel_id rel_id 

Automatically generated method

Switches:
-dbn
(optional)
-party_id
(required)
-member_id
(required)
-rel_id
(required)

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

Testcases:
No testcase defined.

xo::db::sql::party_approved_member proc remove (public)

 xo::db::sql::party_approved_member[i] remove [ -dbn dbn ] \
    -party_id party_id  -member_id member_id  -rel_id rel_id  \
    -rel_type rel_type 

Automatically generated method

Switches:
-dbn
(optional)
-party_id
(required)
-member_id
(required)
-rel_id
(required)
-rel_type
(required)

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

Testcases:
No testcase defined.

xo::db::sql::party_approved_member proc remove_one (public)

 xo::db::sql::party_approved_member[i] remove_one [ -dbn dbn ] \
    -party_id party_id  -member_id member_id  -rel_id rel_id 

Automatically generated method

Switches:
-dbn
(optional)
-party_id
(required)
-member_id
(required)
-rel_id
(required)

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

Testcases:
No testcase defined.

xo::db::sql::person proc delete (public)

 xo::db::sql::person[i] delete [ -dbn dbn ] -person_id person_id 

Automatically generated method

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

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

Testcases:
No testcase defined.

xo::db::sql::person proc first_names (public)

 xo::db::sql::person[i] first_names [ -dbn dbn ] -person_id person_id 

Automatically generated method

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

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

Testcases:
No testcase defined.

xo::db::sql::person proc last_name (public)

 xo::db::sql::person[i] last_name [ -dbn dbn ] -person_id person_id 

Automatically generated method

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

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

Testcases:
No testcase defined.

xo::db::sql::person proc name (public)

 xo::db::sql::person[i] name [ -dbn dbn ] -person_id person_id 

Automatically generated method

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

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

Testcases:
No testcase defined.

xo::db::sql::person proc new (public)

 xo::db::sql::person[i] new [ -dbn dbn ] [ -person_id person_id ] \
    [ -object_type object_type ] [ -creation_date creation_date ] \
    [ -creation_user creation_user ] [ -creation_ip creation_ip ] \
    -email email  [ -url url ] -first_names first_names  \
    -last_name last_name  [ -context_id context_id ] \
    [ -childof childof ]

Automatically generated method

Switches:
-dbn
(optional)
-person_id
(optional)
-object_type
(defaults to "person") (optional)
-creation_date
(defaults to "now()") (optional)
-creation_user
(optional)
-creation_ip
(optional)
-email
(required)
-url
(optional)
-first_names
(required)
-last_name
(required)
-context_id
(optional)
-childof
(optional)

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

Testcases:
No testcase defined.

xo::db::sql::photo_album proc get_root_folder (public)

 xo::db::sql::photo_album[i] get_root_folder [ -dbn dbn ] \
    -package_id package_id 

Automatically generated method

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

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

Testcases:
No testcase defined.

xo::db::sql::photo_album proc new_root_folder (public)

 xo::db::sql::photo_album[i] new_root_folder [ -dbn dbn ] \
    -package_id package_id 

Automatically generated method

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

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

Testcases:
No testcase defined.

xo::db::sql::pinds_blog_category proc delete (public)

 xo::db::sql::pinds_blog_category[i] delete [ -dbn dbn ] \
    -category_id category_id 

Automatically generated method

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

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

Testcases:
No testcase defined.

xo::db::sql::pinds_blog_category proc name (public)

 xo::db::sql::pinds_blog_category[i] name [ -dbn dbn ] \
    -category_id category_id 

Automatically generated method

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

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

Testcases:
No testcase defined.

xo::db::sql::pinds_blog_category proc new (public)

 xo::db::sql::pinds_blog_category[i] new [ -dbn dbn ] \
    -category_id category_id  -package_id package_id  -name name  \
    -short_name short_name  -creation_user creation_user  \
    -creation_ip creation_ip  [ -childof childof ]

Automatically generated method

Switches:
-dbn
(optional)
-category_id
(required)
-package_id
(required)
-name
(required)
-short_name
(required)
-creation_user
(required)
-creation_ip
(required)
-childof
(optional)

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

Testcases:
No testcase defined.

xo::db::sql::pinds_blog_entry proc delete (public)

 xo::db::sql::pinds_blog_entry[i] delete [ -dbn dbn ] -entry_id entry_id 

Automatically generated method

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

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

Testcases:
No testcase defined.

xo::db::sql::pinds_blog_entry proc new (public)

 xo::db::sql::pinds_blog_entry[i] new [ -dbn dbn ] -entry_id entry_id  \
    -package_id package_id  -title title  -title_url title_url  \
    -category_id category_id  -content content  \
    -content_format content_format  -entry_date entry_date  \
    -draft_p draft_p  -creation_user creation_user  \
    -creation_ip creation_ip  [ -childof childof ]

Automatically generated method

Switches:
-dbn
(optional)
-entry_id
(required)
-package_id
(required)
-title
(required)
-title_url
(required)
-category_id
(required)
-content
(required)
-content_format
(required)
-entry_date
(required)
-draft_p
(required)
-creation_user
(required)
-creation_ip
(required)
-childof
(optional)

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

Testcases:
No testcase defined.

xo::db::sql::pinds_blog_entry proc title (public)

 xo::db::sql::pinds_blog_entry[i] title [ -dbn dbn ] -entry_id entry_id 

Automatically generated method

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

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

Testcases:
No testcase defined.

xo::db::sql::recurrence proc delete (public)

 xo::db::sql::recurrence[i] delete [ -dbn dbn ] \
    -recurrence_id recurrence_id 

Automatically generated method

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

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

Testcases:
No testcase defined.

xo::db::sql::recurrence proc new (public)

 xo::db::sql::recurrence[i] new [ -dbn dbn ] -interval_name interval_name  \
    -every_nth_interval every_nth_interval  \
    [ -days_of_week days_of_week ] [ -recur_until recur_until ] \
    [ -custom_func custom_func ] [ -childof childof ]

Automatically generated method

Switches:
-dbn
(optional)
-interval_name
(required)
-every_nth_interval
(required)
-days_of_week
(optional)
-recur_until
(optional)
-custom_func
(optional)
-childof
(optional)

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

Testcases:
No testcase defined.

xo::db::sql::rel_constraint proc delete (public)

 xo::db::sql::rel_constraint[i] delete [ -dbn dbn ] \
    -constraint_id constraint_id 

Automatically generated method

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

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

Testcases:
No testcase defined.

xo::db::sql::rel_constraint proc get_constraint_id (public)

 xo::db::sql::rel_constraint[i] get_constraint_id [ -dbn dbn ] \
    -rel_segment rel_segment  -rel_side rel_side  \
    -required_rel_segment required_rel_segment 

Automatically generated method

Switches:
-dbn
(optional)
-rel_segment
(required)
-rel_side
(required)
-required_rel_segment
(required)

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

Testcases:
No testcase defined.

xo::db::sql::rel_constraint proc new (public)

 xo::db::sql::rel_constraint[i] new [ -dbn dbn ] \
    [ -constraint_id constraint_id ] \
    [ -constraint_type constraint_type ] \
    -constraint_name constraint_name  -rel_segment rel_segment  \
    [ -rel_side rel_side ] -required_rel_segment required_rel_segment  \
    [ -context_id context_id ] [ -creation_user creation_user ] \
    [ -creation_ip creation_ip ] [ -childof childof ]

Automatically generated method

Switches:
-dbn
(optional)
-constraint_id
(optional)
-constraint_type
(defaults to "rel_constraint") (optional)
-constraint_name
(required)
-rel_segment
(required)
-rel_side
(defaults to "two") (optional)
-required_rel_segment
(required)
-context_id
(optional)
-creation_user
(optional)
-creation_ip
(optional)
-childof
(optional)

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

Testcases:
No testcase defined.

xo::db::sql::rel_constraint proc violation (public)

 xo::db::sql::rel_constraint[i] violation [ -dbn dbn ] -rel_id rel_id 

Automatically generated method

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

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

Testcases:
No testcase defined.

xo::db::sql::rel_constraint proc violation_if_re (public)

 xo::db::sql::rel_constraint[i] violation_if_re [ -dbn dbn ] \
    -rel_id rel_id 

Automatically generated method

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

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

Testcases:
No testcase defined.

xo::db::sql::rel_constraint proc violation_if_removed (public)

 xo::db::sql::rel_constraint[i] violation_if_removed [ -dbn dbn ] \
    -rel_id rel_id 

Automatically generated method

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

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

Testcases:
No testcase defined.

xo::db::sql::rel_segment proc delete (public)

 xo::db::sql::rel_segment[i] delete [ -dbn dbn ] -segment_id segment_id 

Automatically generated method

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

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

Testcases:
No testcase defined.

xo::db::sql::rel_segment proc get (public)

 xo::db::sql::rel_segment[i] get [ -dbn dbn ] -group_id group_id  \
    -rel_type rel_type 

Automatically generated method

Switches:
-dbn
(optional)
-group_id
(required)
-rel_type
(required)

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

Testcases:
No testcase defined.

xo::db::sql::rel_segment proc get_or_new (public)

 xo::db::sql::rel_segment[i] get_or_new [ -dbn dbn ] -group_id group_id  \
    -rel_type rel_type  [ -segment_name segment_name ]

Automatically generated method

Switches:
-dbn
(optional)
-group_id
(required)
-rel_type
(required)
-segment_name
(optional)

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

Testcases:
No testcase defined.

xo::db::sql::rel_segment proc name (public)

 xo::db::sql::rel_segment[i] name [ -dbn dbn ] -segment_id segment_id 

Automatically generated method

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

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

Testcases:
No testcase defined.

xo::db::sql::rel_segment proc new (public)

 xo::db::sql::rel_segment[i] new [ -dbn dbn ] [ -segment_id segment_id ] \
    [ -object_type object_type ] [ -creation_date creation_date ] \
    [ -creation_user creation_user ] [ -creation_ip creation_ip ] \
    [ -email email ] [ -url url ] -segment_name segment_name  \
    -group_id group_id  -rel_type rel_type  [ -context_id context_id ] \
    [ -childof childof ]

Automatically generated method

Switches:
-dbn
(optional)
-segment_id
(optional)
-object_type
(defaults to "rel_segment") (optional)
-creation_date
(defaults to "now()") (optional)
-creation_user
(optional)
-creation_ip
(optional)
-email
(optional)
-url
(optional)
-segment_name
(required)
-group_id
(required)
-rel_type
(required)
-context_id
(optional)
-childof
(optional)

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

Testcases:
No testcase defined.

xo::db::sql::rss_gen_subscr proc del (public)

 xo::db::sql::rss_gen_subscr[i] del [ -dbn dbn ] -subscr_id subscr_id 

Automatically generated method

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

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

Testcases:
No testcase defined.

xo::db::sql::rss_gen_subscr proc delete (public)

 xo::db::sql::rss_gen_subscr[i] delete [ -dbn dbn ] -subscr_id subscr_id 

Automatically generated method

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

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

Testcases:
No testcase defined.

xo::db::sql::rss_gen_subscr proc name (public)

 xo::db::sql::rss_gen_subscr[i] name [ -dbn dbn ] -subscr_id subscr_id 

Automatically generated method

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

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

Testcases:
No testcase defined.

xo::db::sql::rss_gen_subscr proc new (public)

 xo::db::sql::rss_gen_subscr[i] new [ -dbn dbn ] -p_subscr_id p_subscr_id  \
    -p_impl_id p_impl_id  -p_summary_context_id p_summary_context_id  \
    -p_timeout p_timeout  [ -p_lastbuild p_lastbuild ] \
    -p_object_type p_object_type  [ -p_creation_date p_creation_date ] \
    -p_creation_user p_creation_user  -p_creation_ip p_creation_ip  \
    -p_context_id p_context_id  [ -childof childof ]

Automatically generated method

Switches:
-dbn
(optional)
-p_subscr_id
(required)
-p_impl_id
(required)
-p_summary_context_id
(required)
-p_timeout
(required)
-p_lastbuild
(defaults to "now") (optional)
-p_object_type
(required)
-p_creation_date
(defaults to "now") (optional)
-p_creation_user
(required)
-p_creation_ip
(required)
-p_context_id
(required)
-childof
(optional)

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

Testcases:
No testcase defined.

xo::db::sql::search proc deindex_all (public)

 xo::db::sql::search[i] deindex_all [ -dbn dbn ]

Automatically generated method

Switches:
-dbn
(optional)

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

Testcases:
No testcase defined.

xo::db::sql::search proc deindex_etp (public)

 xo::db::sql::search[i] deindex_etp [ -dbn dbn ]

Automatically generated method

Switches:
-dbn
(optional)

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

Testcases:
No testcase defined.

xo::db::sql::search_observer proc dequeue (public)

 xo::db::sql::search_observer[i] dequeue [ -dbn dbn ] \
    -object_id object_id  -event_date event_date  -event event 

Automatically generated method

Switches:
-dbn
(optional)
-object_id
(required)
-event_date
(required)
-event
(required)

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

Testcases:
No testcase defined.

xo::db::sql::search_observer proc enqueue (public)

 xo::db::sql::search_observer[i] enqueue [ -dbn dbn ] \
    -object_id object_id  -event event 

Automatically generated method

Switches:
-dbn
(optional)
-object_id
(required)
-event
(required)

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

Testcases:
No testcase defined.

xo::db::sql::sec_session_property proc upsert (public)

 xo::db::sql::sec_session_property[i] upsert [ -dbn dbn ] \
    -session_id session_id  -module module  -name name  -value value  \
    -secure_p secure_p  -last_hit last_hit 

Automatically generated method

Switches:
-dbn
(optional)
-session_id
(required)
-module
(required)
-name
(required)
-value
(required)
-secure_p
(required)
-last_hit
(required)

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

Testcases:
No testcase defined.

xo::db::sql::site_node proc delete (public)

 xo::db::sql::site_node[i] delete [ -dbn dbn ] -node_id node_id 

Automatically generated method

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

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

Testcases:
No testcase defined.

xo::db::sql::site_node proc find_pattern (public)

 xo::db::sql::site_node[i] find_pattern [ -dbn dbn ] -node_id node_id 

Automatically generated method

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

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

Testcases:
No testcase defined.

xo::db::sql::site_node proc new (public)

 xo::db::sql::site_node[i] new [ -dbn dbn ] [ -node_id node_id ] \
    [ -parent_id parent_id ] -name name  [ -object_id object_id ] \
    -directory_p directory_p  [ -pattern_p pattern_p ] \
    [ -creation_user creation_user ] [ -creation_ip creation_ip ] \
    [ -childof childof ]

Automatically generated method

Switches:
-dbn
(optional)
-node_id
(optional)
-parent_id
(optional)
-name
(required)
-object_id
(optional)
-directory_p
(required)
-pattern_p
(defaults to "f") (optional)
-creation_user
(optional)
-creation_ip
(optional)
-childof
(optional)

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

Testcases:
No testcase defined.

xo::db::sql::site_node proc node_id (public)

 xo::db::sql::site_node[i] node_id [ -dbn dbn ] -url url  \
    [ -parent_id parent_id ]

Automatically generated method

Switches:
-dbn
(optional)
-url
(required)
-parent_id
(optional)

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

Testcases:
No testcase defined.

xo::db::sql::site_node proc url (public)

 xo::db::sql::site_node[i] url [ -dbn dbn ] -node_id node_id 

Automatically generated method

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

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

Testcases:
No testcase defined.

xo::db::sql::site_node_object_map proc del (public)

 xo::db::sql::site_node_object_map[i] del [ -dbn dbn ] \
    -object_id object_id 

Automatically generated method

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

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

Testcases:
No testcase defined.

xo::db::sql::site_node_object_map proc new (public)

 xo::db::sql::site_node_object_map[i] new [ -dbn dbn ] \
    -object_id object_id  -node_id node_id  [ -childof childof ]

Automatically generated method

Switches:
-dbn
(optional)
-object_id
(required)
-node_id
(required)
-childof
(optional)

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

Testcases:
No testcase defined.

xo::db::sql::static_page proc delete (public)

 xo::db::sql::static_page[i] delete [ -dbn dbn ] \
    -static_page_id static_page_id 

Automatically generated method

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

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

Testcases:
No testcase defined.

xo::db::sql::static_page proc delete_folder (public)

 xo::db::sql::static_page[i] delete_folder [ -dbn dbn ] \
    -folder_id folder_id 

Automatically generated method

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

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

Testcases:
No testcase defined.

xo::db::sql::static_page proc delete_stale_items (public)

 xo::db::sql::static_page[i] delete_stale_items [ -dbn dbn ] \
    -session_id session_id  -package_id package_id 

Automatically generated method

Switches:
-dbn
(optional)
-session_id
(required)
-package_id
(required)

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

Testcases:
No testcase defined.

xo::db::sql::static_page proc five_n_spaces (public)

 xo::db::sql::static_page[i] five_n_spaces [ -dbn dbn ] -n n 

Automatically generated method

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

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

Testcases:
No testcase defined.

xo::db::sql::static_page proc get_root_folder (public)

 xo::db::sql::static_page[i] get_root_folder [ -dbn dbn ] \
    -package_id package_id 

Automatically generated method

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

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

Testcases:
No testcase defined.

xo::db::sql::static_page proc get_show_comments_p (public)

 xo::db::sql::static_page[i] get_show_comments_p [ -dbn dbn ] \
    -item_id item_id 

Automatically generated method

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

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

Testcases:
No testcase defined.

xo::db::sql::static_page proc grant_permission (public)

 xo::db::sql::static_page[i] grant_permission [ -dbn dbn ] \
    -item_id item_id  -grantee_id grantee_id  -privilege privilege  \
    -recursive_p recursive_p 

Automatically generated method

Switches:
-dbn
(optional)
-item_id
(required)
-grantee_id
(required)
-privilege
(required)
-recursive_p
(required)

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

Testcases:
No testcase defined.

xo::db::sql::static_page proc new (public)

 xo::db::sql::static_page[i] new [ -dbn dbn ] -folder_id folder_id  \
    -filename filename  -title title  -mtime mtime  \
    [ -childof childof ]

Automatically generated method

Switches:
-dbn
(optional)
-folder_id
(required)
-filename
(required)
-title
(required)
-mtime
(required)
-childof
(optional)

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

Testcases:
No testcase defined.

xo::db::sql::static_page proc new_folder (public)

 xo::db::sql::static_page[i] new_folder [ -dbn dbn ] -folder_id folder_id  \
    -name name  -label label  -description description  \
    -parent_id parent_id  -creation_date creation_date  \
    -creation_user creation_user  -creation_ip creation_ip  \
    -context_id context_id 

Automatically generated method

Switches:
-dbn
(optional)
-folder_id
(required)
-name
(required)
-label
(required)
-description
(required)
-parent_id
(required)
-creation_date
(required)
-creation_user
(required)
-creation_ip
(required)
-context_id
(required)

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

Testcases:
No testcase defined.

xo::db::sql::static_page proc revoke_permission (public)

 xo::db::sql::static_page[i] revoke_permission [ -dbn dbn ] \
    -item_id item_id  -grantee_id grantee_id  -privilege privilege  \
    -recursive_p recursive_p 

Automatically generated method

Switches:
-dbn
(optional)
-item_id
(required)
-grantee_id
(required)
-privilege
(required)
-recursive_p
(required)

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

Testcases:
No testcase defined.

xo::db::sql::static_page proc set_show_comments_p (public)

 xo::db::sql::static_page[i] set_show_comments_p [ -dbn dbn ] \
    -item_id item_id  -show_comments_p show_comments_p 

Automatically generated method

Switches:
-dbn
(optional)
-item_id
(required)
-show_comments_p
(required)

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

Testcases:
No testcase defined.

xo::db::sql::subsite_callback proc delete (public)

 xo::db::sql::subsite_callback[i] delete [ -dbn dbn ] \
    -callback_id callback_id 

Automatically generated method

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

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

Testcases:
No testcase defined.

xo::db::sql::subsite_callback proc new (public)

 xo::db::sql::subsite_callback[i] new [ -dbn dbn ] \
    [ -callback_id callback_id ] -event_type event_type  \
    -object_type object_type  -callback callback  \
    -callback_type callback_type  [ -sort_order sort_order ] \
    [ -childof childof ]

Automatically generated method

Switches:
-dbn
(optional)
-callback_id
(optional)
-event_type
(required)
-object_type
(required)
-callback
(required)
-callback_type
(required)
-sort_order
(optional)
-childof
(optional)

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

Testcases:
No testcase defined.

xo::db::sql::template_demo_note proc del (public)

 xo::db::sql::template_demo_note[i] del [ -dbn dbn ] \
    -template_demo_note_id template_demo_note_id 

Automatically generated method

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

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

Testcases:
No testcase defined.

xo::db::sql::template_demo_note proc name (public)

 xo::db::sql::template_demo_note[i] name [ -dbn dbn ] \
    -template_demo_note_id template_demo_note_id 

Automatically generated method

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

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

Testcases:
No testcase defined.

xo::db::sql::template_demo_note proc new (public)

 xo::db::sql::template_demo_note[i] new [ -dbn dbn ] \
    -template_demo_note_id template_demo_note_id  -title title  \
    -body body  -color color  [ -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)
-template_demo_note_id
(required)
-title
(required)
-body
(required)
-color
(required)
-object_type
(defaults to "template_demo_note") (optional)
-creation_date
(defaults to "now") (optional)
-creation_user
(required)
-creation_ip
(required)
-context_id
(required)
-childof
(optional)

Partial Call Graph (max 5 caller/called nodes):
%3 db_with_handle db_with_handle (public) xo::db::sql::template_demo_note proc new xo::db::sql::template_demo_note proc new xo::db::sql::template_demo_note proc new->db_with_handle

Testcases:
No testcase defined.

xo::db::sql::time_interval proc copy (public)

 xo::db::sql::time_interval[i] copy [ -dbn dbn ] -interval_id interval_id  \
    [ -offset offset ]

Automatically generated method

Switches:
-dbn
(optional)
-interval_id
(required)
-offset
(defaults to "0") (optional)

Partial Call Graph (max 5 caller/called nodes):
%3 db_with_handle db_with_handle (public) xo::db::sql::time_interval proc copy xo::db::sql::time_interval proc copy xo::db::sql::time_interval proc copy->db_with_handle

Testcases:
No testcase defined.

xo::db::sql::time_interval proc delete (public)

 xo::db::sql::time_interval[i] delete [ -dbn dbn ] \
    -interval_id interval_id 

Automatically generated method

Switches:
-dbn
(optional)
-interval_id
(required)

Partial Call Graph (max 5 caller/called nodes):
%3 db_with_handle db_with_handle (public) xo::db::sql::time_interval proc delete xo::db::sql::time_interval proc delete xo::db::sql::time_interval proc delete->db_with_handle

Testcases:
No testcase defined.

xo::db::sql::time_interval proc edit (public)

 xo::db::sql::time_interval[i] edit [ -dbn dbn ] -interval_id interval_id  \
    [ -start_date start_date ] [ -end_date end_date ]

Automatically generated method

Switches:
-dbn
(optional)
-interval_id
(required)
-start_date
(optional)
-end_date
(optional)

Partial Call Graph (max 5 caller/called nodes):
%3 db_with_handle db_with_handle (public) xo::db::sql::time_interval proc edit xo::db::sql::time_interval proc edit xo::db::sql::time_interval proc edit->db_with_handle

Testcases:
No testcase defined.

xo::db::sql::time_interval proc eq (public)

 xo::db::sql::time_interval[i] eq [ -dbn dbn ] \
    -interval_1_id interval_1_id  -interval_2_id interval_2_id 

Automatically generated method

Switches:
-dbn
(optional)
-interval_1_id
(required)
-interval_2_id
(required)

Partial Call Graph (max 5 caller/called nodes):
%3 db_with_handle db_with_handle (public) xo::db::sql::time_interval proc eq xo::db::sql::time_interval proc eq xo::db::sql::time_interval proc eq->db_with_handle

Testcases:
No testcase defined.

xo::db::sql::time_interval proc new (public)

 xo::db::sql::time_interval[i] new [ -dbn dbn ] [ -start_date start_date ] \
    [ -end_date end_date ] [ -childof childof ]

Automatically generated method

Switches:
-dbn
(optional)
-start_date
(optional)
-end_date
(optional)
-childof
(optional)

Partial Call Graph (max 5 caller/called nodes):
%3 db_with_handle db_with_handle (public) xo::db::sql::time_interval proc new xo::db::sql::time_interval proc new xo::db::sql::time_interval proc new->db_with_handle

Testcases:
No testcase defined.

xo::db::sql::time_interval proc overlaps_p (public)

 xo::db::sql::time_interval[i] overlaps_p [ -dbn dbn ] -start_1 start_1  \
    -end_1 end_1  -start_2 start_2  -end_2 end_2 

Automatically generated method

Switches:
-dbn
(optional)
-start_1
(required)
-end_1
(required)
-start_2
(required)
-end_2
(required)

Partial Call Graph (max 5 caller/called nodes):
%3 db_with_handle db_with_handle (public) xo::db::sql::time_interval proc overlaps_p xo::db::sql::time_interval proc overlaps_p xo::db::sql::time_interval proc overlaps_p->db_with_handle

Testcases:
No testcase defined.

xo::db::sql::time_interval proc shift (public)

 xo::db::sql::time_interval[i] shift [ -dbn dbn ] \
    -interval_id interval_id  [ -start_offset start_offset ] \
    [ -end_offset end_offset ]

Automatically generated method

Switches:
-dbn
(optional)
-interval_id
(required)
-start_offset
(defaults to "0") (optional)
-end_offset
(defaults to "0") (optional)

Partial Call Graph (max 5 caller/called nodes):
%3 db_with_handle db_with_handle (public) xo::db::sql::time_interval proc shift xo::db::sql::time_interval proc shift xo::db::sql::time_interval proc shift->db_with_handle

Testcases:
No testcase defined.

xo::db::sql::timespan proc copy (public)

 xo::db::sql::timespan[i] copy [ -dbn dbn ] -timespan_id timespan_id  \
    -offset offset 

Automatically generated method

Switches:
-dbn
(optional)
-timespan_id
(required)
-offset
(required)

Partial Call Graph (max 5 caller/called nodes):
%3 db_with_handle db_with_handle (public) xo::db::sql::timespan proc copy xo::db::sql::timespan proc copy xo::db::sql::timespan proc copy->db_with_handle

Testcases:
No testcase defined.

xo::db::sql::timespan proc delete (public)

 xo::db::sql::timespan[i] delete [ -dbn dbn ] -timespan_id timespan_id 

Automatically generated method

Switches:
-dbn
(optional)
-timespan_id
(required)

Partial Call Graph (max 5 caller/called nodes):
%3 db_with_handle db_with_handle (public) xo::db::sql::timespan proc delete xo::db::sql::timespan proc delete xo::db::sql::timespan proc delete->db_with_handle

Testcases:
No testcase defined.

xo::db::sql::timespan proc exists_p (public)

 xo::db::sql::timespan[i] exists_p [ -dbn dbn ] -timespan_id timespan_id 

Automatically generated method

Switches:
-dbn
(optional)
-timespan_id
(required)

Partial Call Graph (max 5 caller/called nodes):
%3 db_with_handle db_with_handle (public) xo::db::sql::timespan proc exists_p xo::db::sql::timespan proc exists_p xo::db::sql::timespan proc exists_p->db_with_handle

Testcases:
No testcase defined.

xo::db::sql::timespan proc interval_delete (public)

 xo::db::sql::timespan[i] interval_delete [ -dbn dbn ] \
    -timespan_id timespan_id  -interval_id interval_id 

Automatically generated method

Switches:
-dbn
(optional)
-timespan_id
(required)
-interval_id
(required)

Partial Call Graph (max 5 caller/called nodes):
%3 db_with_handle db_with_handle (public) xo::db::sql::timespan proc interval_delete xo::db::sql::timespan proc interval_delete xo::db::sql::timespan proc interval_delete->db_with_handle

Testcases:
No testcase defined.

xo::db::sql::timespan proc join (public)

 xo::db::sql::timespan[i] join [ -dbn dbn ] -timespan_id timespan_id  \
    [ -start_date start_date ] [ -end_date end_date ]

Automatically generated method

Switches:
-dbn
(optional)
-timespan_id
(required)
-start_date
(optional)
-end_date
(optional)

Partial Call Graph (max 5 caller/called nodes):
%3 db_with_handle db_with_handle (public) xo::db::sql::timespan proc join xo::db::sql::timespan proc join xo::db::sql::timespan proc join->db_with_handle

Testcases:
No testcase defined.

xo::db::sql::timespan proc join_interval (public)

 xo::db::sql::timespan[i] join_interval [ -dbn dbn ] \
    -timespan_id timespan_id  -interval_id interval_id  \
    [ -copy_p copy_p ]

Automatically generated method

Switches:
-dbn
(optional)
-timespan_id
(required)
-interval_id
(required)
-copy_p
(defaults to "true") (optional)

Partial Call Graph (max 5 caller/called nodes):
%3 db_with_handle db_with_handle (public) xo::db::sql::timespan proc join_interval xo::db::sql::timespan proc join_interval xo::db::sql::timespan proc join_interval->db_with_handle

Testcases:
No testcase defined.

xo::db::sql::timespan proc multi_interval_p (public)

 xo::db::sql::timespan[i] multi_interval_p [ -dbn dbn ] \
    -timespan_id timespan_id 

Automatically generated method

Switches:
-dbn
(optional)
-timespan_id
(required)

Partial Call Graph (max 5 caller/called nodes):
%3 db_with_handle db_with_handle (public) xo::db::sql::timespan proc multi_interval_p xo::db::sql::timespan proc multi_interval_p xo::db::sql::timespan proc multi_interval_p->db_with_handle

Testcases:
No testcase defined.

xo::db::sql::timespan proc new (public)

 xo::db::sql::timespan[i] new [ -dbn dbn ] [ -start_date start_date ] \
    [ -end_date end_date ] [ -childof childof ]

Automatically generated method

Switches:
-dbn
(optional)
-start_date
(optional)
-end_date
(optional)
-childof
(optional)

Partial Call Graph (max 5 caller/called nodes):
%3 db_with_handle db_with_handle (public) xo::db::sql::timespan proc new xo::db::sql::timespan proc new xo::db::sql::timespan proc new->db_with_handle

Testcases:
No testcase defined.

xo::db::sql::timespan proc overlaps_interval_p (public)

 xo::db::sql::timespan[i] overlaps_interval_p [ -dbn dbn ] \
    -timespan_id timespan_id  [ -interval_id interval_id ]

Automatically generated method

Switches:
-dbn
(optional)
-timespan_id
(required)
-interval_id
(optional)

Partial Call Graph (max 5 caller/called nodes):
%3 db_with_handle db_with_handle (public) xo::db::sql::timespan proc overlaps_interval_p xo::db::sql::timespan proc overlaps_interval_p xo::db::sql::timespan proc overlaps_interval_p->db_with_handle

Testcases:
No testcase defined.

xo::db::sql::timespan proc overlaps_p (public)

 xo::db::sql::timespan[i] overlaps_p [ -dbn dbn ] \
    -timespan_id timespan_id  [ -start_date start_date ] \
    [ -end_date end_date ]

Automatically generated method

Switches:
-dbn
(optional)
-timespan_id
(required)
-start_date
(optional)
-end_date
(optional)

Partial Call Graph (max 5 caller/called nodes):
%3 db_with_handle db_with_handle (public) xo::db::sql::timespan proc overlaps_p xo::db::sql::timespan proc overlaps_p xo::db::sql::timespan proc overlaps_p->db_with_handle

Testcases:
No testcase defined.

xo::db::sql::timezone proc add_rule (public)

 xo::db::sql::timezone[i] add_rule [ -dbn dbn ] -tz tz  -abbrev abbrev  \
    -isdst_p isdst_p  -gmt_offset gmt_offset  -utc_start utc_start  \
    -utc_end utc_end  -local_start local_start  -local_end local_end 

Automatically generated method

Switches:
-dbn
(optional)
-tz
(required)
-abbrev
(required)
-isdst_p
(required)
-gmt_offset
(required)
-utc_start
(required)
-utc_end
(required)
-local_start
(required)
-local_end
(required)

Partial Call Graph (max 5 caller/called nodes):
%3 db_with_handle db_with_handle (public) xo::db::sql::timezone proc add_rule xo::db::sql::timezone proc add_rule xo::db::sql::timezone proc add_rule->db_with_handle

Testcases:
No testcase defined.

xo::db::sql::timezone proc convert_to_local (public)

 xo::db::sql::timezone[i] convert_to_local [ -dbn dbn ] -tz_id tz_id  \
    -utc_varchar utc_varchar 

Automatically generated method

Switches:
-dbn
(optional)
-tz_id
(required)
-utc_varchar
(required)

Partial Call Graph (max 5 caller/called nodes):
%3 db_with_handle db_with_handle (public) xo::db::sql::timezone proc convert_to_local xo::db::sql::timezone proc convert_to_local xo::db::sql::timezone proc convert_to_local->db_with_handle

Testcases:
No testcase defined.

xo::db::sql::timezone proc convert_to_utc (public)

 xo::db::sql::timezone[i] convert_to_utc [ -dbn dbn ] -tz_id tz_id  \
    -local_varchar local_varchar 

Automatically generated method

Switches:
-dbn
(optional)
-tz_id
(required)
-local_varchar
(required)

Partial Call Graph (max 5 caller/called nodes):
%3 db_with_handle db_with_handle (public) xo::db::sql::timezone proc convert_to_utc xo::db::sql::timezone proc convert_to_utc xo::db::sql::timezone proc convert_to_utc->db_with_handle

Testcases:
No testcase defined.

xo::db::sql::timezone proc delete (public)

 xo::db::sql::timezone[i] delete [ -dbn dbn ] -tz_id tz_id 

Automatically generated method

Switches:
-dbn
(optional)
-tz_id
(required)

Partial Call Graph (max 5 caller/called nodes):
%3 db_with_handle db_with_handle (public) xo::db::sql::timezone proc delete xo::db::sql::timezone proc delete xo::db::sql::timezone proc delete->db_with_handle

Testcases:
No testcase defined.

xo::db::sql::timezone proc get_abbrev (public)

 xo::db::sql::timezone[i] get_abbrev [ -dbn dbn ] -tz_id tz_id  \
    -time time 

Automatically generated method

Switches:
-dbn
(optional)
-tz_id
(required)
-time
(required)

Partial Call Graph (max 5 caller/called nodes):
%3 db_with_handle db_with_handle (public) xo::db::sql::timezone proc get_abbrev xo::db::sql::timezone proc get_abbrev xo::db::sql::timezone proc get_abbrev->db_with_handle

Testcases:
No testcase defined.

xo::db::sql::timezone proc get_date (public)

 xo::db::sql::timezone[i] get_date [ -dbn dbn ] -tz_id tz_id  \
    -timestamp timestamp  -format format  \
    -append_timezone_p append_timezone_p 

Automatically generated method

Switches:
-dbn
(optional)
-tz_id
(required)
-timestamp
(required)
-format
(required)
-append_timezone_p
(required)

Partial Call Graph (max 5 caller/called nodes):
%3 db_with_handle db_with_handle (public) xo::db::sql::timezone proc get_date xo::db::sql::timezone proc get_date xo::db::sql::timezone proc get_date->db_with_handle

Testcases:
No testcase defined.

xo::db::sql::timezone proc get_id (public)

 xo::db::sql::timezone[i] get_id [ -dbn dbn ] -tz tz 

Automatically generated method

Switches:
-dbn
(optional)
-tz
(required)

Partial Call Graph (max 5 caller/called nodes):
%3 db_with_handle db_with_handle (public) xo::db::sql::timezone proc get_id xo::db::sql::timezone proc get_id xo::db::sql::timezone proc get_id->db_with_handle

Testcases:
No testcase defined.

xo::db::sql::timezone proc get_offset (public)

 xo::db::sql::timezone[i] get_offset [ -dbn dbn ] -tz_id tz_id  \
    -time time 

Automatically generated method

Switches:
-dbn
(optional)
-tz_id
(required)
-time
(required)

Partial Call Graph (max 5 caller/called nodes):
%3 db_with_handle db_with_handle (public) xo::db::sql::timezone proc get_offset xo::db::sql::timezone proc get_offset xo::db::sql::timezone proc get_offset->db_with_handle

Testcases:
No testcase defined.

xo::db::sql::timezone proc get_rawoffset (public)

 xo::db::sql::timezone[i] get_rawoffset [ -dbn dbn ] -tz_id tz_id  \
    -time time 

Automatically generated method

Switches:
-dbn
(optional)
-tz_id
(required)
-time
(required)

Partial Call Graph (max 5 caller/called nodes):
%3 db_with_handle db_with_handle (public) xo::db::sql::timezone proc get_rawoffset xo::db::sql::timezone proc get_rawoffset xo::db::sql::timezone proc get_rawoffset->db_with_handle

Testcases:
No testcase defined.

xo::db::sql::timezone proc isdst_p (public)

 xo::db::sql::timezone[i] isdst_p [ -dbn dbn ] -tz_id tz_id  -time time 

Automatically generated method

Switches:
-dbn
(optional)
-tz_id
(required)
-time
(required)

Partial Call Graph (max 5 caller/called nodes):
%3 db_with_handle db_with_handle (public) xo::db::sql::timezone proc isdst_p xo::db::sql::timezone proc isdst_p xo::db::sql::timezone proc isdst_p->db_with_handle

Testcases:
No testcase defined.

xo::db::sql::timezone proc new (public)

 xo::db::sql::timezone[i] new [ -dbn dbn ] -tz tz  -gmt_offset gmt_offset  \
    [ -childof childof ]

Automatically generated method

Switches:
-dbn
(optional)
-tz
(required)
-gmt_offset
(required)
-childof
(optional)

Partial Call Graph (max 5 caller/called nodes):
%3 db_with_handle db_with_handle (public) xo::db::sql::timezone proc new xo::db::sql::timezone proc new xo::db::sql::timezone proc new->db_with_handle

Testcases:
No testcase defined.

xo::db::sql::url proc delete (public)

 xo::db::sql::url[i] delete [ -dbn dbn ] -url_id url_id 

Automatically generated method

Switches:
-dbn
(optional)
-url_id
(required)

Partial Call Graph (max 5 caller/called nodes):
%3 db_with_handle db_with_handle (public) xo::db::sql::url proc delete xo::db::sql::url proc delete xo::db::sql::url proc delete->db_with_handle

Testcases:
No testcase defined.

xo::db::sql::url proc insert_or_update (public)

 xo::db::sql::url[i] insert_or_update [ -dbn dbn ] -url_title url_title  \
    -host_url host_url  -complete_url complete_url  \
    -meta_keywords meta_keywords  -meta_description meta_description  \
    -creation_user creation_user  -creation_ip creation_ip  \
    -context_id context_id 

Automatically generated method

Switches:
-dbn
(optional)
-url_title
(required)
-host_url
(required)
-complete_url
(required)
-meta_keywords
(required)
-meta_description
(required)
-creation_user
(required)
-creation_ip
(required)
-context_id
(required)

Partial Call Graph (max 5 caller/called nodes):
%3 db_with_handle db_with_handle (public) xo::db::sql::url proc insert_or_update xo::db::sql::url proc insert_or_update xo::db::sql::url proc insert_or_update->db_with_handle

Testcases:
No testcase defined.

xo::db::sql::url proc new (public)

 xo::db::sql::url[i] new [ -dbn dbn ] -url_id url_id  \
    -url_title url_title  [ -host_url host_url ] \
    -complete_url complete_url  [ -meta_keywords meta_keywords ] \
    [ -meta_description meta_description ] \
    [ -creation_user creation_user ] [ -creation_ip creation_ip ] \
    [ -context_id context_id ] [ -childof childof ]

Automatically generated method

Switches:
-dbn
(optional)
-url_id
(required)
-url_title
(required)
-host_url
(optional)
-complete_url
(required)
-meta_keywords
(optional)
-meta_description
(optional)
-creation_user
(optional)
-creation_ip
(optional)
-context_id
(optional)
-childof
(optional)

Partial Call Graph (max 5 caller/called nodes):
%3 db_with_handle db_with_handle (public) xo::db::sql::url proc new xo::db::sql::url proc new xo::db::sql::url proc new->db_with_handle

Testcases:
No testcase defined.

xo::db::sql::user_profile proc delete (public)

 xo::db::sql::user_profile[i] delete [ -dbn dbn ] -profile_id profile_id 

Automatically generated method

Switches:
-dbn
(optional)
-profile_id
(required)

Partial Call Graph (max 5 caller/called nodes):
%3 db_with_handle db_with_handle (public) xo::db::sql::user_profile proc delete xo::db::sql::user_profile proc delete xo::db::sql::user_profile proc delete->db_with_handle

Testcases:
No testcase defined.

xo::db::sql::user_profile proc new (public)

 xo::db::sql::user_profile[i] new [ -dbn dbn ] -profile_id profile_id  \
    [ -rel_type rel_type ] -object_id_one object_id_one  \
    -object_id_two object_id_two  -member_state member_state  \
    -creation_user creation_user  -creation_ip creation_ip  \
    [ -childof childof ]

Automatically generated method

Switches:
-dbn
(optional)
-profile_id
(required)
-rel_type
(defaults to "user_profile") (optional)
-object_id_one
(required)
-object_id_two
(required)
-member_state
(required)
-creation_user
(required)
-creation_ip
(required)
-childof
(optional)

Partial Call Graph (max 5 caller/called nodes):
%3 db_with_handle db_with_handle (public) xo::db::sql::user_profile proc new xo::db::sql::user_profile proc new xo::db::sql::user_profile proc new->db_with_handle

Testcases:
No testcase defined.

xo::db::sql::util proc computehash (public)

 xo::db::sql::util[i] computehash [ -dbn dbn ] -value value 

Automatically generated method

Switches:
-dbn
(optional)
-value
(required)

Partial Call Graph (max 5 caller/called nodes):
%3 db_with_handle db_with_handle (public) xo::db::sql::util proc computehash xo::db::sql::util proc computehash xo::db::sql::util proc computehash->db_with_handle

Testcases:
No testcase defined.

xo::db::sql::util proc computehash_raw (public)

 xo::db::sql::util[i] computehash_raw [ -dbn dbn ] -arg arg 

Automatically generated method

Switches:
-dbn
(optional)
-arg
(required)

Partial Call Graph (max 5 caller/called nodes):
%3 db_with_handle db_with_handle (public) xo::db::sql::util proc computehash_raw xo::db::sql::util proc computehash_raw xo::db::sql::util proc computehash_raw->db_with_handle

Testcases:
No testcase defined.

xo::db::sql::util proc foreign_key_exists (public)

 xo::db::sql::util[i] foreign_key_exists [ -dbn dbn ] \
    -table_name table_name  -column column  -reftable reftable  \
    -refcolumn refcolumn 

Automatically generated method

Switches:
-dbn
(optional)
-table_name
(required)
-column
(required)
-reftable
(required)
-refcolumn
(required)

Partial Call Graph (max 5 caller/called nodes):
%3 db_with_handle db_with_handle (public) xo::db::sql::util proc foreign_key_exists xo::db::sql::util proc foreign_key_exists xo::db::sql::util proc foreign_key_exists->db_with_handle

Testcases:
No testcase defined.

xo::db::sql::util proc get_default (public)

 xo::db::sql::util[i] get_default [ -dbn dbn ] -table_name table_name  \
    -column column 

Automatically generated method

Switches:
-dbn
(optional)
-table_name
(required)
-column
(required)

Partial Call Graph (max 5 caller/called nodes):
%3 db_with_handle db_with_handle (public) xo::db::sql::util proc get_default xo::db::sql::util proc get_default xo::db::sql::util proc get_default->db_with_handle

Testcases:
No testcase defined.

xo::db::sql::util proc get_primary_keys (public)

 xo::db::sql::util[i] get_primary_keys [ -dbn dbn ] \
    -table_name table_name 

Automatically generated method

Switches:
-dbn
(optional)
-table_name
(required)

Partial Call Graph (max 5 caller/called nodes):
%3 db_with_handle db_with_handle (public) xo::db::sql::util proc get_primary_keys xo::db::sql::util proc get_primary_keys xo::db::sql::util proc get_primary_keys->db_with_handle

Testcases:
No testcase defined.

xo::db::sql::util proc index_exists (public)

 xo::db::sql::util[i] index_exists [ -dbn dbn ] -name name 

Automatically generated method

Switches:
-dbn
(optional)
-name
(required)

Partial Call Graph (max 5 caller/called nodes):
%3 db_with_handle db_with_handle (public) xo::db::sql::util proc index_exists xo::db::sql::util proc index_exists xo::db::sql::util proc index_exists->db_with_handle

Testcases:
No testcase defined.

xo::db::sql::util proc logical_negation (public)

 xo::db::sql::util[i] logical_negation [ -dbn dbn ] \
    -true_or_false true_or_false 

Automatically generated method

Switches:
-dbn
(optional)
-true_or_false
(required)

Partial Call Graph (max 5 caller/called nodes):
%3 db_with_handle db_with_handle (public) xo::db::sql::util proc logical_negation xo::db::sql::util proc logical_negation xo::db::sql::util proc logical_negation->db_with_handle

Testcases:
No testcase defined.

xo::db::sql::util proc multiple_nextval (public)

 xo::db::sql::util[i] multiple_nextval [ -dbn dbn ] \
    -v_sequence_name v_sequence_name  -v_count v_count 

Automatically generated method

Switches:
-dbn
(optional)
-v_sequence_name
(required)
-v_count
(required)

Partial Call Graph (max 5 caller/called nodes):
%3 db_with_handle db_with_handle (public) xo::db::sql::util proc multiple_nextval xo::db::sql::util proc multiple_nextval xo::db::sql::util proc multiple_nextval->db_with_handle

Testcases:
No testcase defined.

xo::db::sql::util proc not_null_exists (public)

 xo::db::sql::util[i] not_null_exists [ -dbn dbn ] -table_name table_name  \
    -column column 

Automatically generated method

Switches:
-dbn
(optional)
-table_name
(required)
-column
(required)

Partial Call Graph (max 5 caller/called nodes):
%3 db_with_handle db_with_handle (public) xo::db::sql::util proc not_null_exists xo::db::sql::util proc not_null_exists xo::db::sql::util proc not_null_exists->db_with_handle

Testcases:
No testcase defined.

xo::db::sql::util proc primary_key_exists (public)

 xo::db::sql::util[i] primary_key_exists [ -dbn dbn ] \
    -table_name table_name  -column column  [ -single_p single_p ]

Automatically generated method

Switches:
-dbn
(optional)
-table_name
(required)
-column
(required)
-single_p
(defaults to "true") (optional)

Partial Call Graph (max 5 caller/called nodes):
%3 db_with_handle db_with_handle (public) xo::db::sql::util proc primary_key_exists xo::db::sql::util proc primary_key_exists xo::db::sql::util proc primary_key_exists->db_with_handle

Testcases:
No testcase defined.

xo::db::sql::util proc table_column_exists (public)

 xo::db::sql::util[i] table_column_exists [ -dbn dbn ] \
    -table_name table_name  -column column 

Automatically generated method

Switches:
-dbn
(optional)
-table_name
(required)
-column
(required)

Partial Call Graph (max 5 caller/called nodes):
%3 db_with_handle db_with_handle (public) xo::db::sql::util proc table_column_exists xo::db::sql::util proc table_column_exists xo::db::sql::util proc table_column_exists->db_with_handle

Testcases:
No testcase defined.

xo::db::sql::util proc table_exists (public)

 xo::db::sql::util[i] table_exists [ -dbn dbn ] -name name 

Automatically generated method

Switches:
-dbn
(optional)
-name
(required)

Partial Call Graph (max 5 caller/called nodes):
%3 db_with_handle db_with_handle (public) xo::db::sql::util proc table_exists xo::db::sql::util proc table_exists xo::db::sql::util proc table_exists->db_with_handle

Testcases:
No testcase defined.

xo::db::sql::util proc unique_exists (public)

 xo::db::sql::util[i] unique_exists [ -dbn dbn ] -table table  \
    -column column  [ -single_p single_p ]

Automatically generated method

Switches:
-dbn
(optional)
-table
(required)
-column
(required)
-single_p
(defaults to "true") (optional)

Partial Call Graph (max 5 caller/called nodes):
%3 db_with_handle db_with_handle (public) xo::db::sql::util proc unique_exists xo::db::sql::util proc unique_exists xo::db::sql::util proc unique_exists->db_with_handle

Testcases:
No testcase defined.

xo::db::sql::util proc view_exists (public)

 xo::db::sql::util[i] view_exists [ -dbn dbn ] -name name 

Automatically generated method

Switches:
-dbn
(optional)
-name
(required)

Partial Call Graph (max 5 caller/called nodes):
%3 db_with_handle db_with_handle (public) xo::db::sql::util proc view_exists xo::db::sql::util proc view_exists xo::db::sql::util proc view_exists->db_with_handle

Testcases:
No testcase defined.

xo::db::sql::views proc record_view (public)

 xo::db::sql::views[i] record_view [ -dbn dbn ] -object_id object_id  \
    -viewer_id viewer_id 

Automatically generated method

Switches:
-dbn
(optional)
-object_id
(required)
-viewer_id
(required)

Partial Call Graph (max 5 caller/called nodes):
%3 db_with_handle db_with_handle (public) xo::db::sql::views proc record_view xo::db::sql::views proc record_view xo::db::sql::views proc record_view->db_with_handle

Testcases:
No testcase defined.

xo::db::sql::views_by_type proc record_view (public)

 xo::db::sql::views_by_type[i] record_view [ -dbn dbn ] \
    -object_id object_id  -viewer_id viewer_id  -view_type view_type 

Automatically generated method

Switches:
-dbn
(optional)
-object_id
(required)
-viewer_id
(required)
-view_type
(required)

Partial Call Graph (max 5 caller/called nodes):
%3 db_with_handle db_with_handle (public) xo::db::sql::views_by_type proc record_view xo::db::sql::views_by_type proc record_view xo::db::sql::views_by_type proc record_view->db_with_handle

Testcases:
No testcase defined.

xo::db::sql::weblogger_blogroll_entry proc delete (public)

 xo::db::sql::weblogger_blogroll_entry[i] delete [ -dbn dbn ] \
    -link_id link_id 

Automatically generated method

Switches:
-dbn
(optional)
-link_id
(required)

Partial Call Graph (max 5 caller/called nodes):
%3 db_with_handle db_with_handle (public) xo::db::sql::weblogger_blogroll_entry proc delete xo::db::sql::weblogger_blogroll_entry proc delete xo::db::sql::weblogger_blogroll_entry proc delete->db_with_handle

Testcases:
No testcase defined.

xo::db::sql::weblogger_blogroll_entry proc name (public)

 xo::db::sql::weblogger_blogroll_entry[i] name [ -dbn dbn ] \
    -link_id link_id 

Automatically generated method

Switches:
-dbn
(optional)
-link_id
(required)

Partial Call Graph (max 5 caller/called nodes):
%3 db_with_handle db_with_handle (public) xo::db::sql::weblogger_blogroll_entry proc name xo::db::sql::weblogger_blogroll_entry proc name xo::db::sql::weblogger_blogroll_entry proc name->db_with_handle

Testcases:
No testcase defined.

xo::db::sql::weblogger_blogroll_entry proc new (public)

 xo::db::sql::weblogger_blogroll_entry[i] new [ -dbn dbn ] \
    -link_id link_id  -package_id package_id  -name name  -url url  \
    -creation_user creation_user  -creation_ip creation_ip  \
    [ -childof childof ]

Automatically generated method

Switches:
-dbn
(optional)
-link_id
(required)
-package_id
(required)
-name
(required)
-url
(required)
-creation_user
(required)
-creation_ip
(required)
-childof
(optional)

Partial Call Graph (max 5 caller/called nodes):
%3 db_with_handle db_with_handle (public) xo::db::sql::weblogger_blogroll_entry proc new xo::db::sql::weblogger_blogroll_entry proc new xo::db::sql::weblogger_blogroll_entry proc new->db_with_handle

Testcases:
No testcase defined.

xo::db::sql::weblogger_channel proc delete (public)

 xo::db::sql::weblogger_channel[i] delete [ -dbn dbn ] \
    -channel_id channel_id 

Automatically generated method

Switches:
-dbn
(optional)
-channel_id
(required)

Partial Call Graph (max 5 caller/called nodes):
%3 db_with_handle db_with_handle (public) xo::db::sql::weblogger_channel proc delete xo::db::sql::weblogger_channel proc delete xo::db::sql::weblogger_channel proc delete->db_with_handle

Testcases:
No testcase defined.

xo::db::sql::weblogger_channel proc new (public)

 xo::db::sql::weblogger_channel[i] new [ -dbn dbn ] \
    -channel_id channel_id  -package_id package_id  -user_id user_id  \
    -creation_user creation_user  -creation_ip creation_ip  \
    [ -childof childof ]

Automatically generated method

Switches:
-dbn
(optional)
-channel_id
(required)
-package_id
(required)
-user_id
(required)
-creation_user
(required)
-creation_ip
(required)
-childof
(optional)

Partial Call Graph (max 5 caller/called nodes):
%3 db_with_handle db_with_handle (public) xo::db::sql::weblogger_channel proc new xo::db::sql::weblogger_channel proc new xo::db::sql::weblogger_channel proc new->db_with_handle

Testcases:
No testcase defined.

xo::db::sql::wf_article_callback proc notification (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.

xo::db::sql::wf_callback proc guard_attribute_true (public)

 xo::db::sql::wf_callback[i] guard_attribute_true [ -dbn dbn ] \
    -case_id case_id  -workflow_key workflow_key  \
    -transition_key transition_key  -place_key place_key  \
    -direction direction  -custom_arg custom_arg 

Automatically generated method

Switches:
-dbn
(optional)
-case_id
(required)
-workflow_key
(required)
-transition_key
(required)
-place_key
(required)
-direction
(required)
-custom_arg
(required)

Partial Call Graph (max 5 caller/called nodes):
%3 db_with_handle db_with_handle (public) xo::db::sql::wf_callback proc guard_attribute_true xo::db::sql::wf_callback proc guard_attribute_true xo::db::sql::wf_callback proc guard_attribute_true->db_with_handle

Testcases:
No testcase defined.

xo::db::sql::wf_callback proc time_sysdate_plus_x (public)

 xo::db::sql::wf_callback[i] time_sysdate_plus_x [ -dbn dbn ] \
    -case_id case_id  -transition_key transition_key  \
    -custom_arg custom_arg 

Automatically generated method

Switches:
-dbn
(optional)
-case_id
(required)
-transition_key
(required)
-custom_arg
(required)

Partial Call Graph (max 5 caller/called nodes):
%3 db_with_handle db_with_handle (public) xo::db::sql::wf_callback proc time_sysdate_plus_x xo::db::sql::wf_callback proc time_sysdate_plus_x xo::db::sql::wf_callback proc time_sysdate_plus_x->db_with_handle

Testcases:
No testcase defined.

xo::db::sql::workflow proc add_arc (public)

 xo::db::sql::workflow[i] add_arc [ -dbn dbn ] -workflow_key workflow_key  \
    -from_place_key from_place_key  \
    -to_transition_key to_transition_key 

Automatically generated method

Switches:
-dbn
(optional)
-workflow_key
(required)
-from_place_key
(required)
-to_transition_key
(required)

Partial Call Graph (max 5 caller/called nodes):
%3 db_with_handle db_with_handle (public) xo::db::sql::workflow proc add_arc xo::db::sql::workflow proc add_arc xo::db::sql::workflow proc add_arc->db_with_handle

Testcases:
No testcase defined.

xo::db::sql::workflow proc add_place (public)

 xo::db::sql::workflow[i] add_place [ -dbn dbn ] \
    -workflow_key workflow_key  -place_key place_key  \
    -place_name place_name  -sort_order sort_order 

Automatically generated method

Switches:
-dbn
(optional)
-workflow_key
(required)
-place_key
(required)
-place_name
(required)
-sort_order
(required)

Partial Call Graph (max 5 caller/called nodes):
%3 db_with_handle db_with_handle (public) xo::db::sql::workflow proc add_place xo::db::sql::workflow proc add_place xo::db::sql::workflow proc add_place->db_with_handle

Testcases:
No testcase defined.

xo::db::sql::workflow proc add_role (public)

 xo::db::sql::workflow[i] add_role [ -dbn dbn ] \
    -workflow_key workflow_key  -role_key role_key  \
    -role_name role_name  -sort_order sort_order 

Automatically generated method

Switches:
-dbn
(optional)
-workflow_key
(required)
-role_key
(required)
-role_name
(required)
-sort_order
(required)

Partial Call Graph (max 5 caller/called nodes):
%3 db_with_handle db_with_handle (public) xo::db::sql::workflow proc add_role xo::db::sql::workflow proc add_role xo::db::sql::workflow proc add_role->db_with_handle

Testcases:
No testcase defined.

xo::db::sql::workflow proc add_trans_attribute_map (public)

 xo::db::sql::workflow[i] add_trans_attribute_map [ -dbn dbn ] \
    -workflow_key workflow_key  -transition_key transition_key  \
    -attribute_id attribute_id  -sort_order sort_order 

Automatically generated method

Switches:
-dbn
(optional)
-workflow_key
(required)
-transition_key
(required)
-attribute_id
(required)
-sort_order
(required)

Partial Call Graph (max 5 caller/called nodes):
%3 db_with_handle db_with_handle (public) xo::db::sql::workflow proc add_trans_attribute_map xo::db::sql::workflow proc add_trans_attribute_map xo::db::sql::workflow proc add_trans_attribute_map->db_with_handle

Testcases:
No testcase defined.

xo::db::sql::workflow proc add_trans_role_assign_map (public)

 xo::db::sql::workflow[i] add_trans_role_assign_map [ -dbn dbn ] \
    -workflow_key workflow_key  -transition_key transition_key  \
    -assign_role_key assign_role_key 

Automatically generated method

Switches:
-dbn
(optional)
-workflow_key
(required)
-transition_key
(required)
-assign_role_key
(required)

Partial Call Graph (max 5 caller/called nodes):
%3 db_with_handle db_with_handle (public) xo::db::sql::workflow proc add_trans_role_assign_map xo::db::sql::workflow proc add_trans_role_assign_map xo::db::sql::workflow proc add_trans_role_assign_map->db_with_handle

Testcases:
No testcase defined.

xo::db::sql::workflow proc add_transition (public)

 xo::db::sql::workflow[i] add_transition [ -dbn dbn ] \
    -workflow_key workflow_key  -transition_key transition_key  \
    -transition_name transition_name  -role_key role_key  \
    -sort_order sort_order  [ -trigger_type trigger_type ]

Automatically generated method

Switches:
-dbn
(optional)
-workflow_key
(required)
-transition_key
(required)
-transition_name
(required)
-role_key
(required)
-sort_order
(required)
-trigger_type
(defaults to "user") (optional)

Partial Call Graph (max 5 caller/called nodes):
%3 db_with_handle db_with_handle (public) xo::db::sql::workflow proc add_transition xo::db::sql::workflow proc add_transition xo::db::sql::workflow proc add_transition->db_with_handle

Testcases:
No testcase defined.

xo::db::sql::workflow proc create_attribute (public)

 xo::db::sql::workflow[i] create_attribute [ -dbn dbn ] \
    -workflow_key workflow_key  -attribute_name attribute_name  \
    -datatype datatype  -pretty_name pretty_name  \
    [ -pretty_plural pretty_plural ] [ -table_name table_name ] \
    [ -column_name column_name ] [ -default_value default_value ] \
    [ -min_n_values min_n_values ] [ -max_n_values max_n_values ] \
    [ -sort_order sort_order ] [ -storage storage ]

Automatically generated method

Switches:
-dbn
(optional)
-workflow_key
(required)
-attribute_name
(required)
-datatype
(required)
-pretty_name
(required)
-pretty_plural
(optional)
-table_name
(optional)
-column_name
(optional)
-default_value
(optional)
-min_n_values
(defaults to "1") (optional)
-max_n_values
(defaults to "1") (optional)
-sort_order
(optional)
-storage
(defaults to "generic") (optional)

Partial Call Graph (max 5 caller/called nodes):
%3 db_with_handle db_with_handle (public) xo::db::sql::workflow proc create_attribute xo::db::sql::workflow proc create_attribute xo::db::sql::workflow proc create_attribute->db_with_handle

Testcases:
No testcase defined.

xo::db::sql::workflow proc create_workflow (public)

 xo::db::sql::workflow[i] create_workflow [ -dbn dbn ] \
    -workflow_key workflow_key  -pretty_name pretty_name  \
    [ -pretty_plural pretty_plural ] [ -description description ] \
    -table_name table_name  [ -id_column id_column ]

Automatically generated method

Switches:
-dbn
(optional)
-workflow_key
(required)
-pretty_name
(required)
-pretty_plural
(optional)
-description
(optional)
-table_name
(required)
-id_column
(defaults to "case_id") (optional)

Partial Call Graph (max 5 caller/called nodes):
%3 db_with_handle db_with_handle (public) xo::db::sql::workflow proc create_workflow xo::db::sql::workflow proc create_workflow xo::db::sql::workflow proc create_workflow->db_with_handle

Testcases:
No testcase defined.

xo::db::sql::workflow proc delete (public)

 xo::db::sql::workflow[i] delete [ -dbn dbn ] \
    -delete_workflow_id delete_workflow_id 

Automatically generated method

Switches:
-dbn
(optional)
-delete_workflow_id
(required)

Partial Call Graph (max 5 caller/called nodes):
%3 db_with_handle db_with_handle (public) xo::db::sql::workflow proc delete xo::db::sql::workflow proc delete xo::db::sql::workflow proc delete->db_with_handle

Testcases:
No testcase defined.

xo::db::sql::workflow proc delete_arc (public)

 xo::db::sql::workflow[i] delete_arc [ -dbn dbn ] \
    -workflow_key workflow_key  -transition_key transition_key  \
    -place_key place_key  -direction direction 

Automatically generated method

Switches:
-dbn
(optional)
-workflow_key
(required)
-transition_key
(required)
-place_key
(required)
-direction
(required)

Partial Call Graph (max 5 caller/called nodes):
%3 db_with_handle db_with_handle (public) xo::db::sql::workflow proc delete_arc xo::db::sql::workflow proc delete_arc xo::db::sql::workflow proc delete_arc->db_with_handle

Testcases:
No testcase defined.

xo::db::sql::workflow proc delete_cases (public)

 xo::db::sql::workflow[i] delete_cases [ -dbn dbn ] \
    -workflow_key workflow_key 

Automatically generated method

Switches:
-dbn
(optional)
-workflow_key
(required)

Partial Call Graph (max 5 caller/called nodes):
%3 db_with_handle db_with_handle (public) xo::db::sql::workflow proc delete_cases xo::db::sql::workflow proc delete_cases xo::db::sql::workflow proc delete_cases->db_with_handle

Testcases:
No testcase defined.

xo::db::sql::workflow proc delete_place (public)

 xo::db::sql::workflow[i] delete_place [ -dbn dbn ] \
    -workflow_key workflow_key  -place_key place_key 

Automatically generated method

Switches:
-dbn
(optional)
-workflow_key
(required)
-place_key
(required)

Partial Call Graph (max 5 caller/called nodes):
%3 db_with_handle db_with_handle (public) xo::db::sql::workflow proc delete_place xo::db::sql::workflow proc delete_place xo::db::sql::workflow proc delete_place->db_with_handle

Testcases:
No testcase defined.

xo::db::sql::workflow proc delete_role (public)

 xo::db::sql::workflow[i] delete_role [ -dbn dbn ] \
    -workflow_key workflow_key  -role_key role_key 

Automatically generated method

Switches:
-dbn
(optional)
-workflow_key
(required)
-role_key
(required)

Partial Call Graph (max 5 caller/called nodes):
%3 db_with_handle db_with_handle (public) xo::db::sql::workflow proc delete_role xo::db::sql::workflow proc delete_role xo::db::sql::workflow proc delete_role->db_with_handle

Testcases:
No testcase defined.

xo::db::sql::workflow proc delete_trans_attribute_map (public)

 xo::db::sql::workflow[i] delete_trans_attribute_map [ -dbn dbn ] \
    -workflow_key workflow_key  -transition_key transition_key  \
    -attribute_id attribute_id 

Automatically generated method

Switches:
-dbn
(optional)
-workflow_key
(required)
-transition_key
(required)
-attribute_id
(required)

Partial Call Graph (max 5 caller/called nodes):
%3 db_with_handle db_with_handle (public) xo::db::sql::workflow proc delete_trans_attribute_map xo::db::sql::workflow proc delete_trans_attribute_map xo::db::sql::workflow proc delete_trans_attribute_map->db_with_handle

Testcases:
No testcase defined.

xo::db::sql::workflow proc delete_trans_role_assign_map (public)

 xo::db::sql::workflow[i] delete_trans_role_assign_map [ -dbn dbn ] \
    -workflow_key workflow_key  -transition_key transition_key  \
    -assign_role_key assign_role_key 

Automatically generated method

Switches:
-dbn
(optional)
-workflow_key
(required)
-transition_key
(required)
-assign_role_key
(required)

Partial Call Graph (max 5 caller/called nodes):
%3 db_with_handle db_with_handle (public) xo::db::sql::workflow proc delete_trans_role_assign_map xo::db::sql::workflow proc delete_trans_role_assign_map xo::db::sql::workflow proc delete_trans_role_assign_map->db_with_handle

Testcases:
No testcase defined.

xo::db::sql::workflow proc delete_transition (public)

 xo::db::sql::workflow[i] delete_transition [ -dbn dbn ] \
    -workflow_key workflow_key  -transition_key transition_key 

Automatically generated method

Switches:
-dbn
(optional)
-workflow_key
(required)
-transition_key
(required)

Partial Call Graph (max 5 caller/called nodes):
%3 db_with_handle db_with_handle (public) xo::db::sql::workflow proc delete_transition xo::db::sql::workflow proc delete_transition xo::db::sql::workflow proc delete_transition->db_with_handle

Testcases:
No testcase defined.

xo::db::sql::workflow proc drop_attribute (public)

 xo::db::sql::workflow[i] drop_attribute [ -dbn dbn ] \
    -workflow_key workflow_key  -attribute_name attribute_name 

Automatically generated method

Switches:
-dbn
(optional)
-workflow_key
(required)
-attribute_name
(required)

Partial Call Graph (max 5 caller/called nodes):
%3 db_with_handle db_with_handle (public) xo::db::sql::workflow proc drop_attribute xo::db::sql::workflow proc drop_attribute xo::db::sql::workflow proc drop_attribute->db_with_handle

Testcases:
No testcase defined.

xo::db::sql::workflow proc drop_workflow (public)

 xo::db::sql::workflow[i] drop_workflow [ -dbn dbn ] \
    -workflow_key workflow_key 

Automatically generated method

Switches:
-dbn
(optional)
-workflow_key
(required)

Partial Call Graph (max 5 caller/called nodes):
%3 db_with_handle db_with_handle (public) xo::db::sql::workflow proc drop_workflow xo::db::sql::workflow proc drop_workflow xo::db::sql::workflow proc drop_workflow->db_with_handle

Testcases:
No testcase defined.

xo::db::sql::workflow proc move_role_down (public)

 xo::db::sql::workflow[i] move_role_down [ -dbn dbn ] \
    -workflow_key workflow_key  -role_key role_key 

Automatically generated method

Switches:
-dbn
(optional)
-workflow_key
(required)
-role_key
(required)

Partial Call Graph (max 5 caller/called nodes):
%3 db_with_handle db_with_handle (public) xo::db::sql::workflow proc move_role_down xo::db::sql::workflow proc move_role_down xo::db::sql::workflow proc move_role_down->db_with_handle

Testcases:
No testcase defined.

xo::db::sql::workflow proc move_role_up (public)

 xo::db::sql::workflow[i] move_role_up [ -dbn dbn ] \
    -workflow_key workflow_key  -role_key role_key 

Automatically generated method

Switches:
-dbn
(optional)
-workflow_key
(required)
-role_key
(required)

Partial Call Graph (max 5 caller/called nodes):
%3 db_with_handle db_with_handle (public) xo::db::sql::workflow proc move_role_up xo::db::sql::workflow proc move_role_up xo::db::sql::workflow proc move_role_up->db_with_handle

Testcases:
No testcase defined.

xo::db::sql::workflow proc new (public)

 xo::db::sql::workflow[i] new [ -dbn dbn ] -short_name short_name  \
    -pretty_name pretty_name  -package_key package_key  \
    -object_id object_id  -object_type object_type  \
    -creation_user creation_user  -creation_ip creation_ip  \
    -context_id context_id  [ -childof childof ]

Automatically generated method

Switches:
-dbn
(optional)
-short_name
(required)
-pretty_name
(required)
-package_key
(required)
-object_id
(required)
-object_type
(required)
-creation_user
(required)
-creation_ip
(required)
-context_id
(required)
-childof
(optional)

Partial Call Graph (max 5 caller/called nodes):
%3 db_with_handle db_with_handle (public) xo::db::sql::workflow proc new xo::db::sql::workflow proc new xo::db::sql::workflow proc new->db_with_handle

Testcases:
No testcase defined.

xo::db::sql::workflow proc simple_p (public)

 xo::db::sql::workflow[i] simple_p [ -dbn dbn ] \
    -workflow_key workflow_key 

Automatically generated method

Switches:
-dbn
(optional)
-workflow_key
(required)

Partial Call Graph (max 5 caller/called nodes):
%3 db_with_handle db_with_handle (public) xo::db::sql::workflow proc simple_p xo::db::sql::workflow proc simple_p xo::db::sql::workflow proc simple_p->db_with_handle

Testcases:
No testcase defined.

xo::db::sql::workflow_case proc add_manual_assignment (public)

 xo::db::sql::workflow_case[i] add_manual_assignment [ -dbn dbn ] \
    -case_id case_id  -role_key role_key  -party_id party_id 

Automatically generated method

Switches:
-dbn
(optional)
-case_id
(required)
-role_key
(required)
-party_id
(required)

Partial Call Graph (max 5 caller/called nodes):
%3 db_with_handle db_with_handle (public) xo::db::sql::workflow_case proc add_manual_assignment xo::db::sql::workflow_case proc add_manual_assignment xo::db::sql::workflow_case proc add_manual_assignment->db_with_handle

Testcases:
No testcase defined.

xo::db::sql::workflow_case proc add_task_assignment (public)

 xo::db::sql::workflow_case[i] add_task_assignment [ -dbn dbn ] \
    -task_id task_id  -party_id party_id  -permanent_p permanent_p 

Automatically generated method

Switches:
-dbn
(optional)
-task_id
(required)
-party_id
(required)
-permanent_p
(required)

Partial Call Graph (max 5 caller/called nodes):
%3 db_with_handle db_with_handle (public) xo::db::sql::workflow_case proc add_task_assignment xo::db::sql::workflow_case proc add_task_assignment xo::db::sql::workflow_case proc add_task_assignment->db_with_handle

Testcases:
No testcase defined.

xo::db::sql::workflow_case proc add_token (public)

 xo::db::sql::workflow_case[i] add_token [ -dbn dbn ] -case_id case_id  \
    -place_key place_key  -journal_id journal_id 

Automatically generated method

Switches:
-dbn
(optional)
-case_id
(required)
-place_key
(required)
-journal_id
(required)

Partial Call Graph (max 5 caller/called nodes):
%3 db_with_handle db_with_handle (public) xo::db::sql::workflow_case proc add_token xo::db::sql::workflow_case proc add_token xo::db::sql::workflow_case proc add_token->db_with_handle

Testcases:
No testcase defined.

xo::db::sql::workflow_case proc begin_task_action (public)

 xo::db::sql::workflow_case[i] begin_task_action [ -dbn dbn ] \
    -task_id task_id  -action action  -action_ip action_ip  \
    -user_id user_id  [ -msg msg ]

Automatically generated method

Switches:
-dbn
(optional)
-task_id
(required)
-action
(required)
-action_ip
(required)
-user_id
(required)
-msg
(optional)

Partial Call Graph (max 5 caller/called nodes):
%3 db_with_handle db_with_handle (public) xo::db::sql::workflow_case proc begin_task_action xo::db::sql::workflow_case proc begin_task_action xo::db::sql::workflow_case proc begin_task_action->db_with_handle

Testcases:
No testcase defined.

xo::db::sql::workflow_case proc cancel (public)

 xo::db::sql::workflow_case[i] cancel [ -dbn dbn ] -case_id case_id  \
    [ -user_id user_id ] [ -ip_address ip_address ] [ -msg msg ]

Automatically generated method

Switches:
-dbn
(optional)
-case_id
(required)
-user_id
(optional)
-ip_address
(optional)
-msg
(optional)

Partial Call Graph (max 5 caller/called nodes):
%3 db_with_handle db_with_handle (public) xo::db::sql::workflow_case proc cancel xo::db::sql::workflow_case proc cancel xo::db::sql::workflow_case proc cancel->db_with_handle

Testcases:
No testcase defined.

xo::db::sql::workflow_case proc cancel_task (public)

 xo::db::sql::workflow_case[i] cancel_task [ -dbn dbn ] -task_id task_id  \
    -journal_id journal_id 

Automatically generated method

Switches:
-dbn
(optional)
-task_id
(required)
-journal_id
(required)

Partial Call Graph (max 5 caller/called nodes):
%3 db_with_handle db_with_handle (public) xo::db::sql::workflow_case proc cancel_task xo::db::sql::workflow_case proc cancel_task xo::db::sql::workflow_case proc cancel_task->db_with_handle

Testcases:
No testcase defined.

xo::db::sql::workflow_case proc clear_manual_assignments (public)

 xo::db::sql::workflow_case[i] clear_manual_assignments [ -dbn dbn ] \
    -case_id case_id  -role_key role_key 

Automatically generated method

Switches:
-dbn
(optional)
-case_id
(required)
-role_key
(required)

Partial Call Graph (max 5 caller/called nodes):
%3 db_with_handle db_with_handle (public) xo::db::sql::workflow_case proc clear_manual_assignments xo::db::sql::workflow_case proc clear_manual_assignments xo::db::sql::workflow_case proc clear_manual_assignments->db_with_handle

Testcases:
No testcase defined.

xo::db::sql::workflow_case proc clear_task_assignments (public)

 xo::db::sql::workflow_case[i] clear_task_assignments [ -dbn dbn ] \
    -task_id task_id  -permanent_p permanent_p 

Automatically generated method

Switches:
-dbn
(optional)
-task_id
(required)
-permanent_p
(required)

Partial Call Graph (max 5 caller/called nodes):
%3 db_with_handle db_with_handle (public) xo::db::sql::workflow_case proc clear_task_assignments xo::db::sql::workflow_case proc clear_task_assignments xo::db::sql::workflow_case proc clear_task_assignments->db_with_handle

Testcases:
No testcase defined.

xo::db::sql::workflow_case proc consume_token (public)

 xo::db::sql::workflow_case[i] consume_token [ -dbn dbn ] \
    -case_id case_id  -place_key place_key  -journal_id journal_id  \
    [ -task_id task_id ]

Automatically generated method

Switches:
-dbn
(optional)
-case_id
(required)
-place_key
(required)
-journal_id
(required)
-task_id
(optional)

Partial Call Graph (max 5 caller/called nodes):
%3 db_with_handle db_with_handle (public) xo::db::sql::workflow_case proc consume_token xo::db::sql::workflow_case proc consume_token xo::db::sql::workflow_case proc consume_token->db_with_handle

Testcases:
No testcase defined.

xo::db::sql::workflow_case proc delete (public)

 xo::db::sql::workflow_case[i] delete [ -dbn dbn ] -case_id case_id 

Automatically generated method

Switches:
-dbn
(optional)
-case_id
(required)

Partial Call Graph (max 5 caller/called nodes):
%3 db_with_handle db_with_handle (public) xo::db::sql::workflow_case proc delete xo::db::sql::workflow_case proc delete xo::db::sql::workflow_case proc delete->db_with_handle

Testcases:
No testcase defined.

xo::db::sql::workflow_case proc enable_transitions (public)

 xo::db::sql::workflow_case[i] enable_transitions [ -dbn dbn ] \
    -case_id case_id 

Automatically generated method

Switches:
-dbn
(optional)
-case_id
(required)

Partial Call Graph (max 5 caller/called nodes):
%3 db_with_handle db_with_handle (public) xo::db::sql::workflow_case proc enable_transitions xo::db::sql::workflow_case proc enable_transitions xo::db::sql::workflow_case proc enable_transitions->db_with_handle

Testcases:
No testcase defined.

xo::db::sql::workflow_case proc end_task_action (public)

 xo::db::sql::workflow_case[i] end_task_action [ -dbn dbn ] \
    -journal_id journal_id  -action action  -task_id task_id 

Automatically generated method

Switches:
-dbn
(optional)
-journal_id
(required)
-action
(required)
-task_id
(required)

Partial Call Graph (max 5 caller/called nodes):
%3 db_with_handle db_with_handle (public) xo::db::sql::workflow_case proc end_task_action xo::db::sql::workflow_case proc end_task_action xo::db::sql::workflow_case proc end_task_action->db_with_handle

Testcases:
No testcase defined.

xo::db::sql::workflow_case proc ensure_task_in_state (public)

 xo::db::sql::workflow_case[i] ensure_task_in_state [ -dbn dbn ] \
    -task_id task_id  -state state 

Automatically generated method

Switches:
-dbn
(optional)
-task_id
(required)
-state
(required)

Partial Call Graph (max 5 caller/called nodes):
%3 db_with_handle db_with_handle (public) xo::db::sql::workflow_case proc ensure_task_in_state xo::db::sql::workflow_case proc ensure_task_in_state xo::db::sql::workflow_case proc ensure_task_in_state->db_with_handle

Testcases:
No testcase defined.

xo::db::sql::workflow_case proc evaluate_guard (public)

 xo::db::sql::workflow_case[i] evaluate_guard [ -dbn dbn ] \
    -callback callback  -custom_arg custom_arg  -case_id case_id  \
    -workflow_key workflow_key  -transition_key transition_key  \
    -place_key place_key  -direction direction 

Automatically generated method

Switches:
-dbn
(optional)
-callback
(required)
-custom_arg
(required)
-case_id
(required)
-workflow_key
(required)
-transition_key
(required)
-place_key
(required)
-direction
(required)

Partial Call Graph (max 5 caller/called nodes):
%3 db_with_handle db_with_handle (public) xo::db::sql::workflow_case proc evaluate_guard xo::db::sql::workflow_case proc evaluate_guard xo::db::sql::workflow_case proc evaluate_guard->db_with_handle

Testcases:
No testcase defined.

xo::db::sql::workflow_case proc execute_hold_timeout_callback (public)

 xo::db::sql::workflow_case[i] execute_hold_timeout_callback [ -dbn dbn ] \
    -callback callback  -custom_arg custom_arg  -case_id case_id  \
    -transition_key transition_key 

Automatically generated method

Switches:
-dbn
(optional)
-callback
(required)
-custom_arg
(required)
-case_id
(required)
-transition_key
(required)

Partial Call Graph (max 5 caller/called nodes):
%3 db_with_handle db_with_handle (public) xo::db::sql::workflow_case proc execute_hold_timeout_callback xo::db::sql::workflow_case proc execute_hold_timeout_callback xo::db::sql::workflow_case proc execute_hold_timeout_callback->db_with_handle

Testcases:
No testcase defined.

xo::db::sql::workflow_case proc execute_time_callback (public)

 xo::db::sql::workflow_case[i] execute_time_callback [ -dbn dbn ] \
    -callback callback  -custom_arg custom_arg  -case_id case_id  \
    -transition_key transition_key 

Automatically generated method

Switches:
-dbn
(optional)
-callback
(required)
-custom_arg
(required)
-case_id
(required)
-transition_key
(required)

Partial Call Graph (max 5 caller/called nodes):
%3 db_with_handle db_with_handle (public) xo::db::sql::workflow_case proc execute_time_callback xo::db::sql::workflow_case proc execute_time_callback xo::db::sql::workflow_case proc execute_time_callback->db_with_handle

Testcases:
No testcase defined.

xo::db::sql::workflow_case proc execute_transition_callback (public)

 xo::db::sql::workflow_case[i] execute_transition_callback [ -dbn dbn ] \
    -callback callback  -custom_arg custom_arg  -case_id case_id  \
    -transition_key transition_key 

Automatically generated method

Switches:
-dbn
(optional)
-callback
(required)
-custom_arg
(required)
-case_id
(required)
-transition_key
(required)

Partial Call Graph (max 5 caller/called nodes):
%3 db_with_handle db_with_handle (public) xo::db::sql::workflow_case proc execute_transition_callback xo::db::sql::workflow_case proc execute_transition_callback xo::db::sql::workflow_case proc execute_transition_callback->db_with_handle

Testcases:
No testcase defined.

xo::db::sql::workflow_case proc execute_unassigned_callback (public)

 xo::db::sql::workflow_case[i] execute_unassigned_callback [ -dbn dbn ] \
    -callback callback  -task_id task_id  -custom_arg custom_arg 

Automatically generated method

Switches:
-dbn
(optional)
-callback
(required)
-task_id
(required)
-custom_arg
(required)

Partial Call Graph (max 5 caller/called nodes):
%3 db_with_handle db_with_handle (public) xo::db::sql::workflow_case proc execute_unassigned_callback xo::db::sql::workflow_case proc execute_unassigned_callback xo::db::sql::workflow_case proc execute_unassigned_callback->db_with_handle

Testcases:
No testcase defined.

xo::db::sql::workflow_case proc finish_task (public)

 xo::db::sql::workflow_case[i] finish_task [ -dbn dbn ] -task_id task_id  \
    -journal_id journal_id 

Automatically generated method

Switches:
-dbn
(optional)
-task_id
(required)
-journal_id
(required)

Partial Call Graph (max 5 caller/called nodes):
%3 db_with_handle db_with_handle (public) xo::db::sql::workflow_case proc finish_task xo::db::sql::workflow_case proc finish_task xo::db::sql::workflow_case proc finish_task->db_with_handle

Testcases:
No testcase defined.

xo::db::sql::workflow_case proc finished_p (public)

 xo::db::sql::workflow_case[i] finished_p [ -dbn dbn ] -case_id case_id  \
    -journal_id journal_id 

Automatically generated method

Switches:
-dbn
(optional)
-case_id
(required)
-journal_id
(required)

Partial Call Graph (max 5 caller/called nodes):
%3 db_with_handle db_with_handle (public) xo::db::sql::workflow_case proc finished_p xo::db::sql::workflow_case proc finished_p xo::db::sql::workflow_case proc finished_p->db_with_handle

Testcases:
No testcase defined.

xo::db::sql::workflow_case proc fire_message_transition (public)

 xo::db::sql::workflow_case[i] fire_message_transition [ -dbn dbn ] \
    -task_id task_id 

Automatically generated method

Switches:
-dbn
(optional)
-task_id
(required)

Partial Call Graph (max 5 caller/called nodes):
%3 db_with_handle db_with_handle (public) xo::db::sql::workflow_case proc fire_message_transition xo::db::sql::workflow_case proc fire_message_transition xo::db::sql::workflow_case proc fire_message_transition->db_with_handle

Testcases:
No testcase defined.

xo::db::sql::workflow_case proc fire_transition_internal (public)

 xo::db::sql::workflow_case[i] fire_transition_internal [ -dbn dbn ] \
    -task_id task_id  -journal_id journal_id 

Automatically generated method

Switches:
-dbn
(optional)
-task_id
(required)
-journal_id
(required)

Partial Call Graph (max 5 caller/called nodes):
%3 db_with_handle db_with_handle (public) xo::db::sql::workflow_case proc fire_transition_internal xo::db::sql::workflow_case proc fire_transition_internal xo::db::sql::workflow_case proc fire_transition_internal->db_with_handle

Testcases:
No testcase defined.

xo::db::sql::workflow_case proc get_attribute_value (public)

 xo::db::sql::workflow_case[i] get_attribute_value [ -dbn dbn ] \
    -case_id case_id  -attribute_name attribute_name 

Automatically generated method

Switches:
-dbn
(optional)
-case_id
(required)
-attribute_name
(required)

Partial Call Graph (max 5 caller/called nodes):
%3 db_with_handle db_with_handle (public) xo::db::sql::workflow_case proc get_attribute_value xo::db::sql::workflow_case proc get_attribute_value xo::db::sql::workflow_case proc get_attribute_value->db_with_handle

Testcases:
No testcase defined.

xo::db::sql::workflow_case proc get_task_deadline (public)

 xo::db::sql::workflow_case[i] get_task_deadline [ -dbn dbn ] \
    -callback callback  -custom_arg custom_arg  \
    -attribute_name attribute_name  -case_id case_id  \
    -transition_key transition_key 

Automatically generated method

Switches:
-dbn
(optional)
-callback
(required)
-custom_arg
(required)
-attribute_name
(required)
-case_id
(required)
-transition_key
(required)

Partial Call Graph (max 5 caller/called nodes):
%3 db_with_handle db_with_handle (public) xo::db::sql::workflow_case proc get_task_deadline xo::db::sql::workflow_case proc get_task_deadline xo::db::sql::workflow_case proc get_task_deadline->db_with_handle

Testcases:
No testcase defined.

xo::db::sql::workflow_case proc get_task_id (public)

 xo::db::sql::workflow_case[i] get_task_id [ -dbn dbn ] -case_id case_id  \
    -transition_key transition_key 

Automatically generated method

Switches:
-dbn
(optional)
-case_id
(required)
-transition_key
(required)

Partial Call Graph (max 5 caller/called nodes):
%3 db_with_handle db_with_handle (public) xo::db::sql::workflow_case proc get_task_id xo::db::sql::workflow_case proc get_task_id xo::db::sql::workflow_case proc get_task_id->db_with_handle

Testcases:
No testcase defined.

xo::db::sql::workflow_case proc lock_token (public)

 xo::db::sql::workflow_case[i] lock_token [ -dbn dbn ] -case_id case_id  \
    -place_key place_key  -journal_id journal_id  -task_id task_id 

Automatically generated method

Switches:
-dbn
(optional)
-case_id
(required)
-place_key
(required)
-journal_id
(required)
-task_id
(required)

Partial Call Graph (max 5 caller/called nodes):
%3 db_with_handle db_with_handle (public) xo::db::sql::workflow_case proc lock_token xo::db::sql::workflow_case proc lock_token xo::db::sql::workflow_case proc lock_token->db_with_handle

Testcases:
No testcase defined.

xo::db::sql::workflow_case proc new (public)

 xo::db::sql::workflow_case[i] new [ -dbn dbn ] [ -case_id case_id ] \
    -workflow_key workflow_key  [ -context_key context_key ] \
    -object_id object_id  [ -creation_date creation_date ] \
    [ -creation_user creation_user ] [ -creation_ip creation_ip ] \
    [ -childof childof ]

Automatically generated method

Switches:
-dbn
(optional)
-case_id
(optional)
-workflow_key
(required)
-context_key
(optional)
-object_id
(required)
-creation_date
(defaults to "now()") (optional)
-creation_user
(optional)
-creation_ip
(optional)
-childof
(optional)

Partial Call Graph (max 5 caller/called nodes):
%3 db_with_handle db_with_handle (public) xo::db::sql::workflow_case proc new xo::db::sql::workflow_case proc new xo::db::sql::workflow_case proc new->db_with_handle

Testcases:
No testcase defined.

xo::db::sql::workflow_case proc notify_assignee (public)

 xo::db::sql::workflow_case[i] notify_assignee [ -dbn dbn ] \
    -task_id task_id  -user_id user_id  -callback callback  \
    -custom_arg custom_arg 

Automatically generated method

Switches:
-dbn
(optional)
-task_id
(required)
-user_id
(required)
-callback
(required)
-custom_arg
(required)

Partial Call Graph (max 5 caller/called nodes):
%3 db_with_handle db_with_handle (public) xo::db::sql::workflow_case proc notify_assignee xo::db::sql::workflow_case proc notify_assignee xo::db::sql::workflow_case proc notify_assignee->db_with_handle

Testcases:
No testcase defined.

xo::db::sql::workflow_case proc release_token (public)

 xo::db::sql::workflow_case[i] release_token [ -dbn dbn ] \
    -task_id task_id  -journal_id journal_id 

Automatically generated method

Switches:
-dbn
(optional)
-task_id
(required)
-journal_id
(required)

Partial Call Graph (max 5 caller/called nodes):
%3 db_with_handle db_with_handle (public) xo::db::sql::workflow_case proc release_token xo::db::sql::workflow_case proc release_token xo::db::sql::workflow_case proc release_token->db_with_handle

Testcases:
No testcase defined.

xo::db::sql::workflow_case proc remove_case_deadline (public)

 xo::db::sql::workflow_case[i] remove_case_deadline [ -dbn dbn ] \
    -case_id case_id  -transition_key transition_key 

Automatically generated method

Switches:
-dbn
(optional)
-case_id
(required)
-transition_key
(required)

Partial Call Graph (max 5 caller/called nodes):
%3 db_with_handle db_with_handle (public) xo::db::sql::workflow_case proc remove_case_deadline xo::db::sql::workflow_case proc remove_case_deadline xo::db::sql::workflow_case proc remove_case_deadline->db_with_handle

Testcases:
No testcase defined.

xo::db::sql::workflow_case proc remove_manual_assignment (public)

 xo::db::sql::workflow_case[i] remove_manual_assignment [ -dbn dbn ] \
    -case_id case_id  -role_key role_key  -party_id party_id 

Automatically generated method

Switches:
-dbn
(optional)
-case_id
(required)
-role_key
(required)
-party_id
(required)

Partial Call Graph (max 5 caller/called nodes):
%3 db_with_handle db_with_handle (public) xo::db::sql::workflow_case proc remove_manual_assignment xo::db::sql::workflow_case proc remove_manual_assignment xo::db::sql::workflow_case proc remove_manual_assignment->db_with_handle

Testcases:
No testcase defined.

xo::db::sql::workflow_case proc remove_task_assignment (public)

 xo::db::sql::workflow_case[i] remove_task_assignment [ -dbn dbn ] \
    -task_id task_id  -party_id party_id  -permanent_p permanent_p 

Automatically generated method

Switches:
-dbn
(optional)
-task_id
(required)
-party_id
(required)
-permanent_p
(required)

Partial Call Graph (max 5 caller/called nodes):
%3 db_with_handle db_with_handle (public) xo::db::sql::workflow_case proc remove_task_assignment xo::db::sql::workflow_case proc remove_task_assignment xo::db::sql::workflow_case proc remove_task_assignment->db_with_handle

Testcases:
No testcase defined.

xo::db::sql::workflow_case proc resume (public)

 xo::db::sql::workflow_case[i] resume [ -dbn dbn ] -case_id case_id  \
    [ -user_id user_id ] [ -ip_address ip_address ] [ -msg msg ]

Automatically generated method

Switches:
-dbn
(optional)
-case_id
(required)
-user_id
(optional)
-ip_address
(optional)
-msg
(optional)

Partial Call Graph (max 5 caller/called nodes):
%3 db_with_handle db_with_handle (public) xo::db::sql::workflow_case proc resume xo::db::sql::workflow_case proc resume xo::db::sql::workflow_case proc resume->db_with_handle

Testcases:
No testcase defined.

xo::db::sql::workflow_case proc set_attribute_value (public)

 xo::db::sql::workflow_case[i] set_attribute_value [ -dbn dbn ] \
    -journal_id journal_id  -attribute_name attribute_name  \
    -value value 

Automatically generated method

Switches:
-dbn
(optional)
-journal_id
(required)
-attribute_name
(required)
-value
(required)

Partial Call Graph (max 5 caller/called nodes):
%3 db_with_handle db_with_handle (public) xo::db::sql::workflow_case proc set_attribute_value xo::db::sql::workflow_case proc set_attribute_value xo::db::sql::workflow_case proc set_attribute_value->db_with_handle

Testcases:
No testcase defined.

xo::db::sql::workflow_case proc set_case_deadline (public)

 xo::db::sql::workflow_case[i] set_case_deadline [ -dbn dbn ] \
    -case_id case_id  -transition_key transition_key  \
    -deadline deadline 

Automatically generated method

Switches:
-dbn
(optional)
-case_id
(required)
-transition_key
(required)
-deadline
(required)

Partial Call Graph (max 5 caller/called nodes):
%3 db_with_handle db_with_handle (public) xo::db::sql::workflow_case proc set_case_deadline xo::db::sql::workflow_case proc set_case_deadline xo::db::sql::workflow_case proc set_case_deadline->db_with_handle

Testcases:
No testcase defined.

xo::db::sql::workflow_case proc set_task_assignments (public)

 xo::db::sql::workflow_case[i] set_task_assignments [ -dbn dbn ] \
    -task_id task_id  -callback callback  -custom_arg custom_arg 

Automatically generated method

Switches:
-dbn
(optional)
-task_id
(required)
-callback
(required)
-custom_arg
(required)

Partial Call Graph (max 5 caller/called nodes):
%3 db_with_handle db_with_handle (public) xo::db::sql::workflow_case proc set_task_assignments xo::db::sql::workflow_case proc set_task_assignments xo::db::sql::workflow_case proc set_task_assignments->db_with_handle

Testcases:
No testcase defined.

xo::db::sql::workflow_case proc start_case (public)

 xo::db::sql::workflow_case[i] start_case [ -dbn dbn ] -case_id case_id  \
    [ -creation_user creation_user ] [ -creation_ip creation_ip ] \
    [ -msg msg ]

Automatically generated method

Switches:
-dbn
(optional)
-case_id
(required)
-creation_user
(optional)
-creation_ip
(optional)
-msg
(optional)

Partial Call Graph (max 5 caller/called nodes):
%3 db_with_handle db_with_handle (public) xo::db::sql::workflow_case proc start_case xo::db::sql::workflow_case proc start_case xo::db::sql::workflow_case proc start_case->db_with_handle

Testcases:
No testcase defined.

xo::db::sql::workflow_case proc start_task (public)

 xo::db::sql::workflow_case[i] start_task [ -dbn dbn ] -task_id task_id  \
    -user_id user_id  -journal_id journal_id 

Automatically generated method

Switches:
-dbn
(optional)
-task_id
(required)
-user_id
(required)
-journal_id
(required)

Partial Call Graph (max 5 caller/called nodes):
%3 db_with_handle db_with_handle (public) xo::db::sql::workflow_case proc start_task xo::db::sql::workflow_case proc start_task xo::db::sql::workflow_case proc start_task->db_with_handle

Testcases:
No testcase defined.

xo::db::sql::workflow_case proc suspend (public)

 xo::db::sql::workflow_case[i] suspend [ -dbn dbn ] -case_id case_id  \
    [ -user_id user_id ] [ -ip_address ip_address ] [ -msg msg ]

Automatically generated method

Switches:
-dbn
(optional)
-case_id
(required)
-user_id
(optional)
-ip_address
(optional)
-msg
(optional)

Partial Call Graph (max 5 caller/called nodes):
%3 db_with_handle db_with_handle (public) xo::db::sql::workflow_case proc suspend xo::db::sql::workflow_case proc suspend xo::db::sql::workflow_case proc suspend->db_with_handle

Testcases:
No testcase defined.

xo::db::sql::workflow_case proc sweep_automatic_transitions (public)

 xo::db::sql::workflow_case[i] sweep_automatic_transitions [ -dbn dbn ] \
    -case_id case_id  -journal_id journal_id 

Automatically generated method

Switches:
-dbn
(optional)
-case_id
(required)
-journal_id
(required)

Partial Call Graph (max 5 caller/called nodes):
%3 db_with_handle db_with_handle (public) xo::db::sql::workflow_case proc sweep_automatic_transitions xo::db::sql::workflow_case proc sweep_automatic_transitions xo::db::sql::workflow_case proc sweep_automatic_transitions->db_with_handle

Testcases:
No testcase defined.

xo::db::sql::workflow_case proc sweep_hold_timeout (public)

 xo::db::sql::workflow_case[i] sweep_hold_timeout [ -dbn dbn ]

Automatically generated method

Switches:
-dbn
(optional)

Partial Call Graph (max 5 caller/called nodes):
%3 db_with_handle db_with_handle (public) xo::db::sql::workflow_case proc sweep_hold_timeout xo::db::sql::workflow_case proc sweep_hold_timeout xo::db::sql::workflow_case proc sweep_hold_timeout->db_with_handle

Testcases:
No testcase defined.

xo::db::sql::workflow_case proc sweep_timed_transitions (public)

 xo::db::sql::workflow_case[i] sweep_timed_transitions [ -dbn dbn ]

Automatically generated method

Switches:
-dbn
(optional)

Partial Call Graph (max 5 caller/called nodes):
%3 db_with_handle db_with_handle (public) xo::db::sql::workflow_case proc sweep_timed_transitions xo::db::sql::workflow_case proc sweep_timed_transitions xo::db::sql::workflow_case proc sweep_timed_transitions->db_with_handle

Testcases:
No testcase defined.

xo::db::sql::workflow_case proc task_action (public)

 xo::db::sql::workflow_case[i] task_action [ -dbn dbn ] -task_id task_id  \
    -action action  -action_ip action_ip  -user_id user_id  \
    [ -msg msg ]

Automatically generated method

Switches:
-dbn
(optional)
-task_id
(required)
-action
(required)
-action_ip
(required)
-user_id
(required)
-msg
(optional)

Partial Call Graph (max 5 caller/called nodes):
%3 db_with_handle db_with_handle (public) xo::db::sql::workflow_case proc task_action xo::db::sql::workflow_case proc task_action xo::db::sql::workflow_case proc task_action->db_with_handle

Testcases:
No testcase defined.

xo::db::sql::workflow_case_log_entry proc new (public)

 xo::db::sql::workflow_case_log_entry[i] new [ -dbn dbn ] \
    -entry_id entry_id  [ -content_type content_type ] \
    -case_id case_id  -action_id action_id  -comment comment  \
    -comment_mime_type comment_mime_type  \
    -creation_user creation_user  -creation_ip creation_ip  \
    -package_id package_id  [ -childof childof ]

Automatically generated method

Switches:
-dbn
(optional)
-entry_id
(required)
-content_type
(defaults to "workflow_case_log_entry") (optional)
-case_id
(required)
-action_id
(required)
-comment
(required)
-comment_mime_type
(required)
-creation_user
(required)
-creation_ip
(required)
-package_id
(required)
-childof
(optional)

Partial Call Graph (max 5 caller/called nodes):
%3 db_with_handle db_with_handle (public) xo::db::sql::workflow_case_log_entry proc new xo::db::sql::workflow_case_log_entry proc new xo::db::sql::workflow_case_log_entry proc new->db_with_handle

Testcases:
No testcase defined.

xo::db::sql::workflow_case_pkg proc delete (public)

 xo::db::sql::workflow_case_pkg[i] delete [ -dbn dbn ] \
    -delete_case_id delete_case_id 

Automatically generated method

Switches:
-dbn
(optional)
-delete_case_id
(required)

Partial Call Graph (max 5 caller/called nodes):
%3 db_with_handle db_with_handle (public) xo::db::sql::workflow_case_pkg proc delete xo::db::sql::workflow_case_pkg proc delete xo::db::sql::workflow_case_pkg proc delete->db_with_handle

Testcases:
No testcase defined.

xo::db::sql::workflow_case_pkg proc get_pretty_state (public)

 xo::db::sql::workflow_case_pkg[i] get_pretty_state [ -dbn dbn ] \
    -workflow_short_name workflow_short_name  -object_id object_id 

Automatically generated method

Switches:
-dbn
(optional)
-workflow_short_name
(required)
-object_id
(required)

Partial Call Graph (max 5 caller/called nodes):
%3 db_with_handle db_with_handle (public) xo::db::sql::workflow_case_pkg proc get_pretty_state xo::db::sql::workflow_case_pkg proc get_pretty_state xo::db::sql::workflow_case_pkg proc get_pretty_state->db_with_handle

Testcases:
No testcase defined.

xo::db::sql::wp_attachment proc delete (public)

 xo::db::sql::wp_attachment[i] delete [ -dbn dbn ] \
    -attach_item_id attach_item_id 

Automatically generated method

Switches:
-dbn
(optional)
-attach_item_id
(required)

Partial Call Graph (max 5 caller/called nodes):
%3 db_with_handle db_with_handle (public) xo::db::sql::wp_attachment proc delete xo::db::sql::wp_attachment proc delete xo::db::sql::wp_attachment proc delete->db_with_handle

Testcases:
No testcase defined.

xo::db::sql::wp_attachment proc new_revision (public)

 xo::db::sql::wp_attachment[i] new_revision [ -dbn dbn ] \
    -attach_item_id attach_item_id 

Automatically generated method

Switches:
-dbn
(optional)
-attach_item_id
(required)

Partial Call Graph (max 5 caller/called nodes):
%3 db_with_handle db_with_handle (public) xo::db::sql::wp_attachment proc new_revision xo::db::sql::wp_attachment proc new_revision xo::db::sql::wp_attachment proc new_revision->db_with_handle

Testcases:
No testcase defined.

xo::db::sql::wp_presentation proc delete (public)

 xo::db::sql::wp_presentation[i] delete [ -dbn dbn ] \
    -pres_item_id pres_item_id 

Automatically generated method

Switches:
-dbn
(optional)
-pres_item_id
(required)

Partial Call Graph (max 5 caller/called nodes):
%3 db_with_handle db_with_handle (public) xo::db::sql::wp_presentation proc delete xo::db::sql::wp_presentation proc delete xo::db::sql::wp_presentation proc delete->db_with_handle

Testcases:
No testcase defined.

xo::db::sql::wp_presentation proc delete_audience (public)

 xo::db::sql::wp_presentation[i] delete_audience [ -dbn dbn ] \
    -audience_item_id audience_item_id 

Automatically generated method

Switches:
-dbn
(optional)
-audience_item_id
(required)

Partial Call Graph (max 5 caller/called nodes):
%3 db_with_handle db_with_handle (public) xo::db::sql::wp_presentation proc delete_audience xo::db::sql::wp_presentation proc delete_audience xo::db::sql::wp_presentation proc delete_audience->db_with_handle

Testcases:
No testcase defined.

xo::db::sql::wp_presentation proc delete_background (public)

 xo::db::sql::wp_presentation[i] delete_background [ -dbn dbn ] \
    -background_item_id background_item_id 

Automatically generated method

Switches:
-dbn
(optional)
-background_item_id
(required)

Partial Call Graph (max 5 caller/called nodes):
%3 db_with_handle db_with_handle (public) xo::db::sql::wp_presentation proc delete_background xo::db::sql::wp_presentation proc delete_background xo::db::sql::wp_presentation proc delete_background->db_with_handle

Testcases:
No testcase defined.

xo::db::sql::wp_presentation proc get_ad_revision (public)

 xo::db::sql::wp_presentation[i] get_ad_revision [ -dbn dbn ] \
    -pres_revision_id pres_revision_id 

Automatically generated method

Switches:
-dbn
(optional)
-pres_revision_id
(required)

Partial Call Graph (max 5 caller/called nodes):
%3 db_with_handle db_with_handle (public) xo::db::sql::wp_presentation proc get_ad_revision xo::db::sql::wp_presentation proc get_ad_revision xo::db::sql::wp_presentation proc get_ad_revision->db_with_handle

Testcases:
No testcase defined.

xo::db::sql::wp_presentation proc get_audience (public)

 xo::db::sql::wp_presentation[i] get_audience [ -dbn dbn ] \
    -pres_item_id pres_item_id 

Automatically generated method

Switches:
-dbn
(optional)
-pres_item_id
(required)

Partial Call Graph (max 5 caller/called nodes):
%3 db_with_handle db_with_handle (public) xo::db::sql::wp_presentation proc get_audience xo::db::sql::wp_presentation proc get_audience xo::db::sql::wp_presentation proc get_audience->db_with_handle

Testcases:
No testcase defined.

xo::db::sql::wp_presentation proc get_background (public)

 xo::db::sql::wp_presentation[i] get_background [ -dbn dbn ] \
    -pres_item_id pres_item_id 

Automatically generated method

Switches:
-dbn
(optional)
-pres_item_id
(required)

Partial Call Graph (max 5 caller/called nodes):
%3 db_with_handle db_with_handle (public) xo::db::sql::wp_presentation proc get_background xo::db::sql::wp_presentation proc get_background xo::db::sql::wp_presentation proc get_background->db_with_handle

Testcases:
No testcase defined.

xo::db::sql::wp_presentation proc get_bg_revision (public)

 xo::db::sql::wp_presentation[i] get_bg_revision [ -dbn dbn ] \
    -pres_revision_id pres_revision_id 

Automatically generated method

Switches:
-dbn
(optional)
-pres_revision_id
(required)

Partial Call Graph (max 5 caller/called nodes):
%3 db_with_handle db_with_handle (public) xo::db::sql::wp_presentation proc get_bg_revision xo::db::sql::wp_presentation proc get_bg_revision xo::db::sql::wp_presentation proc get_bg_revision->db_with_handle

Testcases:
No testcase defined.

xo::db::sql::wp_presentation proc new (public)

 xo::db::sql::wp_presentation[i] new [ -dbn dbn ] \
    -creation_date creation_date  -creation_user creation_user  \
    -creation_ip creation_ip  -pres_title pres_title  \
    -page_signature page_signature  \
    -copyright_notice copyright_notice  -style style  \
    -public_p public_p  -show_modified_p show_modified_p  -aud aud  \
    -back back  -parent_id parent_id  [ -childof childof ]

Automatically generated method

Switches:
-dbn
(optional)
-creation_date
(required)
-creation_user
(required)
-creation_ip
(required)
-pres_title
(required)
-page_signature
(required)
-copyright_notice
(required)
-style
(required)
-public_p
(required)
-show_modified_p
(required)
-aud
(required)
-back
(required)
-parent_id
(required)
-childof
(optional)

Partial Call Graph (max 5 caller/called nodes):
%3 db_with_handle db_with_handle (public) xo::db::sql::wp_presentation proc new xo::db::sql::wp_presentation proc new xo::db::sql::wp_presentation proc new->db_with_handle

Testcases:
No testcase defined.

xo::db::sql::wp_presentation proc new_revision (public)

 xo::db::sql::wp_presentation[i] new_revision [ -dbn dbn ] \
    -creation_date creation_date  -creation_user creation_user  \
    -creation_ip creation_ip  -pres_item_id pres_item_id  \
    -pres_title pres_title  -page_signature page_signature  \
    -copyright_notice copyright_notice  -style style  \
    -public_p public_p  -show_modified_p show_modified_p  \
    -audience audience  -background background 

Automatically generated method

Switches:
-dbn
(optional)
-creation_date
(required)
-creation_user
(required)
-creation_ip
(required)
-pres_item_id
(required)
-pres_title
(required)
-page_signature
(required)
-copyright_notice
(required)
-style
(required)
-public_p
(required)
-show_modified_p
(required)
-audience
(required)
-background
(required)

Partial Call Graph (max 5 caller/called nodes):
%3 db_with_handle db_with_handle (public) xo::db::sql::wp_presentation proc new_revision xo::db::sql::wp_presentation proc new_revision xo::db::sql::wp_presentation proc new_revision->db_with_handle

Testcases:
No testcase defined.

xo::db::sql::wp_presentation proc set_live_revision (public)

 xo::db::sql::wp_presentation[i] set_live_revision [ -dbn dbn ] \
    -revision_id revision_id 

Automatically generated method

Switches:
-dbn
(optional)
-revision_id
(required)

Partial Call Graph (max 5 caller/called nodes):
%3 db_with_handle db_with_handle (public) xo::db::sql::wp_presentation proc set_live_revision xo::db::sql::wp_presentation proc set_live_revision xo::db::sql::wp_presentation proc set_live_revision->db_with_handle

Testcases:
No testcase defined.

xo::db::sql::wp_slide proc delete (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)

Partial Call Graph (max 5 caller/called nodes):
%3 db_with_handle db_with_handle (public) xo::db::sql::wp_slide proc delete xo::db::sql::wp_slide proc delete xo::db::sql::wp_slide proc delete->db_with_handle

Testcases:
No testcase defined.

xo::db::sql::wp_slide proc delete_bullet_items (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)

Partial Call Graph (max 5 caller/called nodes):
%3 db_with_handle db_with_handle (public) xo::db::sql::wp_slide proc delete_bullet_items xo::db::sql::wp_slide proc delete_bullet_items xo::db::sql::wp_slide proc delete_bullet_items->db_with_handle

Testcases:
No testcase defined.

xo::db::sql::wp_slide proc delete_postamble (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)

Partial Call Graph (max 5 caller/called nodes):
%3 db_with_handle db_with_handle (public) xo::db::sql::wp_slide proc delete_postamble xo::db::sql::wp_slide proc delete_postamble xo::db::sql::wp_slide proc delete_postamble->db_with_handle

Testcases:
No testcase defined.

xo::db::sql::wp_slide proc delete_preamble (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)

Partial Call Graph (max 5 caller/called nodes):
%3 db_with_handle db_with_handle (public) xo::db::sql::wp_slide proc delete_preamble xo::db::sql::wp_slide proc delete_preamble xo::db::sql::wp_slide proc delete_preamble->db_with_handle

Testcases:
No testcase defined.

xo::db::sql::wp_slide proc get_bullet_items (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)

Partial Call Graph (max 5 caller/called nodes):
%3 db_with_handle db_with_handle (public) xo::db::sql::wp_slide proc get_bullet_items xo::db::sql::wp_slide proc get_bullet_items xo::db::sql::wp_slide proc get_bullet_items->db_with_handle

Testcases:
No testcase defined.

xo::db::sql::wp_slide proc get_bullet_items_revision (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)

Partial Call Graph (max 5 caller/called nodes):
%3 db_with_handle db_with_handle (public) xo::db::sql::wp_slide proc get_bullet_items_revision xo::db::sql::wp_slide proc get_bullet_items_revision xo::db::sql::wp_slide proc get_bullet_items_revision->db_with_handle

Testcases:
No testcase defined.

xo::db::sql::wp_slide proc get_postamble (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)

Partial Call Graph (max 5 caller/called nodes):
%3 db_with_handle db_with_handle (public) xo::db::sql::wp_slide proc get_postamble xo::db::sql::wp_slide proc get_postamble xo::db::sql::wp_slide proc get_postamble->db_with_handle

Testcases:
No testcase defined.

xo::db::sql::wp_slide proc get_postamble_revision (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)

Partial Call Graph (max 5 caller/called nodes):
%3 db_with_handle db_with_handle (public) xo::db::sql::wp_slide proc get_postamble_revision xo::db::sql::wp_slide proc get_postamble_revision xo::db::sql::wp_slide proc get_postamble_revision->db_with_handle

Testcases:
No testcase defined.

xo::db::sql::wp_slide proc get_preamble (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)

Partial Call Graph (max 5 caller/called nodes):
%3 db_with_handle db_with_handle (public) xo::db::sql::wp_slide proc get_preamble xo::db::sql::wp_slide proc get_preamble xo::db::sql::wp_slide proc get_preamble->db_with_handle

Testcases:
No testcase defined.

xo::db::sql::wp_slide proc get_preamble_revision (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)

Partial Call Graph (max 5 caller/called nodes):
%3 db_with_handle db_with_handle (public) xo::db::sql::wp_slide proc get_preamble_revision xo::db::sql::wp_slide proc get_preamble_revision xo::db::sql::wp_slide proc get_preamble_revision->db_with_handle

Testcases:
No testcase defined.

xo::db::sql::wp_slide proc new (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)

Partial Call Graph (max 5 caller/called nodes):
%3 db_with_handle db_with_handle (public) xo::db::sql::wp_slide proc new xo::db::sql::wp_slide proc new xo::db::sql::wp_slide proc new->db_with_handle

Testcases:
No testcase defined.

xo::db::sql::wp_slide proc new_revision (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)

Partial Call Graph (max 5 caller/called nodes):
%3 db_with_handle db_with_handle (public) xo::db::sql::wp_slide proc new_revision xo::db::sql::wp_slide proc new_revision xo::db::sql::wp_slide proc new_revision->db_with_handle

Testcases:
No testcase defined.

xo::db::sql::wp_style proc delete (public)

 xo::db::sql::wp_style[i] delete [ -dbn dbn ] -style_id style_id 

Automatically generated method

Switches:
-dbn
(optional)
-style_id
(required)

Partial Call Graph (max 5 caller/called nodes):
%3 db_with_handle db_with_handle (public) xo::db::sql::wp_style proc delete xo::db::sql::wp_style proc delete xo::db::sql::wp_style proc delete->db_with_handle

Testcases:
No testcase defined.

xo::db::sql::wp_style proc image_delete (public)

 xo::db::sql::wp_style[i] image_delete [ -dbn dbn ] \
    -revision_id revision_id 

Automatically generated method

Switches:
-dbn
(optional)
-revision_id
(required)

Partial Call Graph (max 5 caller/called nodes):
%3 db_with_handle db_with_handle (public) xo::db::sql::wp_style proc image_delete xo::db::sql::wp_style proc image_delete xo::db::sql::wp_style proc image_delete->db_with_handle

Testcases:
No testcase defined.

xo::db::tcl_date (public)

 xo::db::tcl_date timestamp tz_var [ secfrac_var ]

Convert the timestamp (coming from the database) into a format, which can be passed to Tcl's "clock scan".

Parameters:
timestamp
tz_var
secfrac_var (optional)

Partial Call Graph (max 5 caller/called nodes):
%3 test_test_misc_core test_misc_core (test xotcl-core) xo::db::tcl_date xo::db::tcl_date test_test_misc_core->xo::db::tcl_date Class ::xo::ical::VCALITEM Class ::xo::ical::VCALITEM (public) Class ::xo::ical::VCALITEM->xo::db::tcl_date Class ::xowf::test_item::Answer_manager Class ::xowf::test_item::Answer_manager (public) Class ::xowf::test_item::Answer_manager->xo::db::tcl_date Class ::xowf::test_item::Question_manager Class ::xowf::test_item::Question_manager (public) Class ::xowf::test_item::Question_manager->xo::db::tcl_date packages/xowiki/lib/portlets/weblog-mini-calendar.tcl packages/xowiki/ lib/portlets/weblog-mini-calendar.tcl packages/xowiki/lib/portlets/weblog-mini-calendar.tcl->xo::db::tcl_date xo::PackageMgr instproc require_site_wide_pages xo::PackageMgr instproc require_site_wide_pages (public) xo::PackageMgr instproc require_site_wide_pages->xo::db::tcl_date

Testcases:
test_misc_core
[ hide source ] | [ make this the default ]

Content File Source

::xo::library doc {

  XOTcl API for low-level db abstraction

  @author Gustaf Neumann
  @creation-date 2006-12-28
  @cvs-id $Id: 05-db-procs.tcl,v 1.148.2.83 2023/04/19 17:19:23 gustafn Exp $
}

namespace eval ::xo::db {

  ##########################################################################
  #
  # XOTcl based Database Abstraction Layer
  #
  # The communication to the database is determined by
  # - the SQL Dialect
  # - the database driver
  #
  # The following classes define means to compose the behavior in
  # connection objects based on these two aspects. The default
  # database connection is configured in an object ::xo::dc (for
  # database context) quite similar to ::xo::cc (the default
  # connection context). In general, ::xo::dc can be reconfigured at
  # run time, and multiple database context can be established,
  # although there is no high-level support to connect to multiple
  # different OpenACS databases at the same time.
  #
  ##########################################################################

  #
  # Backend language specific (SQL Dialects)
  #
  ::xotcl::Class create ::xo::db::SQL
  ::xo::db::SQL abstract instproc select {type}
  ::xo::db::SQL abstract instproc date_trunc {type}
  ::xo::db::SQL abstract instproc date_trunc_expression {type}

  #
  # generic (fallback) methods
  #
  ::xo::db::SQL instproc map_datatype {type} {
    #
    # Map a generic datatype to a real datatype of the underlying
    # database management system. This function is typically refined
    # for concrete database systems.
    #
    # If a mapping is not found we keep the type unaltered, but this
    # will currently break acs_attributes_datatype_fk when creating
    # acs_attributes with an unmapped type.
    return [::xo::dc get_value map "
     select database_type from acs_datatypes
      where datatype = :type" $type]
  }
  ::xo::db::SQL instproc map_function_name        {sql} {return $sql}
  ::xo::db::SQL instproc datatype_constraint      {type table att} {return ""}
  ::xo::db::SQL instproc interval {interval} {
    return [clock format [clock scan "-$interval"] -format "%Y-%m-%d %T"]
  }
  ::xo::db::SQL instproc since_interval_condition {var interval} {
    set since '[clock format [clock scan "-$interval"] -format "%Y-%m-%d %T"]'
    return "$var > TO_TIMESTAMP($since,'YYYY-MM-DD HH24:MI:SS')"
  }
  ::xo::db::SQL instproc has_ltree {} {return 0}
  ::xo::db::SQL instproc has_hstore {} {return 0}
  ::xo::db::SQL instproc mk_sql_constraint_name {table att suffix} {
    return ${table}_${att}_$suffix
  }


  ##########################################################################
  #
  # PostgreSQL specific methods
  #
  ##########################################################################

  ::xotcl::Class create ::xo::db::postgresql -superclass ::xo::db::SQL

  ::xo::db::postgresql instproc map_datatype {type} {
    switch -- $type {
      string    { set type text }
      long_text { set type text }
      date      { set type "timestamp with time zone" }
      ltree     { set type [expr {[::xo::dc has_ltree] ? "ltree" : "text" }] }
      default   { return [next] }
    }
    return $type
  }

  ::xo::db::postgresql instproc select {
    -vars:required
    -from:required
    {-where ""}
    {-groupby ""}
    {-limit ""}
    {-offset ""}
    {-start ""}
    {-orderby ""}
    {-map_function_names false}
  } {
    set where_clause  [expr {$where   ne "" ? "WHERE $where" : ""}]
    set offset_clause [expr {$offset  ne "" ? "OFFSET $offset" : ""}]
    set limit_clause  [expr {$limit   ne "" ? "LIMIT $limit" : ""}]
    set order_clause  [expr {$orderby ne "" ? "ORDER BY $orderby" : ""}]
    set group_clause  [expr {$groupby ne "" ? "GROUP BY $groupby" : ""}]
    return "SELECT $vars FROM $from $where_clause $group_clause $order_clause $limit_clause $offset_clause"
  }

  ::xo::db::postgresql instproc date_trunc {field date} {
    return "date_trunc('$field',$date)"
  }
  ::xo::db::postgresql instproc date_trunc_expression {field date date_string} {
    if {![string match :* $date_string]} {set date_string "'$date_string'"}
    return "date_trunc('$field',$date) = $date_string"
  }

  ::xo::db::postgresql instproc has_ltree {} {
    ::xo::xotcl_package_cache eval [self]::has_ltree {
      if {[:get_value check_ltree "select count(*) from pg_proc where proname = 'ltree_in'"] > 0} {
        return 1
      }
      return 0
    }
  }
  ::xo::db::postgresql instproc has_hstore {} {
    ::xo::xotcl_package_cache eval [self]::has_hstore {
      if {[:get_value check_ltree "select count(*) from pg_proc where proname = 'hstore_in'"] > 0} {
        return 1
      }
      return 0
    }
  }

  namespace eval ::db {}
  ::xo::db::postgresql instproc nextval {sequence} {
    if {![info exists ::db::sequences]} {
      ns_log notice "-- creating per thread sequence table"
      foreach s [::xo::dc list relnames "select relname from pg_class where relkind = 'S'"] {
        set ::db::sequences($s) 1
      }
    }
    if {[info exists ::db::sequences(t_$sequence)]} {
      #ns_log notice "-- found t_$sequence"
      set sequenceName t_$sequence
      set nextval [::xo::dc get_value nextval "select nextval(:sequenceName)"]
    } elseif {[info exists ::db::sequences($sequence)]} {
      #ns_log notice "-- found $sequence"
      set sequenceName $sequence
      set nextval [::xo::dc get_value nextval "select nextval(:sequenceName)"]
    } elseif { [::xo::dc 0or1row nextval_sequence {
      select nextval(:sequence) as nextval
      where (select relkind
             from pg_class
             where relname = :sequence) = 'S'
    }]} {
      #
      # We do not have an according sequence-table. Use the system catalog to check
      # for the sequence
      #
      # ... the query sets nextval if it succeeds
      #
    } else {
      #
      # finally, there might be a view with a nextval
      #
      ns_log debug "db_nextval: sequence($sequence) is not a real sequence.  Perhaps it uses the view hack."
      set nextval [::xo::dc get_value nextval "select nextval from :sequence"]
    }
    return $nextval
  }


  ##########################################################################
  #
  # Oracle specific methods
  #
  ##########################################################################

  ::xotcl::Class create ::xo::db::oracle -superclass ::xo::db::SQL

  ::xo::db::oracle instproc map_function_name {sql} {
    return [string map [list "__" .] $sql]
  }

  ::xo::db::oracle instproc limit_clause {
    {-sql}
    {-limit ""}
    {-offset ""}
  } {
    if {$limit ne "" || $offset ne ""} {
      if {$offset eq ""} {
        #
        # Only a limit is given.
        #
        set limit_clause "ROWNUM <= $limit"
      } elseif {$limit eq ""} {
        #
        # Only an offset is given.
        #
        set limit_clause "ROWNUM >= $offset"
      } else {
        #
        # Both, an offset and limit is given.
        #
        set limit_clause "ROWNUM BETWEEN $offset and [expr {$offset+$limit}]"
      }
      # for pagination, we will need an "inner" sort, such as
      # SELECT * FROM (SELECT ...., ROW_NUMBER() OVER (ORDER BY ...) R FROM table) WHERE R BETWEEN 0 and 100
      set sql "SELECT * FROM ($sql) WHERE $limit_clause"
    }
    return $sql
  }

  ::xo::db::oracle instproc map_datatype {type} {
    switch -- $type {
      string    { set type varchar2(1000) }
      text      { set type varchar2(4000) }
      long_text { set type clob }
      boolean   { set type char(1) }
      ltree     { set type varchar2(1000) }
      default   { return [next] }
    }
    return $type
  }

  ::xo::db::oracle instproc datatype_constraint {type table att} {
    set constraint ""
    switch -- $type {
      boolean {
        set cname [:mk_sql_constraint_name $table $att _ck]
        set constraint "constraint $cname check ($att in ('t','f'))"}
    }
    return $constraint
  }

  ::xo::db::oracle instproc select {
    -vars:required
    -from:required
    {-where ""}
    {-groupby ""}
    {-limit ""}
    {-offset ""}
    {-start ""}
    {-orderby ""}
    {-map_function_names false}
  } {
    # "-start" not used so far
    set where_clause [expr {$where   ne "" ? "WHERE $where" : ""}]
    set order_clause [expr {$orderby ne "" ? "ORDER BY $orderby" : ""}]
    set group_clause [expr {$groupby ne "" ? "GROUP BY $groupby" : ""}]
    set offset_clause [expr {$offset  ne "" ? "OFFSET $offset ROWS" : ""}]
    set limit_clause  [expr {$limit   ne "" ? "FETCH NEXT $limit ROWS ONLY" : ""}]
    if {$map_function_names} {set vars [:map_function_name $vars]}
    set sql "SELECT $vars FROM $from $where_clause $group_clause $order_clause $offset_clause $limit_clause"
    #:log "--returned sql = $sql"
    return $sql
  }
  ::xo::db::oracle instproc date_trunc {field date} {
    return "to_char(trunc($date,'$field'), 'YYYY-MM-DD HH24:MI:SS')"
  }
  ::xo::db::oracle instproc date_trunc_expression {field date date_string} {
    if {![string match :* $date_string]} {set date_string "'$date_string'"}
    return "trunc($date,'$field') = trunc(to_date($date_string,'YYYY-MM-DD'),'$field')"
  }
  ::xo::db::oracle instproc mk_sql_constraint_name {table att suffix} {
    #
    # Constraint names are limited in oracle to 30 characters;
    # PostgreSQL has no such limits. Therefore, we use different
    # rules depending on whether we are running under Oracle or not.
    #
    set name ${table}_${att}_$suffix
    if {[string length $name] > 30} {
      set sl [string length $suffix]
      set name [string range ${table}_${att}  0 [expr {28 - $sl}]]_$suffix
    }
    return [string toupper $name]
  }

  ::xo::db::oracle instproc nextval {sequence} {
    return [xo::dc get_value nextval "select $sequence.nextval from dual"]
  }

  ##########################################################################
  #
  # Database Driver
  #
  # Abstract form the Tcl interface that the drivers are offering to
  # issue SQL commands and to perform profiling.
  #

  ::xotcl::Class create ::xo::db::Driver -parameter dialect
  ::xo::db::Driver abstract instproc sets           {{-dbn ""} {-bind ""} -prepare qn sql}
  ::xo::db::Driver abstract instproc 0or1row        {{-dbn ""} {-bind ""} -prepare qn sql}
  ::xo::db::Driver abstract instproc 1row           {{-dbn ""} {-bind ""} -prepare qn sql}
  ::xo::db::Driver abstract instproc get_value      {{-dbn ""} {-bind ""} -prepare qn sql {default ""}}
  ::xo::db::Driver abstract instproc list_of_lists  {{-dbn ""} {-bind ""} -prepare qn sql}
  ::xo::db::Driver abstract instproc list           {{-dbn ""} {-bind ""} -prepare qn sql}
  ::xo::db::Driver abstract instproc dml            {{-dbn ""} {-bind ""} -prepare qn sql}
  ::xo::db::Driver abstract instproc foreach        {{-dbn ""} {-bind ""} -prepare qn sql {script}}
  ::xo::db::Driver abstract instproc row_lock       {{-dbn ""} {-bind ""} {-for "UPDATE"} -prepare qn sql}
  ::xo::db::Driver abstract instproc transaction    {{-dbn ""} script args}
  ::xo::db::Driver abstract instproc ds {onOff}
  ::xo::db::Driver abstract instproc prepare        {-handle {-argtypes ""} sql}

  #
  # Driver specific and Driver/Dialect specific hooks
  #
  ::xotcl::Class create ::xo::db::DB             -superclass ::xo::db::Driver
  ::xotcl::Class create ::xo::db::DB-postgresql  -superclass {::xo::db::DB ::xo::db::postgresql}
  ::xotcl::Class create ::xo::db::DB-oracle      -superclass {::xo::db::DB ::xo::db::oracle}

  ::xotcl::Class create ::xo::db::DBI            -superclass ::xo::db::Driver
  ::xotcl::Class create ::xo::db::DBI-postgresql -superclass {::xo::db::DBI ::xo::db::postgresql}

  ::xo::db::Driver instproc get_sql {{-dbn ""} qn} {
    set full_statement_name [db_qd_get_fullname $qn 2]
    set full_query [db_qd_fetch $full_statement_name $dbn]
    set sql [db_fullquery_get_querytext $full_query]
    :uplevel 2 [list subst $sql]
  }


  ##########################################################################
  #
  # DBI support
  #
  ::xo::db::DBI instproc profile {onOff} {
    if {$onOff} {
      :mixin ::xo::db::DBI::Profile
    } else {
      if {[:info mixin] ne ""} {:mixin ""}
    }
  }

  ::xo::db::DBI instproc sets {{-dbn ""} {-bind ""} -prepare qn sql} {
    if {$sql eq ""} {set sql [:get_sql $qn]}
    if {$bind ne ""} {set bindOpt [list -bind $bind]} {set bindOpt ""}
    return [:uplevel [list dbi_rows -result sets {*}$bindOpt -- $sql]]
  }

  #
  # foreach based on "dbi_rows + results avlists"
  #
  ::xo::db::DBI instproc foreach {{-dbn ""} {-bind ""} -prepare qn sql body} {
    #if {$sql eq ""} {set sql [:get_sql $qn]}
    if {$sql eq ""} {set qn [uplevel [list [self] qn $qn]]}
    if {$bind ne ""} {set bindOpt [list -bind $bind]} {set bindOpt ""}
    set avlists [:uplevel [list dbi_rows -result avlists {*}$bindOpt -- $sql]]
    foreach avlist $avlists {
      foreach {a v} $avlist {:uplevel [list set $a $v]}
      :uplevel $body
    }
  }
  #
  # foreach based on "dbi_eval"
  #
  #::xo::db::DBI instproc foreach {{-dbn ""} {-bind ""} -prepare qn sql body} {
  #  if {$sql eq ""} {set sql [:get_sql $qn]}
  #  if {$bind ne ""} {set bindOpt [list -bind $bind]} {set bindOpt ""}
  #  :uplevel [list dbi_foreach $sql $body]
  #}

  ::xo::db::DBI instproc 0or1row {{-dbn ""} {-bind ""} -prepare qn sql} {
    if {$sql eq ""} {set sql [:get_sql $qn]}
    if {$bind ne ""} {set bindOpt [list -bind $bind]} {set bindOpt ""}
    return [:uplevel [list ::dbi_0or1row {*}$bindOpt $sql]]
  }
  ::xo::db::DBI instproc 1row {{-dbn ""} {-bind ""} -prepare qn sql} {
    if {$sql eq ""} {set sql [:get_sql $qn]}
    if {$bind ne ""} {set bindOpt [list -bind $bind]} {set bindOpt ""}
    return [:uplevel [list ::dbi_1row {*}$bindOpt $sql]]
  }
  ::xo::db::DBI instproc list_of_lists {{-dbn ""} {-bind ""} -prepare qn sql} {
    if {$sql eq ""} {set sql [:get_sql $qn]}
    if {$bind ne ""} {set bindOpt [list -bind $bind]} {set bindOpt ""}
    return [:uplevel [list ::dbi_rows -result lists -max 1000000 {*}$bindOpt -- $sql]]
  }
  ::xo::db::DBI instproc list {{-dbn ""} {-bind ""} -prepare qn sql} {
    if {$sql eq ""} {set sql [:get_sql $qn]}
    if {$bind ne ""} {set bindOpt [list -bind $bind]} {set bindOpt ""}
    set flat [:uplevel [list ::dbi_rows -columns __columns {*}$bindOpt -- $sql]]
    if {[:uplevel {llength $__columns}] > 1} {error "query is returning more than one column"}
    return $flat
  }
  ::xo::db::DBI instproc dml {{-dbn ""} {-bind ""} -prepare qn sql} {
    if {$sql eq ""} {set sql [:get_sql $qn]}
    if {$bind ne ""} {set bindOpt [list -bind $bind]} {set bindOpt ""}
    return [:uplevel [list ::dbi_dml {*}$bindOpt -- $sql]]
  }
  ::xo::db::DBI instproc transaction {{-dbn ""} script args} {
    if {$args ne ""} {
      lassign $args op on_error_code
      set result ""
      if {$op ne "on_error"} {
        error "only 'on_error' as argument after script allowed"
      }
      try {
        set result [:uplevel [list ::dbi_eval -transaction committed $script]]
      } on error {$errorMsg} {
        :uplevel $on_error_code
      }
      return $result
    } else {
      return [:uplevel [list ::dbi_eval -transaction committed $script]]
    }
  }
  ::xo::db::DBI instproc prepare {-handle {-argtypes ""} sql} {
    return $sql
  }
  ::xo::db::DBI instproc get_value {{-dbn ""} -prepare qn sql {default ""}} {
    if {$sql eq ""} {set sql [:get_sql $qn]}
    set answers [:uplevel [list ::dbi_rows -result sets -max 1 $sql]]
    if {$answers ne ""} {
      set result [ns_set value $answers 0]
      ns_set free $answers
      return $result
    }
    return $default
  }

  #
  # DBI profiling with developer support
  #
  ::xotcl::Class create ::xo::db::DBI::Profile

  foreach call {sets 0or1row 1row list_of_lists list dml} {

    ::xo::db::DBI::Profile instproc $call {{-dbn ""} qn sql} {
      if {$sql eq ""} {set sql [:get_sql $qn]}
      set start_time [expr {[clock clicks -microseconds]/1000.0}]
      set result [next]
      ds_add db $dbn [:ds_map [self proc]] $qn $sql $start_time [expr {[clock clicks -microseconds]/1000.0}] 0 ""
      return $result
    }
  }

  #
  # foreach based on "dbi_rows + results avlists"
  #
  ::xo::db::DBI::Profile instproc foreach {{-dbn ""} {-bind ""} -prepare qn sql body} {
    if {$sql eq ""} {set sql [:get_sql $qn]}
    if {$bind ne ""} {set bindOpt [list -bind $bind]} {set bindOpt ""}
    set start_time [expr {[clock clicks -microseconds]/1000.0}]
    set avlists [:uplevel [list dbi_rows -result avlists {*}$bindOpt -- $sql]]
    ds_add db $dbn "exec foreach" $qn $sql $start_time [expr {[clock clicks -microseconds]/1000.0}] 0 ""
    foreach avlist $avlists {
      foreach {a v} $avlist {:uplevel [list set $a $v]}
      :uplevel $body
    }
  }

  #
  # foreach based on "dbi_foreach"
  #
  #::xo::db::DBI::Profile instproc foreach {{-dbn ""} {-bind ""} -prepare qn sql body} {
  #  if {$sql eq ""} {set sql [:get_sql $qn]}
  #  if {$bind ne ""} {set bindOpt [list -bind $bind]} {set bindOpt ""}
  #  set start_time [expr {[clock clicks -microseconds]/1000.0}]
  #  set result [next]
  #  ds_add db $dbn "exec [self proc]" $qn $sql $start_time [expr {[clock clicks -microseconds]/1000.0}] 0 ""
  #  return $result
  #}

  ::xo::db::DBI::Profile instproc ds_map {name} {
    if {$name in {dml exec 1row 0or1row select}} {return $name}
    return "exec $name"
  }

  # The following should not be necessary, but there seems to be a bad
  # interaction when "ns_cache eval" calls 1row with a mixin, doing a
  # :uplevel (the mixin should be transparent). Without "ns_cache eval"
  # things look fine.
  ::xo::db::DBI::Profile instproc 1row {{-dbn ""} {-bind ""} -prepare qn sql} {
    set start_time [expr {[clock clicks -microseconds]/1000.0}]
    set result [:uplevel [list ::dbi_1row $sql]]
    ds_add db $dbn [:ds_map [self proc]] $qn $sql $start_time [expr {[clock clicks -microseconds]/1000.0}] 0 ""
    return $result
  }


  ##########################################################################
  #
  # DB support
  #
  ::xo::db::DB instproc profile {onOff} {
    # built-in
  }

  ::xo::db::DB instproc transaction {{-dbn ""} script args} {
    return [:uplevel [list ::db_transaction -dbn $dbn $script {*}$args]]
  }
  ::xo::db::DB instproc prepare {-handle {-argtypes ""} sql} {
    return $sql
  }

  ::xo::db::DB-oracle instproc sets {{-dbn ""} {-bind ""} -prepare qn sql} {
    if {$sql eq ""} {set sql [:get_sql $qn]}
    if {$bind ne ""} {set bindOpt [list -bind $bind]} {set bindOpt ""}
    return [uplevel [list db_list_of_ns_sets -dbn $dbn $qn $sql {*}$bindOpt]]
  }

  ::xo::db::DB-postgresql instproc sets {{-dbn ""} {-bind ""} -prepare qn sql} {
    if {$sql eq ""} {set sql [:get_sql $qn]}
    if {$bind ne ""} {set bindOpt [list -bind $bind]} {set bindOpt ""}

    db_with_handle -dbn $dbn db {
      if {[info exists prepare]} {set sql [:prepare -handle $db -argtypes $prepare $sql]}
      set result [list]

      set answers [uplevel [list ns_pg_bind select $db {*}$bindOpt $sql]]
      while { [::db_getrow $db $answers] } {
        lappend result [ns_set copy $answers]
      }
    }
    return $result
  }

  ::xo::db::DB-postgresql instproc foreach {{-dbn ""} {-bind ""} -prepare qn sql body} {
    set prepare [expr {[info exists prepare] ? [list -prepare $prepare] : ""}]
    set rows [uplevel 1 [list ::xo::dc list_of_lists -with_headers true -dbn $dbn -bind $bind {*}$prepare $qn $sql]]
    set headers [lindex $rows 0]
    foreach row [lrange $rows 1 end] {
      foreach att $headers value $row {
        uplevel 1 [list set $att $value]
      }

      try {

        uplevel 1 $body

      } on error {errMsg} {

        error $errMsg $::errorInfo $::errorCode

      } on return {} {

        error "Cannot return from inside a ::xo::dc foreach loop"

      } on break {} {

        break

      } on continue {} {

        # Just ignore and continue looping.

      }
    }
  }

  ::xo::db::DB-postgresql instproc multirow {
    {-dbn ""}
    {-bind ""}
    {-local false}
    {-upvar_level 1}
    {-extend {}}
    -prepare
    var_name
    qn
    sql
    {body {}}
  } {
    set prepare [expr {[info exists prepare] ? [list -prepare $prepare] : ""}]
    set rows [uplevel 1 [list ::xo::dc list_of_lists -with_headers true -dbn $dbn -bind $bind {*}$prepare $qn $sql]]
    set headers [lindex $rows 0]

    if { $local } {
      set level_up [expr {$upvar_level + 1}]
    } else {
      set level_up \#[::template::adp_level]
    }

    set cols [concat $headers $extend]
    if {[::template::multirow -local -ulevel $level_up exists $var_name]} {
      #
      # We enforce here, that appending to an existing multirow
      # can only happen when we are extracting the same columns.
      #
      set existing_cols [::template::multirow -local -ulevel $level_up columns $var_name]
      if {$cols ne $existing_cols} {
        error "Cannot append to a multirow with different columns"
      }
    } else {
      ::template::multirow -local -ulevel $level_up create $var_name {*}$cols
    }

    foreach values [lrange $rows 1 end] {
      if {[string length $body] > 0} {
        #
        # We have a code to execute. Bring all of the multirow
        # variables in scope.
        #

        #
        # Vars from the query
        #
        foreach att $headers value $values {
          uplevel 1 [list set $att $value]
        }

        #
        # Extended variables, initialized to empty.
        #
        foreach att $extend {
          uplevel 1 [list set $att ""]
        }

        #
        # Run the code and trap any exception.
        #
        try {

          uplevel 1 $body

        } on error {errMsg} {

          error $errMsg $::errorInfo $::errorCode

        } on return {} {

          error "Cannot return from inside a ::xo::dc multirow loop"

        } on break {} {

          break

        } on continue {} {

          continue

        }

        #
        # Collect the values after the code has been executed.
        #
        set values [lmap att $cols {
          if {[uplevel 1 [list info exists $att]]} {
            uplevel 1 [list set $att]
          }
        }]
      } else {
        #
        # No code to execute. We can just bulk append the values
        # from the row.
        #
      }
      ::template::multirow -local -ulevel $level_up append $var_name {*}$values
    }
  }

  ::xo::db::DB instproc foreach {{-dbn ""} {-bind ""} -prepare qn sql body} {
    #if {$sql eq ""} {set sql [:get_sql $qn]}
    if {$bind ne ""} {set bindOpt [list -bind $bind]} {set bindOpt ""}
    set qn [uplevel [list [self] qn $qn]]
    #
    # The prepare statement in the next line works probably only with
    # inline SQL statements.
    #
    #if {[info exists prepare]} {set sql [:prepare -dbn $dbn -argtypes $prepare $sql]}
    #ns_log notice "### [list ::db_foreach -dbn $dbn $qn $sql $body {*}$bindOpt]"
    uplevel [list ::db_foreach -dbn $dbn $qn $sql $body {*}$bindOpt]
  }

  ::xo::db::DB instproc multirow {
    {-dbn ""}
    {-bind ""}
    {-local false}
    {-upvar_level 1}
    {-extend {}}
    -prepare
    var_name
    qn
    sql
    {body ""}
  } {
    if {$bind ne ""} {set bindOpt [list -bind $bind]} {set bindOpt ""}
    set qn [uplevel [list [self] qn $qn]]
    set local [expr {$local ? "-local" : ""}]
    uplevel [list ::db_multirow -dbn $dbn {*}$local -append \
                 -upvar_level $upvar_level -extend $extend $var_name \
                 $qn $sql $body {*}$bindOpt]
  }

  ::xo::db::DB instproc exec_0or1row {-prepare {-bind ""} sql} {
    # Helper, used from several postgres-specific one-tuple queries
    if {$bind ne ""} {set bindOpt [list -bind $bind]} {set bindOpt ""}
    ::db_with_handle h {
      if {[info exists prepare]} {set sql [:prepare -handle $h -argtypes $prepare $sql]}
      return [uplevel [list ns_pg_bind 0or1row $h {*}$bindOpt $sql]]
    }
  }

  ::xo::db::DB instproc 0or1row {{-dbn ""} {-bind ""} -prepare qn sql} {
    if {$bind ne ""} {set bindOpt [list -bind $bind]} {set bindOpt ""}
    uplevel [list ::db_0or1row [uplevel [list [self] qn $qn]] $sql {*}$bindOpt]
  }
  ::xo::db::DB instproc 1row {{-dbn ""} {-bind ""} -prepare qn sql} {
    if {$bind ne ""} {set bindOpt [list -bind $bind]} {set bindOpt ""}
    uplevel [list ::db_1row [uplevel [list [self] qn $qn]] $sql {*}$bindOpt]
  }
  ::xo::db::DB instproc dml {{-dbn ""} {-bind ""} -prepare qn sql {-clobs ""} {-blobs ""}} {
    if {$sql eq ""} {set sql [:get_sql $qn]}
    if {$bind ne ""} {set bindOpt [list -bind $bind]} {set bindOpt ""}
    if {$blobs ne ""} {lappend bindOpt -blobs $blobs}
    if {$clobs ne ""} {lappend bindOpt -clobs $clobs}
    uplevel [list ::db_dml [uplevel [list [self] qn $qn]] $sql {*}$bindOpt]
    return [db_resultrows]
  }
  ::xo::db::DB instproc get_value {{-dbn ""} {-bind ""} -prepare qn sql {default ""}} {
    if {$bind ne ""} {set bindOpt [list -bind $bind]} {set bindOpt ""}
    uplevel [list ::db_string -dbn $dbn [uplevel [list [self] qn $qn]] $sql -default $default {*}$bindOpt]
  }
  ::xo::db::DB instproc list_of_lists {{-dbn ""} {-bind ""} {-with_headers false} -prepare qn sql} {
    if {$bind ne ""} {set bindOpt [list -bind $bind]} {set bindOpt ""}
    set with_headers [expr {$with_headers ? "-with_headers" : ""}]
    uplevel [list ::db_list_of_lists -dbn $dbn {*}$with_headers [uplevel [list [self] qn $qn]] $sql {*}$bindOpt]
  }

  ::xo::db::DB instproc list {{-dbn ""} {-bind ""} -prepare qn sql} {
    if {$bind ne ""} {set bindOpt [list -bind $bind]} {set bindOpt ""}
    uplevel [list ::db_list -dbn $dbn [uplevel [list [self] qn $qn]] $sql {*}$bindOpt]
  }

  ::xo::db::DB instproc row_lock {{-dbn ""} {-bind ""} {-for "UPDATE"} -prepare qn sql} {
    #
    # PostgreSQL has several variants of row-level lock modes (the
    # "for" part), but other database systems just support only "FOR
    # UPDATE", which should work always. Therefore, ignore for other
    # DB-systems the specified value and use just "FOR UPDATE".
    #
    :uplevel [list ::xo::dc list -dbn $dbn -bind $bind $qn "$sql FOR UPDATE"]
  }

  proc ::xo::db::pg_0or1row {sql} {
    ad_log_deprecated proc ::xo::db::pg_0or1row "ns_pg_bind 0or1row"
    ::db_with_handle h {
      return [uplevel [list ns_pg_bind 0or1row $h {*}$bindOpt $sql]]
    }
  }

  #
  # The default insert-view operation (different in PostgreSQL and Oracle)
  #
  ::xo::db::Driver instproc insert-view-operation {} { return dml }
  ::xo::db::DB-postgresql instproc insert-view-operation {} { return 0or1row }

  #
  # DB driver functions, optimized for PostgreSQL
  #
  ::xo::db::DB-postgresql instproc 0or1row {{-dbn ""} {-bind ""} -prepare qn sql} {
    if {$sql eq ""} {set sql [:get_sql $qn]}
    set prepOpt [expr {[info exists prepare] ? [list -prepare $prepare] : ""}]
    set answers [uplevel [list [self] exec_0or1row {*}$prepOpt -bind $bind $sql]]
    if {$answers ne ""} {
      foreach {att val} [ns_set array $answers] { uplevel [list set $att $val] }
      ns_set free $answers
      return 1
    }
    return 0
  }
  ::xo::db::DB-postgresql instproc 1row {{-dbn ""} {-bind ""} -prepare qn sql} {
    if {$sql eq ""} {set sql [:get_sql $qn]}
    set prepOpt [expr {[info exists prepare] ? [list -prepare $prepare] : ""}]
    set answers [uplevel [list [self] exec_0or1row {*}$prepOpt -bind $bind $sql]]
    if {$answers ne ""} {
      foreach {att val} [ns_set array $answers] { uplevel [list set $att $val] }
      ns_set free $answers
      return 1
    }
    error "query $sql did not return an answer"
  }
  ::xo::db::DB-postgresql instproc get_value {{-dbn ""} {-bind ""} -prepare qn sql {default ""}} {
    if {$sql eq ""} {set sql [:get_sql $qn]}
    set prepOpt [expr {[info exists prepare] ? [list -prepare $prepare] : ""}]
    set answers [uplevel [list [self] exec_0or1row {*}$prepOpt -bind $bind $sql]]
    if {$answers ne ""} {
      set result [ns_set value $answers 0]
      ns_set free $answers
      return $result
    }
    return $default
  }
::xo::db::DB-postgresql instproc list_of_lists {{-dbn ""} {-bind ""} {-with_headers false} -prepare qn sql} {
    if {$sql eq ""} {set sql [:get_sql $qn]}
    if {$bind ne ""} {set bindOpt [list -bind $bind]} {set bindOpt ""}
    db_with_handle db {
      if {[info exists prepare]} {set sql [:prepare -handle $db -argtypes $prepare $sql]}
      set result {}
      set answers [uplevel [list ns_pg_bind select $db {*}$bindOpt $sql]]
      if {$with_headers} {
        if {[acs::icanuse "ns_set keys"]} {
          set headers [ns_set keys $answers]
        } else {
          set headers [dict keys [ns_set array $answers]]
        }
        set result [list $headers]
      }
      while { [db_getrow $db $answers] } {
        set row [list]
        foreach {att value} [ns_set array $answers] {lappend row $value}
        lappend result $row
      }
      ns_set free $answers
    }
    return $result
  }
  ::xo::db::DB-postgresql instproc list {{-dbn ""} {-bind ""} -prepare qn sql} {
    if {$sql eq ""} {set sql [:get_sql $qn]}
    if {$bind ne ""} {set bindOpt [list -bind $bind]} {set bindOpt ""}
    db_with_handle db {
      if {[info exists prepare]} {set sql [:prepare -handle $db -argtypes $prepare $sql]}
      set result {}
      set answers [uplevel [list ns_pg_bind select $db {*}$bindOpt $sql]]
      while { [::db_getrow $db $answers] } {
        lappend result [ns_set value $answers 0]
      }
      ns_set free $answers
    }
    return $result
  }
  ::xo::db::DB-postgresql instproc dml {{-dbn ""} {-bind ""} -prepare qn sql} {
    if {$sql eq ""} {set sql [:get_sql $qn]}
    if {$bind ne ""} {set bindOpt [list -bind $bind]} {set bindOpt ""}
    set bind $bindOpt
    db_with_handle -dbn $dbn db {
      if {[info exists prepare]} {set sql [:prepare -handle $db -argtypes $prepare $sql]}
      ::db_exec dml $db [uplevel [list [self] qn $qn]] $sql 2
    }
    return [db_resultrows]
  }

  ::xo::db::DB-postgresql instproc row_lock {{-dbn ""} {-bind ""} {-for "UPDATE"} -prepare qn sql} {
    set prepareOpt [expr {[info exists prepare] ? [list -prepare $prepare] : ""}]
    :uplevel [list ::xo::dc list -dbn $dbn -bind $bind {*}$prepareOpt $qn "$sql FOR $for"]
  }

  if {[info commands ::ns_pg_prepare] eq ""} {
    #
    # In case, ns_pg_prepare is not available, use the approximate Tcl
    # implementation of the bind-vars parser. The built-in version
    # uses the exactly same bind-vars parser as for non-prepared
    # statements.
    #
    ad_proc -private ::ns_pg_prepare {sql} {
      Return components of prepared data in form a dict with the keys
      "sql" (the prepared body) and "args" (list of arguments).
    } {
      set c 0; set l ""set last 0
      set execArgs {}; set prepArgs {}

      foreach pair [regexp -all -inline -indices {[^:]:[a-zA-Z0_9_]+\M} $sql] {
        lassign $pair from to
        lappend execArgs [string range $sql $from+1 $to]
        lappend prepArgs unknown
        append l [string range $sql $last $from] \$[incr c]
        set last [incr to]
      }
      append l [string range $sql $last end]

      dict set d args $execArgs
      dict set d sql $l
      return $d
    }
  }

  ::xo::db::DB-postgresql instproc prepare {-handle:required {-argtypes ""} sql} {
    #
    # Define a md5 key for the prepared statement in nsv based on the
    # SQL statement.
    #
    set key [ns_md5 $sql]

    #
    # Get local variables "prepare", "execute", "prepName", and "sql"
    # keeping the relevant prepared statement context.
    #
    set per_interp_cache ::xo::prepared($key)
    if {[info exists $per_interp_cache]} {
      #
      # The prepared statement exists in the per-interp cache, get the
      # values from there.
      #
      lassign [set $per_interp_cache] prepare execute prepName sql

    } elseif {[nsv_exists prepared_statement $key]} {
      #
      # The prepared statement exists already in the nsv-cache.
      set nsv_cached_value [nsv_get prepared_statement $key]
      #
      # Save the nsv-cached value as well in the per-interpreter cache
      # and set the output variables.
      #
      set $per_interp_cache $nsv_cached_value
      lassign $nsv_cached_value prepare execute prepName sql

    } else {
      #
      # Compute a PREPARE statement and an EXECUTE statement on the
      # fly. Notice, that the incoming SQL statement must not have Tcl
      # vars, but has to use bind vars.
      #
      set d [ns_pg_prepare $sql]
      set execArgs [dict get $d args]
      set prepArgs [lrepeat [llength $execArgs] unknown]
      set preparedSQL [dict get $d sql]

      set argtypes [split $argtypes ,]
      if {[llength $argtypes] == [llength $prepArgs]} {
        set prepArgs $argtypes
      }

      if {[llength $prepArgs] > 0} {
        set prepArgs ([join $prepArgs ,])
      }
      if {[llength $execArgs] > 0} {
        set execArgs ([join $execArgs ,])
      }

      set c [nsv_incr prepared_statement count]
      set prepName __p$c
      set prepare [ns_trim -delimiter | [subst {
        |DO \$\$ DECLARE found boolean;
        |BEGIN
        |SELECT exists(select 1 from pg_prepared_statements where name = '$prepName') into found;
        |if found IS FALSE then
        |    PREPARE $prepName $prepArgs AS $preparedSQL;
        |end if;
        |END\$\$;
      }]]
      set execute "EXECUTE $prepName $execArgs"
      #
      # Save the values for this statement in the nsv-cache. This does
      # not mean that the prepared statement exists for the SQL
      # session already.
      #
      nsv_set prepared_statement $key [list $prepare $execute $prepName $sql]
    }

    #
    # Now determine, whether the prepared statement was already
    # defined for the current SQL session.  Depending on the version
    # of the driver, we can obtain a session_id from the db driver on
    # different preciseness levels. If we can't get the SQL session_id
    # from the driver, fall back to a per-request cache (via top-level
    # variable).
    #
    try {
      if {[::acs::icanuse "ns_pg pid"]} {
        set session_id [ns_pg pid $handle]
        #ns_log notice "=== ns_pg pid -> '$session_id'"
      } else {
        set session_id [ns_db session_id $handle]
      }
    } on ok {_} {
      #ns_log notice "=== $handle $session_id"
      set varName ::xo::prepared($session_id,$key)
    } on error {errorMsg} {
      #
      # Could not determine SQL session_id, fall back to per-request
      # cache.
      #
      set session_id "-"
      set varName __prepared($key)
    }

    if {![info exists $varName]} {
      #
      # We have to check for the prepared statement in the current
      # session and we have to create it if necessary there.
      #
      ns_log notice "=== new prepared statement $prepName for SQL session $session_id: $sql"
      ::db_exec dml $handle dbqd..create_preapared $prepare
      #
      # Save the fact that we have a new preparted statement for this
      # SQL session_id in the current interpreter.
      #
      set $varName 1

    } else {
      #ns_log notice "=== prepare reuses handle $handle execute $execute session_id $session_id"
    }
    #ns_log notice "=== prepare done, handle $handle execute $execute session_id $session_id"
    return $execute
  }

  ##########################################################################
  #
  # Depending on the configured and available driver, select the SQL
  # interface.  For the time being, we use just a single DB backend
  # per server and therefore a single database connection object,
  # namely ::xo::dc
  #
  ##########################################################################

  ad_proc -private ::xo::db::select_driver {{driver ""}} {
    Select the driver based on the specified argument (either DB or
    DBI) or based on the defaults for the configuration.  This
    function can be used to switch the driver as well dynamically.
  } {
    set sqlDialect [db_driverkey ""]
    if {$driver eq ""} {
      set driver DB
      if {[info exists ::acs::preferdbi]} {
        set driver DBI
      }
    }
    ::xo::db::$driver-$sqlDialect create ::xo::dc -dialect $sqlDialect
  }

  ::xo::db::select_driver

  ##########################################################################
  #
  # The ns_caches below should exist, before any cached objects are
  # created. Under most conditions, it is sufficient to do this in
  # object-cache-init.tcl, which is performed after xotcl-core procs
  # are read, but before applications using it (e.g. xowiki). However,
  # if e.g. xowiki is loaded via install.xml, the -init methods of
  # xotcl-core are not executed (probably a bug). Without the
  # ns_cache, creating objects fails with an error. So, we moved the
  # cache creation here and create caches, when they do not exist
  # already.
  #
  if {![nsf::is object ::xo::xotcl_object_cache]} {
    ns_log notice "xotcl-core: creating xotcl-object caches"

    ::acs::PartitionedCache create ::xo::xotcl_object_cache \
        -maxentry 200000 \
        -package_key xotcl-core \
        -parameter XOTclObjectCache \
        -default_size 400000 \
        -partitions 2
    ns_log notice "... created ::xo::xotcl_object_cache"

    ::acs::KeyPartitionedCache create ::xo::xotcl_object_type_cache \
        -package_key xotcl-core \
        -parameter XOTclObjectTypeCache \
        -default_size 50000 \
        -partitions 2
    ns_log notice "... created ::xo::xotcl_object_type_cache"

    ::acs::Cache create ::xo::xotcl_package_cache \
        -package_key xotcl-core \
        -parameter XOTclPackageCache \
        -default_size 10000
    ns_log notice "... created ::xo::xotcl_package_cache"
  }

  ##########################################################################
  #
  # Deprecated functions, obsoleted by xo::dc
  #
  ad_proc -deprecated has_ltree {} {
    Check, whether ltree is available (postgres only)
    @see ::xo::dc has_ltree
  } {
    ::xo::dc has_ltree
  }

  ad_proc -deprecated has_hstore {} {
    Check, whether hstore is available (postgres only)
    @see ::xo::dc has_hstore
  } {
    ::xo::dc has_hstore
  }

  ##########################################################################
  #
  # Support for requiring database artifacts
  #
  ##########################################################################
  ::xotcl::Object create require

  require proc exists_table {name} {
    ::db_table_exists $name
  }

  require proc exists_column {table_name column_name} {

    #
    # The following "try" operation is a transitional code: When
    # someone upgrades from OpenACS 5.9.1 to OpenACS 5.10, and the
    # upgrade script of 5.10 were not yet executed, the SQL function
    # definition is still the one of 5.9.1 have no -p_table and
    # p_column attributes defined (still the old names). A end user is
    # lost in this situation. Therefore, we provide as a fallback the
    # interface to the 5.9.1 parameter names. The situation is still a
    # problem in OpenACS 5.10, since the Oracle code has still the old
    # names. Therefore, for OpenACS 5.10.1, the names are made more
    # consistent, using "table_name" (abbreviated as table) and
    # "column" as on several other occasions.
    #

    try {
      ::acs::dc call util table_column_exists \
          -table $table_name \
          -column $column_name
    } on error {errorMsg} {
      try {
        ::acs::dc call util table_column_exists \
            -t_name $table_name \
            -c_name $column_name
      } on error {errorMsg} {
        ::acs::dc call util table_column_exists \
           -p_table $table_name \
           -p_column $column_name
      }
    }
  }

  require proc table {name definition {populate ""}} {
    #:log "==== require table $name exists: [:exists_table $name]\n$definition"
    if {![:exists_table $name]} {
      set lines {}
      foreach col [dict keys $definition] {lappend lines "$col [dict get $definition $col]"}
      set definition [join $lines ",\n"]
      # :log "--table $name does not exist, creating with definition: $definition"
      ::xo::dc dml create-table-$name "create table $name ($definition)"
      if {$populate ne ""} {
        ::xo::dc dml populate-table-$name $populate
      }
    } else {
      # The table exists already. Check the columns, whether we have to
      # add columns. We do not alter attribute types, and we do not
      # delete columns.
      foreach col [dict keys $definition] {
        if {![:exists_column $name $col]} {
          ns_log notice "xodb: adding column <alter table $name add column $col [dict get $definition $col]>"
          ::xo::dc dml alter-table-$name \
              "alter table $name add column $col [dict get $definition $col]"
        }
      }
    }
  }

  require proc view {name definition {-rebuild_p false}} {
    if {[db_driverkey ""] eq "oracle"} {set name [string toupper $name]}
    if {$rebuild_p} {
      ::xo::dc dml drop-view-$name "drop view if exists $name"
    }
    if {![::acs::dc call util view_exists -name $name]} {
      ::xo::dc dml create-view-$name "create view $name AS $definition"
    }
  }

  require proc index {-table -col -expression -expression_name {-using ""} {-unique false}} {
    if {![info exists col] && ![info exists expression]} {
      error "Neither col nor expression were provided"
    }
    if { [info exists col] &&  [info exists expression]} {
      error "Please provide either col or expression"
    }

    if {[info exists col]} {
      set colExpSQL $col
      regsub -all -- ", *" $col _ colExpName
    } else {
      set colExpSQL ($expression)
      if {[info exists expression_name]} {
        set colExpName $expression_name
      } else {
        regsub -all -- {[^[:alnum:]]} $expression "" colExpName
      }
    }
    set suffix [expr {$unique ? "un_idx" : "idx"}]
    set uniquepart [expr {$unique ? "UNIQUE" : ""}]
    set name [::xo::dc mk_sql_constraint_name $table $colExpName $suffix]
    if {![::acs::dc call util index_exists -name $name]} {
      if {[db_driverkey ""] eq "oracle"} {set using ""}
      set using [expr {$using ne "" ? "using $using" : ""}]
      ::xo::dc dml create-index-$name \
          "create $uniquepart index $name ON $table $using ($colExpSQL)"
    }
  }

  require proc sequence {
    -name
    -start_with
    -increment_by
    -minvalue
    -maxvalue
    {-cycle false}
    {-cache 1}
  } {
    if {[db_driverkey ""] eq "oracle"} {
      set name [string toupper $name]
      # sequences have a unique name, no "exists" necessary
      if {[::xo::dc 0or1row exists {
        SELECT 1 FROM user_sequences WHERE sequence_name = :name
      }]} return
    } else {
      #
      # PostgreSQL could avoid this check and use 'if not exists' in
      # versions starting with 9.5.
      #
      if {[::xo::dc 0or1row exists "
         SELECT 1 FROM information_schema.sequences
          WHERE sequence_schema = 'public'
            AND sequence_name = :name"]} return
    }

    set clause {}
    if {[info exists start_with]} {
      lappend clause "START WITH $start_with"
    }
    if {[info exists increment_by]} {
      lappend clause "INCREMENT BY $increment_by"
    }
    if {[info exists minvalue]} {
      lappend clause "MINVALUE $minvalue"
    }
    if {[info exists maxvalue]} {
      lappend clause "MAXVALUE $maxvalue"
    }
    if {!$cycle} {
      lappend clause "NO"
    }
    lappend clause "CYCLE"
    lappend clause "CACHE $cache"
    ::xo::dc dml create-seq "
       CREATE SEQUENCE $name [join $clause]"
  }

  require proc package {package_key} {
    foreach path [apm_get_package_files \
                      -package_key $package_key \
                      -file_types tcl_procs] {
      ::xo::library require -package $package_key \
          [file rootname [file tail $path]]
    }
  }

  require ad_proc function_args {
    -kernel_older_than
    -package_key_and_version_older_than
    -check_function
    sql_file
  } {
    Load the SQL file, if the kernel is older than the specified
    version, and the version of the specified package is older, and
    the check_function does not exist in function_args.
    <p>
    Sample usage: <tt>
    ::xo::db::require function_args \<br>
    &nbsp;&nbsp;-kernel_older_than 5.5.0 \<br>
    &nbsp;&nbsp;-older_than_package_key_and_version "xowiki 0.50" \<br>
    &nbsp;&nbsp;-check_function "acs_object_type__create_type" \<br>
    &nbsp;&nbsp;[acs_package_root_dir xotcl-request-broker]/patches/funcs-1.sql</tt>
  } {
    if {[db_driverkey ""] eq "postgresql"} {
      # only necessary with PostgreSQL
      if {[info exists kernel_older_than]} {
        if {[apm_version_names_compare \
                 $kernel_older_than [ad_acs_version]] < 1} {
          # nothing to do
          return
        }
      }
      if {[info exists package_key_and_version_older_than]} {
        set p [split $package_key_and_version_older_than]
        if {[llength $p] != 2} {
          error "package_key_and_version_older_than should be\
        of the form 'package_key version'"
        }
        lassign $p package_key version
        set installed_version [apm_highest_version_name $package_key]
        if {[apm_version_names_compare $installed_version $version] > -1} {
          # nothing to do
          return
        }
      }
      if {[info exists check_function]} {
        set check_function [string toupper $check_function]
        set function_exists [::xo::dc 0or1row function_exists {
          select 1 from dual where exists
          (SELECT 1 FROM acs_function_args WHERE function = :check_function)
        }]
        if {$function_exists} {
          # nothing to do
          return
        }
      }

      if {[ad_file readable $sql_file]} {
        :log "Sourcing '$sql_file'"
        db_source_sql_file $sql_file
        ::xo::db::Class create_all_functions
        return 1
      } else {
        :log "Could not source '$sql_file'"
      }
    }
    return 0
  }

}


namespace eval ::xo::db {
  #
  # ::xo::db::Class is a meta class for interfacing with acs_object_types.
  # acs_object_types are instances of this meta class. The meta class defines
  # the behavior common to all acs_object_types
  #
  ::xotcl::Class create ::xo::db::Class \
      -superclass ::xotcl::Class \
      -parameter {
        pretty_name
        pretty_plural
        {supertype acs_object}
        table_name
        id_column
        {abstract_p f}
        {name_method ""}
        {object_type [self]}
        {security_inherit_p t}
        {auto_save false}
        {with_table true}
        {sql_package_name}
      } -ad_doc {
        ::xo::db::Class is a meta class for interfacing with acs_object_types.
        acs_object_types are instances of this meta class. The meta class defines
        the behavior common to all acs_object_types. The behavior common to
        all acs_objects is defined by the class ::xo::db::Object.

        @see ::xo::db::Object
      }

  #::xo::db::Class set __default_superclass ::xo::db::Object  ;# will be supported in XOTcl 1.6


  #
  # Define an XOTcl interface for creating new object types
  #
  # Methods for the meta class
  #

  ::xo::db::Class ad_proc exists_in_db {
    -id:required
  } {
    Check, if an acs_object exists in the database.

    @return 0 or 1
  } {
    return [::xo::dc 0or1row -prepare integer select_object {
      select 1 from acs_objects where object_id = :id
    }]
  }

  ::xo::db::Class ad_proc delete {
    -id:required
  } {
    Delete the object from the database
  } {
    ::acs::dc call acs_object delete -object_id $id
  }

  ::xo::db::Class ad_proc get_object_type {
    -id:integer,required
  } {
    Return the object type for the give id.

    @return object_type, typically an XOTcl class
  } {
    xo::xotcl_object_type_cache eval -partition_key $id $id {
      ::xo::dc 1row get_class "select object_type from acs_objects where object_id=:id"
      return $object_type
    }
  }

  ::xo::db::Class ad_proc get_instance_from_db {
    -id:required,integer
  } {
    Create an XOTcl object from an acs_object_id. This method
    determines the type and initializes the object from the
    information stored in the database. The XOTcl object is
    destroyed automatically on cleanup (end of a connection request).

    @return fully qualified object
  } {
    set type  [:get_object_type -id $id]
    set class [::xo::db::Class object_type_to_class $type]
    if {![:isclass $class]} {
      error "no class $class defined"
    }
    set r [$class create ::$id]
    $r db_1row dbqd..get_instance [$class fetch_query $id]
    $r set object_id $id
    $r destroy_on_cleanup
    $r initialize_loaded_object
    return $r
  }

  ::xo::db::Class ad_proc get_table_name {
    -object_type:required
  } {
    Get the table_name of an object_type from the database. If the
    object_type does not exist, the return value is empty.

    @return table_name
  } {
    return [::xo::dc get_value get_table_name {
      select lower(table_name) as table_name from acs_object_types where object_type = :object_type
    } ""]
  }

  ::xo::db::Class ad_proc object_type_exists_in_db {-object_type} {
    Check, if an object_type exists in the database.

    @return 0 or 1
  } {
    return [::xo::dc 0or1row check_type {
      select 1 from acs_object_types where object_type = :object_type
    }]
  }

  ::xo::db::Class ad_proc drop_type {
    -object_type:required
    {-drop_table f}
    {-cascade_p t}
  } {
    Drop the object_type from the database and drop optionally the table.
    This method deletes as well all acs_objects of the object_type from the database.
  } {
    set table_name [::xo::db::Class get_table_name -object_type $object_type]
    if {$table_name ne ""} {
      if {[catch {
        ::xo::dc dml delete_instances "delete from $table_name"
        if {$drop_table} {
          ::xo::dc dml drop_table "drop table $table_name"
        }
      } errorMsg]} {
        ns_log error "error during drop_type: $errorMsg"
      }
    }
    ::acs::dc call acs_object_type drop_type \
        -object_type $object_type -drop_children_p $cascade_p
    return ""
  }

  ::xo::db::Class ad_proc delete_all_acs_objects {-object_type:required} {
    Delete all acs_objects of the object_type from the database.
  } {
    set table_name [::xo::db::Class get_table_name -object_type $object_type]
    if {$table_name ne ""} {
      ::xo::dc dml delete_instances {delete from :table_name}
    }
  }

  # acs_attribute defines bio and bio_mime_type for object_type person, but
  # table persons does not have these attributes.
  #
  # select * from acs_attributes  where object_type = 'person';
  ::xo::db::Class array set exclude_attribute {persons,bio 1 persons,bio_mime_type 1}

  ::xo::db::Class ad_proc get_class_from_db {-object_type} {
    Fetch an acs_object_type from the database and create
    an XOTcl class from this information.

    @return class name of the created XOTcl class
  } {
    # some table_names and id_columns in acs_object_types are unfortunately uppercase,
    # so we have to convert to lowercase here....
    ::xo::dc 1row fetch_class {
      select object_type, supertype, pretty_name, lower(id_column) as id_column, lower(table_name) as table_name
      from acs_object_types where object_type = :object_type
    }
    set classname [:object_type_to_class $object_type]
    if {![:isclass $classname]} {
      # the XOTcl class does not exist, we create it
      #:log "--db create class $classname superclass $supertype"
      ::xo::db::Class create $classname \
          -superclass [:object_type_to_class $supertype] \
          -object_type $object_type \
          -supertype $supertype \
          -pretty_name $pretty_name \
          -id_column $id_column \
          -table_name $table_name \
          -sql_package_name [namespace tail $classname] \
          -noinit
    } else {
      #:log "--db we have a class $classname"
    }
    set attributes [::xo::dc list_of_lists get_atts {
      select attribute_name, pretty_name, pretty_plural, datatype,
      default_value, min_n_values, max_n_values
      from acs_attributes where object_type = :object_type
    }]

    set slots ""
    foreach att_info $attributes {
      lassign $att_info attribute_name pretty_name pretty_plural datatype \
          default_value min_n_values max_n_values

      # ignore some erroneous definitions in the acs meta model
      if {[info exists :exclude_attribute($table_name,$attribute_name)]} {
        continue
      }

      set defined_att($attribute_name) 1
      set cmd [list ::xo::db::Attribute create $attribute_name \
                   -pretty_name $pretty_name \
                   -pretty_plural $pretty_plural \
                   -datatype $datatype \
                   -min_n_values $min_n_values \
                   -max_n_values $max_n_values]

      if {$default_value ne ""} {
        # if the default_value is "", we assume, no default
        lappend cmd -default $default_value
      }
      append slots $cmd \n
    }
    ad_try {
      $classname slots $slots
    } on error {errorMsg} {
      error "Error during slots: $errorMsg"
    }

    $classname init
    return $classname
  }

  #
  # interface for stored procedures
  #

  ::xo::db::postgresql instproc get_all_package_functions {} {
    #
    # Load definitions in one step from function args; only for
    # those definitions where we do not have function args, we parse
    # the function arg aliases.
    #
    set definitions [::xo::dc list_of_lists get_all_package_functions0 {
      select
      args.function,
      args.arg_name,
      args.arg_default
      from acs_function_args args
      order by function, arg_seq
    }]
    set last_function ""
    set function_args {}
    foreach definition $definitions {
      lassign $definition function arg_name default
      if {$last_function ne "" && $last_function ne $function} {
        set ::xo::db::fnargs($last_function$function_args
        #puts stderr "$last_function [list $function_args]"
        set function_args {}
      }
      lappend function_args [list $arg_name $default]
      set last_function $function
    }
    set ::xo::db::fnargs($last_function$function_args
    #puts stderr "$last_function [list $function_args]"
    ns_log notice "loaded [array size ::xo::db::fnargs] definitions from function args"
    #ns_log notice "... [lsort [array names ::xo::db::fnargs *__*]]"

    #
    # Get all package functions (package name, object name) from PostgreSQL
    # system catalogs.
    #
    return [::xo::dc list_of_lists [self proc] {
      select distinct
      upper(substring(proname from 0 for position('__' in proname))) as package_name,
      upper(substring(proname from position('__' in proname)+2)) as object_name
      from pg_proc
      where strpos(proname,'__') > 1
    }]
  }

  ::xo::db::postgresql instproc get_function_args {package_name object_name} {
    set key [string toupper ${package_name}__${object_name}]
    #
    # If we have function definitions already loaded, there is nothing
    # to do.
    #
    if {[info exists ::xo::db::fnargs($key)]} {
      return $::xo::db::fnargs($key)
    }

    ns_log notice "obtain fnargs for $key from PostgreSQL via parsing function definition"

    #
    # Get function_args for a single sql-function from PostgreSQL
    # system catalogs by retrieving the function source code and
    # passing it. We retrieve always the function with the longest
    # argument list for our definition, since we use an interface with
    # non positional arguments, where in most situations, many
    # arguments are optional.  In cases, where more function with the
    # same number of arguments are available, we sort by the type as
    # well to obtain a predictable ordering and to give string
    # interfaces (text, varchar) a higher priority than integer or
    # boolean arguments (e.g. int4, int8m bool).
    #
    # Note: based on the ordering, char has lower priority over int*
    # which is probably a bug, but is not a problem in OpenACS.
    #
    # Note that we can as well get the type in future versions.
    #
    ::xo::dc foreach get_function_params {
      select proname, pronargs, proargtypes, prosrc
      from pg_proc
      where proname = lower(:package_name) || '__' || lower(:object_name)
      order by pronargs desc, proargtypes desc
    } {
      set n 1
      set function_args [list]
      foreach line [split $prosrc \n] {
        if {[regexp -nocase "alias +for +\\\$$n" $line]} {
          if {![regexp {^[^a-zA-Z]+([a-zA-Z0-9_]+)\s} $line _ fq_name]} {
            #ns_log notice "proname $proname line <$line> fq_name <$fq_name>"
            ns_log notice "--***** Could not retrieve argument name for $proname\
                argument $n from line '$line' i    n $prosrc'"
              set fq_name arg$n
          }
          set name $fq_name
          set default ""
          if {![regexp {^.+__(.+)$} $fq_name _ name]} {
            regexp {^[vp]_(.+)$} $fq_name _ name
          }
          if {[regexp {^.*-- default +([^, ]+) *$} $line _ default]} {
            set default [string trim $default '\n\r]
          }
          lappend function_args [list [string toupper $name$default]
          if {[incr n]>$pronargsbreak
        }
      }
      if {$n == 1 && $pronargs > 0} {
        set comment [string map [list \n "\n----\t"$prosrc]
        ns_log notice "---- no aliases for $proname/$pronargs $comment"
        #continue
      }
      #break
    }
    return $function_args
  }

  #
  # The generation of the code interface code is driver specific, since
  # e.g. dbi supports option "-autonull", which simplified the
  # interface code significantly
  #

  #
  #  DBI interface method generation (with autonull):
  #

  ::xo::db::DBI instproc generate_psql {package_name object_name} {
    set function_args [:get_function_args $package_name $object_name]
    set function_args [:fix_function_args $function_args $package_name $object_name]
    set sql_info [:sql_arg_info $function_args $package_name $object_name]
    #ns_log notice "-- select ${package_name}__${object_name}($psql_args)"
    set sql_suffix [:psql_statement_suffix ${package_name} ${object_name}]
    dict set sql_info sql [subst { select ${package_name}__${object_name}([dict get $sql_info psql_args]) $sql_suffix}]
    dict set sql_info sql_cmd [subst {dbi_1row -autonull {[dict get $sql_info sql] as result}}]
    dict set sql_info body [subst {
      #function_args: $function_args
      [dict get [set sql_info] sql_cmd]
      return \$result
    }]
    return $sql_info
  }

  ::xo::db::DBI instproc sql_arg_info {function_args package_name object_name} {
    set defined {}
    set psql_args [list]
    set arg_order [list]
    # TODO function args not needed in dict
    foreach arg $function_args {
      lassign $arg arg_name default_value
      lappend psql_args :[string tolower $arg_name]
      lappend arg_order $arg_name
      lappend defined $arg_name $default_value
    }
    return [list \
                psql_args [join $psql_args ", "] \
                arg_order $arg_order \
                defined       $defined \
                function_args $function_args]
  }

  #
  # In some cases, we need locks on SQL select statements, when the
  # select updates tuples, e.g. via a function. This is required at
  # least in PostgreSQL.
  #
  set ::xo::db::sql_suffix(postgresql,content_item,set_live_revision) "FOR NO KEY UPDATE"
  set ::xo::db::sql_suffix(postgresql,content_item,del) "FOR UPDATE"
  set ::xo::db::sql_suffix(postgresql,content_item,new) "FOR UPDATE"

  ::xo::db::DB instproc psql_statement_suffix {package_name object_name} {
    set key ::xo::db::sql_suffix(${:dialect},$package_name,$object_name)
    return [expr {[info exists $key] ? [set $key] : ""}]
  }

  #
  #  DB-postgresql interface method generation (no autonull):
  #
  ::xo::db::DB-postgresql instproc generate_psql {package_name object_name} {
    set function_args [:get_function_args $package_name $object_name]
    set function_args [:fix_function_args $function_args $package_name $object_name]
    set sql_info [:sql_arg_info $function_args $package_name $object_name]
    #ns_log notice "-- select ${package_name}__${object_name} ($psql_args)"
    set sql_suffix [:psql_statement_suffix ${package_name} ${object_name}]
    set sql [subst {
      select ${package_name}__${object_name}([dict get $sql_info psql_args]) $sql_suffix
    }]
    set sql_cmd {ns_set value [ns_pg_bind 0or1row $db $sql] 0}
    dict set sql_info body [subst {
      #function_args: $function_args
      foreach var \[list [dict get $sql_info arg_order]\]  {
        set varname \[string tolower \$var\]
        if {\[info exists \$varname\]} {
          set \$var \[set \$varname\]
          set _\$var :\$var
        } else {
          set _\$var null
        }
      }
      set sql "$sql"
      db_with_handle -dbn \$dbn db {
        #ns_log notice "--sql=\$sql"
        return \[ $sql_cmd \]
      }
    }]
    return $sql_info
  }

  #
  #  DB and Oracle interface method generation (no autonull):
  #

  ::xo::db::DB-oracle instproc get_all_package_functions {} {
    #
    # Get all package functions (package name, object name) from Oracle
    # system catalogs.
    #
    return [::xo::dc list_of_lists [self proc] {
      select distinct package_name, object_name
      from user_arguments args
      where args.position > 0 and package_name is not null
    }]
  }

  ::xo::db::DB-oracle instproc get_function_args {package_name object_name} {
    #
    # In Oracle, args.default_value appears to be defunct and useless.
    # for now, we simply return a constant "unknown", otherwise the
    # argument would be required
    return [::xo::dc list_of_lists get_function_params {
      select args.argument_name, 'NULL'
      from user_arguments args
      where args.position > 0
      and args.object_name = upper(:object_name)
      and args.package_name = upper(:package_name)
      order by args.position
    }]
  }

  ::xo::db::DB-oracle instproc generate_psql {package_name object_name} {
    #
    # in Oracle, we have to distinguish between functions and procs
    #
    set is_function [::xo::dc 0or1row is_function {
      select 1 from dual
      where exists (select 1 from user_arguments where
                    package_name = upper(:package_name)
                    and object_name = upper(:object_name)
                    and position = 0)
    }]

    set function_args [:get_function_args $package_name $object_name]
    set function_args [:fix_function_args $function_args $package_name $object_name]
    set sql_info [:sql_arg_info $function_args $package_name $object_name]

    if {$is_function} {
      set sql [subst {BEGIN :1 := ${package_name}.${object_name}(\$sql_args); END;}]
      set sql_cmd {ns_ora exec_plsql_bind $db $sql 1 ""}
    } else {
      set sql [subst {BEGIN ${package_name}.${object_name}(\$sql_args); END;}]
      set sql_cmd {ns_ora dml $db $sql}
    }
    dict set sql_info body [subst {
      #function_args: $function_args
      set sql_args \[list\]
      foreach var \[list [dict get $sql_info arg_order]\]  {
        set varname \[string tolower \$var\]
        if {\[info exists \$varname\]} {
          lappend sql_args "\$varname => :\$varname"
        }
      }
      set sql_args \[join \$sql_args ,\]
      set sql "$sql"
      db_with_handle -dbn \$dbn db {
        #:log "sql=$sql, sql_command=$sql_cmd"
        return \[ $sql_cmd \]
      }
    }]
    return $sql_info
  }

  # Some stored procedures like content_item__new do currently not
  # define correctly default values.  Therefore, we need - temporary -
  # this ugly redundancy to complete the definitions.  The correct fix
  # is to define the correct default values in the database with
  # define_function_args()

  ::xo::db::SQL array set fallback_defaults {
    "content_item__new" {
      RELATION_TAG null DESCRIPTION null TEXT null
      CREATION_IP null NLS_LANGUAGE null LOCALE null CONTEXT_ID null
      DATA null TITLE null ITEM_ID null
      CREATION_DATE now
      ITEM_SUBTYPE content_item
      CONTENT_TYPE content_revision
      MIME_TYPE text/plain
      IS_LIVE f
      STORAGE_TYPE lob
    }
    "content_type__create_attribute" {
      DEFAULT_VALUE null SORT_ORDER null PRETTY_PLURAL null
    }
    "content_type__drop_type" {
      DROP_CHILDREN_P f DROP_TABLE_P f DROP_OBJECTS_P f
    }
    "acs_attribute__create_attribute" {
      PRETTY_PLURAL null TABLE_NAME null COLUMN_NAME null
      DEFAULT_VALUE null SORT_ORDER null DATABASE_TYPE null SIZE null
      REFERENCES null CHECK_EXPR null COLUMN_SPEC null
    }
    "acs_object_type__create_type" {
      TYPE_EXTENSION_TABLE null NAME_METHOD null
    }
  }

  ::xo::db::SQL instproc fix_function_args {function_args package_name object_name} {
    #
    # Load fallback defaults for buggy function args. The values
    # provided here are only used for function args without specified
    # defaults. This is a transitional solution; actually, the
    # function args should be fixed.
    #

    if {![::xo::db::SQL exists fallback_defaults(${package_name}__$object_name)]} {
      return $function_args
    }
    array set additional_defaults [::xo::db::SQL set fallback_defaults(${package_name}__$object_name)]
    set result {}
    foreach arg $function_args {
      lassign $arg arg_name default_value
      if {$default_value eq "" && [info exists additional_defaults($arg_name)]} {
        lappend result [list $arg_name $additional_defaults($arg_name)]
      } else {
        lappend result [list $arg_name $default_value]
      }
    }
    return $result
  }




  ::xo::db::SQL instproc sql_arg_info {function_args package_name object_name} {
    set defined {}
    set psql_args [list]
    set arg_order [list]
    foreach arg $function_args {
      lassign $arg arg_name default_value
      lappend psql_args \$_$arg_name
      lappend arg_order $arg_name
      lappend defined $arg_name $default_value
    }
    return [list \
                psql_args     [join $psql_args ", "] \
                arg_order     $arg_order \
                defined       $defined \
                function_args $function_args]
  }

  ::xo::db::Class instproc dbproc_nonposargs {object_name} {
    #
    # This method compiles a stored procedure into an XOTcl method
    # using a classic nonpositional argument style interface.
    #
    # The current implementation should work on PostgreSQL and Oracle
    # (not tested) but will not work, when a single OpenACS instance
    # want to talk to PostgreSQL and Oracle simultaneously. Not sure,
    # how important this is...
    #
    if {$object_name eq "set"} {
      :log "We cannot handle object_name = '$object_name' in this version"
      return
    }
    #
    # Object names have the form of e.g. ::xo::db::apm_parameter.
    # Therefore, we use the namespace tail as sql_package_name.
    #
    set package_name  [:sql_package_name [namespace tail [self]]]
    set sql_info      [::xo::dc generate_psql $package_name $object_name]

    # puts "sql_command=$sql_command"
    # puts "sql_info=$sql_info"
    array set defined [dict get $sql_info defined]

    set nonposarg_list [list [list -dbn ""]]
    foreach arg_name [dict get $sql_info arg_order] {
      # special rule for DBN ... todo: proc has to handle this as well
      set nonposarg_name [expr {$arg_name eq "DBN" ? "DBN" : [string tolower $arg_name]}]
      #
      # handling of default values:
      #  - no value ("") --> the attribute is required
      #  - value different from NULL --> make it default
      #  - otherwise: non-required argument
      #
      set default_value $defined($arg_name)
      if {$default_value eq ""} {
        set arg -$nonposarg_name:required
      } elseif {[string tolower $default_value] ne "null"} {
        set arg [list -$nonposarg_name $default_value]
      } else {
        set arg -$nonposarg_name
      }
      lappend nonposarg_list $arg
    }
    # When the new method is executed within a contains, -childof is
    # appended. We have to added it here to avoid complains. Xotcl 2.0
    # should find better ways to handle contain or the new invocation.
    if {$object_name eq "new"} {lappend nonposarg_list -childof}
    #:log "-- define $object_name $nonposarg_list"

    #ns_log notice final=[dict get $sql_info body]
    :ad_proc $object_name $nonposarg_list {Automatically generated method} [dict get $sql_info body]
  }

  ::xo::db::Class instproc unknown {m args} {
    error "Error: unknown database method '$m' for [self]"
  }

  ::xo::db::Class proc create_all_functions {} {

    foreach item [::xo::dc get_all_package_functions] {
      lassign $item package_name object_name

      if {[string match "*TRG" [string toupper $object_name]]} {
        # no need to provide interface to trigger functions
        continue
      }

      set class_name ::xo::db::sql::[string tolower $package_name]
      if {![nsf::is object $class_name]} {

        ::xo::db::Class create $class_name
        #$class_name proc unknown args {
        #  ns_log warning "deprecated ::xo::db::[namespace tail [self]] $args was called." \
        #      "Use '::acs::dc call [namespace tail [self]] $args]' instead"
        #  return [::acs::dc call [namespace tail [self]] {*}$args]
        #}

      } elseif {![$class_name istype ::xo::db::Class]} {
        #
        # Make sure that we do not create new objects via the next
        # command.
        #
        continue
      }
      $class_name dbproc_nonposargs [string tolower $object_name]
    }
  }

  ::xo::db::Class proc class_to_object_type {name} {
    if {[:isclass $name]} {
      if {[$name exists object_type]} {
        # The specified class has an object_type defined; return it
        return [$name object_type]
      }
      if {![$name istype ::xo::db::Object]} {
        # The specified class is not subclass of ::xo::db::Object.
        # return acs_object in your desperation.
        return acs_object
      }
    }
    # Standard mapping rules
    switch -glob -- $name {
      ::xo::db::Object   {return acs_object}
      ::xo::db::CrItem   {return content_revision}
      ::xo::db::image    {return image}
      ::xo::db::CrFolder {return content_folder}
      ::xo::db::*        {return [string range $name 10 end]}
      default            {return $name}
    }
  }

  ::xo::db::Class proc object_type_to_class {name} {
    switch -glob -- $name {
      acs_object       {return ::xo::db::Object}
      content_revision -
      content_item     {return ::xo::db::CrItem}
      content_folder   {return ::xo::db::CrFolder}
      ::*              {return $name}
      default          {return ::xo::db::$name}
    }
  }

  #
  # Now, create all stored procedures in PostgreSQL or Oracle.
  #
  ::xo::db::Class create_all_functions


  #
  # The object require provides an interface to create certain
  # resources in case they are not created already.
  #
  require proc unique {-table -col} {
    # Unique could be there by an index too
    set idxname [::xo::dc mk_sql_constraint_name $table $col un_idx]
    if {[::acs::dc call util index_exists -name $idxname]} return
    if {![::acs::dc call util unique_exists -table $table -column $col]} {
      ::xo::dc dml alter-table-$table \
          "alter table $table add unique ($col)"
    }
  }

  require proc not_null {-table -col} {
    set exists_p [::acs::dc call util not_null_exists -table $table -column $col]
    if {!$exists_p} {
      ::xo::dc dml alter-table-$table \
          "alter table $table alter column $col set not null"
    }
  }

  require proc default {-table -col -value} {
    set default [::acs::dc call util get_default -table $table -column $col]

    if {[db_driverkey ""] eq "oracle"} {
      #
      # Oracle behaves differently: one needs the "modify"
      # subcommand, the stunt with the case below raises exceptions
      # of several reasons (cast needs length, boolean value in
      # coalesce, ...). Furthermore, Oracle does not allow a bind
      # variable for the default value.
      #
      set default [string trim $default]
      if {$default ne $value} {
        ::xo::dc dml alter-table-$table \
            "alter table $table modify $col default [ns_dbquotevalue $value]"
      }
      return
    }
    #
    # Newer versions of PostgreSQL return default values with type
    # casts (e.g. 'en_US'::character varying). In these cases, we
    # remove the type cast from the returned default value before
    # comparison.
    #
    # Depending on the generation and real datatype of the DBMS,
    # certain datatype values are reported differently from the
    # DBMS. Therefore, we use a type cast to check whether
    # specified default value (e.g. '1900-01-01') is in fact
    # equivalent to default stored in db (e.g. '1900-01-01
    # 00:00:00+01'::timestamp with time zone).
    #
    # Booleans can be normalized in advance without involving the
    # database
    if {
        ($default eq "f" && $value eq "false")
        || ($default eq "t" && $value eq "true")
      } {
      set value $default
    }
    if {$default ne $value} {
      if {[regexp {^'(.*)'::(.*)$} $default match default_value default_datatype]} {
        set clause "$default <> cast(:value as $default_datatype)"
      } else {
        set datatype [db_column_type $table $col]
        set clause "cast(:default as $datatype) <> cast(:value as $datatype)"
      }
      # This last coalesce is in case one of the compared values
      # was null: as we know they were different, this is
      # certainly a new default
      if {[::xo::dc get_value check_default "
                   select coalesce($clause, true) from dual"]} {
        ::xo::dc dml alter-table-$table \
            "alter table $table alter column $col set default :value"
      }
    }
  }

  require proc references {-table -col -ref} {
    # Check for already existing foreign keys.
    set ref [string trim $ref]
    # try to match the full reftable(refcol) syntax...
    if {![regexp {^(\w*)\s*\(\s*(\w*)\s*\)\s*(.*)$} $ref match reftable refcol rest]} {
      # if fails only table was given, assume refcol is reftable's
      # primary key
      set reftable [lindex $ref 0]
      set refcol [::acs::dc call util get_primary_keys -table $reftable]
      # only one primary key is supported for the table
      if {[llength $refcol] != 1} {
        return
      }
    }

    set exists_p [::acs::dc call util foreign_key_exists \
                      -table $table \
                      -column $col \
                      -reftable $reftable \
                      -refcolumn $refcol]
    if {$exists_p} {
      ns_log debug "foreign key already exists for table $table column $col" \
          "to ${reftable}(${refcol})"
      return
    }
    ::xo::dc dml alter-table-$table \
        "alter table $table add foreign key ($col) references $ref"
  }


  #
  # Methods for instances of the meta class (methods for object_types)
  #
  if {[db_driverkey ""] eq "postgresql"} {
    #
    # PostgreSQL
    #
    ::xo::db::Class instproc object_types_query {
      {-subtypes_first:boolean false}
    } {
      set object_type_key ${:object_type_key}
      set order_clause [expr {$subtypes_first ? "order by tree_sortkey desc":""}]
      return "select object_type from acs_object_types where
        tree_sortkey between '$object_type_key' and tree_right('$object_type_key')
        $order_clause"
    }
    ::xo::db::Class instproc init_type_hierarchy {} {
      set object_type ${:object_type}
      set :object_type_key [::xo::dc list get_tree_sortkey {
        select tree_sortkey from acs_object_types
        where object_type = :object_type
      }]
    }
  } else {
    #
    # Oracle
    #
    ::xo::db::Class instproc object_types_query {
      {-subtypes_first:boolean false}
    } {
      set object_type ${:object_type}
      set order_clause [expr {$subtypes_first ? "order by LEVEL desc":""}]
      return "select object_type from acs_object_types
        start with object_type = '$object_type'
        connect by prior object_type = supertype $order_clause"
    }
    ::xo::db::Class instproc init_type_hierarchy {} {
      set :object_type_key {}
    }
  }

  ::xo::db::Class ad_instproc object_types {
    {-subtypes_first:boolean false}
  } {
    Return the type and subtypes of the class, on which
    the method is called. If subtypes_first is specified,
    the subtypes are returned first.

    @return list of object_types
  } {
    return [::xo::dc list get_object_types \
                [:object_types_query -subtypes_first $subtypes_first]]
  }

  ::xo::db::Class ad_instproc create_object_type {} {
    Create an acs object_type for the current XOTcl class
  } {
    :check_default_values
    :check_table_atts

    # The default supertype is acs_object. If the supertype
    # was not changed (still acs_object), we map the superclass
    # to the object_type to obtain the ACS supertype.
    if {${:supertype} eq "acs_object"} {
      set :supertype [::xo::db::Class class_to_object_type [:info superclass]]
    }

    ::acs::dc call acs_object_type create_type \
        -object_type   ${:object_type} \
        -supertype     ${:supertype} \
        -pretty_name   ${:pretty_name} \
        -pretty_plural ${:pretty_plural} \
        -table_name    ${:table_name} \
        -id_column     ${:id_column} \
        -abstract_p    ${:abstract_p} \
        -name_method   ${:name_method} \
        -package_name  [:sql_package_name]
  }

  ::xo::db::Class ad_instproc drop_object_type {{-cascade true}} {
    Drop an acs object_type; cascde true means that the attributes
    are dropped as well.
  } {
    ::acs::dc call acs_object_type drop_type \
        -object_type ${:object_type} \
        -cascade_p [expr {$cascade ? "t" : "f"}]
  }

  ::xo::db::Class instproc db_slots {} {

    array set :db_slot [list]
    array set :db_constraints [list]
    #
    # First get all ::xo::db::Attribute slots and check later,
    # if we have to add the id_column automatically.
    #
    # :log "--setting db_slot all=[:info slots]"
    foreach att [:info slots] {
      #:log "--checking $att [$att istype ::xo::db::Attribute] [$att info class]"
      if {![$att istype ::xo::db::Attribute]} continue
      set :db_slot([$att name]) $att
      :collect_constraints $att
    }
    if {[self] ne "::xo::db::Object"} {
      if {[info exists :id_column] && ![info exists :db_slot(${:id_column})]} {
        # create automatically the slot for the id column
        :slots [subst {
          ::xo::db::Attribute create ${:id_column} \
              -pretty_name "ID" \
              -datatype integer \
              -create_acs_attribute false
        }]
        set :db_slot(${:id_column}) [self]::slot::${:id_column}
      }
    }
    #:log "--setting db_slot of [self] to [array names _db_slot]"
  }

  # read attribute constraints and store them so they can be added
  # after plain table creation
  ::xo::db::Class instproc collect_constraints {att} {
    set attname [$att name]
    # Index is always created after table creation, so it is always ok
    # to collect this...
    if {[$att exists index]} {
      lappend :db_constraints($attname) [list index [$att set index]]
    }
    # ...in all other cases, when column doesn not exist will be
    # created properly. No need to collect constraints.
    if {[::xo::db::require exists_column ${:table_name} $attname]} {
      if {[$att exists unique] && [$att set unique]} {
        lappend :db_constraints($attname) unique
      }
      if {[$att exists not_null] && [$att set not_null]} {
        lappend :db_constraints($attname) not_null
      }
      if {![string is space [$att set references]]} {
        lappend :db_constraints($attname) [list references [$att set references]]
      }
      if {[$att exists default]} {
        lappend :db_constraints($attname) [list default [$att set default]]
      }
    }
  }

  ::xo::db::Class instproc table_definition {} {
    array set column_specs [list]
    #
    # iterate over the slots and collect the column_specs for table generation
    #
    foreach {slot_name slot} [array get :db_slot] {
      if {![$slot create_table_attribute]} continue
      set column_name [$slot column_name]
      set column_specs($column_name) \
          [$slot column_spec -id_column [expr {$column_name eq ${:id_column}}]]
    }

    # Requires collected constraints on object's table.
    ::xo::db::Class instproc require_constraints {} {
      set table_name [:table_name]
      foreach col [array names :db_constraints] {
        foreach constr [set :db_constraints($col)] {
          set type  [lindex $constr 0]
          set value [join [lrange $constr 1 end]]
          switch -- $type {
            "unique" {
              ::xo::db::require unique \
                  -table $table_name -col $col
            }
            "index" {
              set value [expr {[string is true $value] ? "" : $value}]
              ::xo::db::require index -using $value \
                  -table $table_name -col $col
            }
            "not_null" {
              ::xo::db::require not_null \
                  -table $table_name -col $col
            }
            "references" {
              ::xo::db::require references \
                  -table $table_name -col $col \
                  -ref $value
            }
            "default" {
              ::xo::db::require default \
                  -table $table_name -col $col \
                  -value $value
            }
          }
        }
      }
    }

    if {[array size column_specs] > 0} {
      if {${:table_name} eq ""} {error "no table_name specified"}
      if {${:id_column} eq ""}  {error "no id_column specified"}
      if {![info exists column_specs(${:id_column})]} {
        error "no ::xo::db::Attribute slot for id_column '${:id_column}' specified"
      }
      set table_specs [list]
      foreach {att spec} [array get column_specs] {lappend table_specs $att $spec}
      set table_definition $table_specs
    } else {
      set table_definition ""
    }
    # :log table_definition=$table_definition
    return $table_definition
  }

  ::xo::db::Class instproc mk_update_method {} {
    set updates [list]
    set vars [list]
    foreach {slot_name slot} [array get :db_slot] {
      $slot instvar name column_name
      if {$column_name ne [:id_column]} {
        lappend updates "$column_name = :$name"
        lappend vars $name
      }
    }
    if {[llength $updates] == 0} return
    :instproc update {} [subst {
      ::xo::dc transaction {
        next
        :instvar object_id $vars
        ::xo::dc dml update_[:table_name] {update [:table_name]
          set [join $updates ,] where [:id_column] = :object_id
        }
      }
    }]
  }

  ::xo::db::Class instproc mk_insert_method {} {
    # create method 'insert' for the application class
    # The caller (e.g. method new) should care about db_transaction
    :instproc insert {} {
      set __table_name [[self class] table_name]
      set __id [[self class] id_column]
      set :$__id ${:object_id}
      :log "ID insert in $__table_name, id = $__id = [set :$__id]"
      next
      foreach {__slot_name __slot} [[self class] array get db_slot] {
        if {[info exists :$__slot_name]} {
          set $__slot_name [set :$__slot_name]
          lappend __vars $__slot_name
          lappend __atts [$__slot column_name]
        }
      }
      ::xo::dc dml insert_$__table_name "insert into $__table_name
        ([join $__atts ,]) values (:[join $__vars ,:])"
    }
  }

  ::xo::db::Class ad_instproc check_table_atts {} {
    Check table_name and id_column and set meaningful
    defaults, if these attributes are not provided.
  } {
    :check_default_values
    set table_name_error_tail ""
    set id_column_error_tail ""

    if {![info exists :sql_package_name]} {
      set :sql_package_name [self]
      #:log "-- sql_package_name of [self] is '${:sql_package_name}'"
    }
    if {[string length ${:sql_package_name}] > 30} {
      error "SQL package_name '${:sql_package_name}' can be maximal 30 characters long!\
        Please specify a shorter sql_package_name in the class definition."
    }
    if {${:sql_package_name} eq ""} {
      error "Cannot determine SQL package_name. Please specify it explicitly!"
    }

    if {![info exists :table_name]} {
      set tail [namespace tail [self]]
      regexp {^::([^:]+)::} [self] _ head
      :table_name [string tolower ${head}_$tail]
      #:log "-- table_name of [self] is '[:table_name]'"
      set table_name_error_tail ", or use different namespaces/class names"
    }

    if {![info exists :id_column]} {
      set :id_column [string tolower [namespace tail [self]]]_id
      set id_column_error_tail ", or use different class names"
      #:log "-- created id_column '[:id_column]'"
    }

    if {![regexp {^[[:alpha:]_][[:alnum:]_]*$} [:table_name]]} {
      error "Table name '[:table_name]' is unsafe in SQL: \
    Please specify a different table_name$table_name_error_tail."
    }

    if {[string length [:table_name]] > 30} {
      error "SQL table_name '[:table_name]' can be maximal 30 characters long!\
        Please specify a shorter table_name in the class definition."
    }

    if {![regexp {^[[:alpha:]_][[:alnum:]_]*$} [:id_column]]} {
      error "Name for id_column '[:id_column]' is unsafe in SQL: \
        Please specify a different id_column$id_column_error_tail"
    }
  }

  ::xo::db::Class instproc check_default_values {} {
    if {![info exists :pretty_name]}   {set :pretty_name [namespace tail [self]]}
    if {![info exists :pretty_plural]} {set :pretty_plural ${:pretty_name}}
  }

  ::xo::db::Class instproc init {} {
    if {![::xo::db::Class object_type_exists_in_db -object_type [:object_type]]} {
      :create_object_type
    }
    :init_type_hierarchy
    :check_table_atts
    :db_slots

    if {[:with_table]} {
      set table_definition [:table_definition]
      if {$table_definition ne ""} {
        ::xo::db::require table [:table_name] $table_definition
        :require_constraints
      }
      :mk_update_method
      :mk_insert_method
    }
    next
  }

  ::xo::db::Class instproc get_context {package_id_var user_id_var ip_var} {
    :upvar \
        $package_id_var package_id \
        $user_id_var user_id \
        $ip_var ip

    if {![info exists package_id]} {
      if {[nsf::is object ::xo::cc]} {
        set package_id    [::xo::cc package_id]
      } elseif {[ns_conn isconnected]} {
        set package_id    [ad_conn package_id]
      } else {
        set package_id ""
      }
    }
    if {![info exists user_id]} {
      if {[nsf::is object ::xo::cc]} {
        set user_id    [::xo::cc user_id]
      } elseif {[ns_conn isconnected]} {
        set user_id    [ad_conn user_id]
      } else {
        set user_id 0
      }
    }
    if {![info exists ip]} {
      if {[ns_conn isconnected]} {
        set ip [ad_conn peeraddr]
      } else {
        set ip [ns_info address]
      }
    }
  }

  ::xo::db::Class instproc new_acs_object {
    -package_id
    -creation_user
    -creation_ip
    {-context_id ""}
    {object_title ""}
  } {
    :get_context package_id creation_user creation_ip

    set id [::acs::dc call acs_object new \
                -object_type [::xo::db::Class class_to_object_type [self]] \
                -title $object_title \
                -package_id $package_id \
                -creation_user $creation_user \
                -creation_ip $creation_ip \
                -context_id $context_id \
                -security_inherit_p [:security_inherit_p]]
    return $id
  }

  ::xo::db::Class instproc initialize_acs_object {obj id} {
    #
    # This method is called, whenever a new (fresh) object with
    # a new object_id is created.
    #
    $obj set object_id $id
    # construct the same object_title as acs_object.new() does
    $obj set object_title "[:pretty_name] $id"
    #$obj set object_type [:object_type]
  }

  ::xo::db::Class ad_instproc new_persistent_object {
    -package_id
    -creation_user
    -creation_ip
    args
  } {
    Create a new instance of the given class,
    configure it with the given arguments and
    insert it into the database.  The XOTcl object is
    destroyed automatically on cleanup (end of a connection request).

    @return fully qualified object
  } {
    :get_context package_id creation_user creation_ip
    ::xo::dc transaction {
      set id [:new_acs_object \
                  -package_id $package_id \
                  -creation_user $creation_user \
                  -creation_ip $creation_ip \
                  ""]
      #[self class] set during_fetch 1
      ad_try {
        :create ::$id {*}$args
      } on error {errorMsg} {
        ad_log error "create fails: $errorMsg"
      }
      #[self class] unset during_fetch
      :initialize_acs_object ::$id $id
      ::$id insert
    }
    ::$id destroy_on_cleanup
    return ::$id
  }

  ##################
  # query interface
  ##################

  ::xo::db::Class ad_instproc instantiate_objects {
    {-dbn ""}
    {-sql ""}
    {-full_statement_name ""}
    {-as_ordered_composite:boolean true}
    {-object_class "::xotcl::Object"}
    {-named_objects:boolean false}
    {-object_named_after ""}
    {-destroy_on_cleanup:boolean true}
    {-keep_existing_objects:boolean false}
    {-ignore_missing_package_ids:boolean false}
    {-initialize true}
  } {

    Retrieve multiple objects from the database using the given SQL
    query and create XOTcl objects from the tuples.

    @param sql The SQL query to retrieve tuples. Note that if the SQL
    query only returns a restricted set of attributes, the objects
    will be only partially instantiated.

    @param as_ordered_composite return an ordered composite object
    preserving the order. If the flag is false, one has to use "info
    instances" to access the resulted objects.

    @param object_class specifies the XOTcl class, for which instances
    are created.

    @param named_objects If this flag is true, the value of the
    id_column is used for the name of the created objects (object will
    be named e.g. ::13738).  Otherwise, objects are created with the
    XOTcl "new" method to avoid object name clashes.

    @param destroy_on_cleanup If this flag is true, the objects (and
    ordered composite) will be automatically destroyed on cleanup
    (typically after the request was processed).

    @param initialize can be used to avoid full initialization, when a
    large series of objects is loaded. Per default, these objects are
    initialized via initialize_loaded_object, when the are of type
    ::xo::db::Object } {

    if {$object_class eq ""} {set object_class [self]}
    if {$sql eq ""} {set sql [:instance_select_query]}
    if {$as_ordered_composite} {
      set __result [::xo::OrderedComposite new]
      if {$destroy_on_cleanup} {$__result destroy_on_cleanup}
    } else {
      set __result [list]
    }
    if {$named_objects} {
      if {$object_named_after eq ""} {
        set object_named_after [:id_column]
      }
    }

    set sets [uplevel [list ::xo::dc sets -dbn $dbn dbqd..[self proc] $sql]]
    foreach selection $sets {
      if {$named_objects} {
        set object_name ::[ns_set get $selection $object_named_after]
        if {[nsf::is object $object_name]} {
          set o $object_name
          set new 0
        } else {
          set o [$object_class create $object_name]
          set new 1
        }
      } else {
        set new 0
        set o [$object_class new]
      }
      if {$as_ordered_composite} {
        $__result add $o
      } else {
        if {$destroy_on_cleanup} {
          $o destroy_on_cleanup
        }
        lappend __result $o
      }

      if {!$new && $keep_existing_objects} {
        #ns_log notice "+++ instantiate_objects keep existing object $o"
        continue
      }
      $o mset [ns_set array $selection]

      if {[$o exists object_type]} {
        #
        # Set the object type if it looks like managed from XOTcl.
        #
        set object_type [$o set object_type]
        if {[string match "::*" $object_type]} {
          $o class $object_type
        }
      }
      if {$initialize && [$o istype ::xo::db::Object]} {
        if {![$o exists package_id]} {
          if {[$o exists object_package_id]} {
            $o set package_id [$o set object_package_id]
          } elseif {!$ignore_missing_package_ids} {
            ns_log warning "[namespace tail [$o info class]] $o has no package_id and no object_package_id"
          }
        }
        ad_try {
          $o initialize_loaded_object
        } on error {errorMsg} {
          set context [lmap var {name item_id revision_id} {
            if {![$o exists $var]} continue
            set _ "$var [$o set $var]"
          }]
          ns_log error "$o initialize_loaded_object [join $context]" \
              "=> [lsort [$o info vars]] -> $errorMsg"
        }
      }
      #:log "--DB more = $continue [$o serialize]"
    }

    return $__result
  }

  ::xo::db::Class instproc fetch_query {id} {
    set tables [list]
    set attributes [list]
    set id_column [:id_column]
    set join_expressions [list "[:table_name].$id_column = $id"]
    foreach cl [list [self] {*}[:info heritage]] {
      #if {$cl eq "::xo::db::Object"} break
      if {$cl eq "::xotcl::Object"} break
      set tn [$cl table_name]
      if {$tn  ne ""} {
        lappend tables $tn
        #:log "--db_slots of $cl = [$cl array get db_slot]"
        foreach {slot_name slot} [$cl array get db_slot] {
          # avoid duplicate output names
          set name [$slot name]
          if {![info exists names($name)]} {
            lappend attributes [$slot attribute_reference $tn]
          }
          set names($name) 1
        }
        if {$cl ne [self]} {
          lappend join_expressions "$tn.[$cl id_column] = [:table_name].$id_column"
        }
      }
    }
    return "SELECT [join $attributes ,]\nFROM [join $tables ,]\nWHERE [join $join_expressions { and }]"
  }

  ::xo::db::Class ad_instproc instance_select_query {
    {-select_attributes ""}
    {-orderby ""}
    {-where_clause ""}
    {-from_clause ""}
    {-count:boolean false}
    {-page_size 20}
    {-page_number ""}
  } {
    Returns the SQL-query to select ACS Objects of the object_type
    of the class.
    @param select_attributes attributes for the SQL query to be retrieved.
    if no attributes are specified, all attributes are retrieved.
    @param orderby for ordering the solution set
    @param where_clause clause for restricting the answer set
    @param count return the query for counting the solutions
    @return SQL query
  } {
    set tables [list]
    set id_column [:id_column]

    if {$count} {
      set select_attributes "count(*)"
      set orderby ""         ;# no need to order when we count
      set page_number  ""    ;# no pagination when count is used
    }

    set all_attributes [expr {$select_attributes eq ""}]
    set join_expressions [list]
    foreach cl [list [self] {*}[:info heritage]] {
      #if {$cl eq "::xo::db::Object"} break
      if {$cl eq "::xotcl::Object"} break
      set tn [$cl table_name]

      if {$tn  ne ""} {
        lappend tables $tn
        if {$all_attributes} {
          foreach {slot_name slot} [$cl array get db_slot] {
            # avoid duplicate output names
            set name [$slot name]
            if {![info exists names($name)]} {
              lappend select_attributes [$slot attribute_reference $tn]
            }
            set names($name) 1
          }
        }
        if {$cl ne [self]} {
          lappend join_expressions "$tn.[$cl id_column] = [:table_name].$id_column"
        }
      }
    }

    if {$page_number ne ""} {
      set limit $page_size
      set offset [expr {$page_size*($page_number-1)}]
    } else {
      set limit ""
      set offset ""
    }
    set sql [::xo::dc select \
                 -vars   [join $select_attributes ,] \
                 -from  "[join $tables ,] $from_clause" \
                 -where  [string trim "[join $join_expressions { and }] $where_clause"] \
                 -orderby $orderby \
                 -limit $limit -offset $offset]
    return $sql
  }

  ::xo::db::Class ad_instproc get_instances_from_db {
    {-select_attributes ""}
    {-from_clause ""}
    {-where_clause ""}
    {-orderby ""}
    {-page_size 20}
    {-page_number ""}
    {-initialize true}
  } {
    Returns a set (ordered composite) of the answer tuples of
    an 'instance_select_query' with the same attributes. Note that
    the returned objects might by partially instantiated.

    @return ordered composite
  } {
    set s [:instantiate_objects \
               -object_class [self] \
               -sql [:instance_select_query \
                         -select_attributes $select_attributes \
                         -from_clause $from_clause \
                         -where_clause $where_clause \
                         -orderby $orderby \
                         -page_size $page_size \
                         -page_number $page_number \
                        ] \
               -initialize $initialize]
    return $s
  }
  ##############

  ::xo::db::Class create ::xo::db::Object \
      -superclass ::xotcl::Object \
      -object_type "acs_object" \
      -pretty_name "Object" \
      -pretty_plural "Objects" \
      -table_name "acs_objects" -id_column "object_id"

  ::xo::db::Object instproc insert {} {:log no-insert;}

  ::xo::db::Object ad_instproc update {
    -package_id -modifying_user -context_id
  } {
    Update the current object in the database
  } {
    set object_id ${:object_id}
    if {![info exists package_id] && [info exists :package_id]} {
      set package_id ${:package_id}
    }
    if {![info exists context_id]} {
      set context_id [expr {[info exists :context_id] ? ${:context_id} : ""}]
    }
    [:info class] get_context package_id modifying_user modifying_ip
    set title ${:object_title}
    ::xo::dc dml update_object {
      update acs_objects set
         title          = :title,
         modifying_user = :modifying_user,
         modifying_ip   = :modifying_ip,
         context_id     = :context_id
      where object_id = :object_id
    }
    # Make sure object memory image reflects db values
    foreach att {modifying_user modifying_ip context_id} {
      set :${att} [set $att]
    }
    set :last_modified [::xo::dc get_value -prepare integer \
                            get_last_modified {
      select last_modified from acs_objects
      where object_id = :object_id
    }]
  }

  ::xo::db::Object ad_instproc delete {} {
    Delete the object from the database and from memory
  } {
    ::acs::dc call acs_object delete -object_id ${:object_id}
    :destroy
  }

  ::xo::db::Object ad_instproc save {-package_id -modifying_user -context_id} {
    Save the current object in the database
  } {
    set cmd [list :update]
    if {[info exists package_id]} {lappend cmd -package_id $package_id}
    if {[info exists modifying_user]} {lappend cmd -modifying_user $modifying_user}
    if {[info exists context_id]} {lappend cmd -context_id $context_id}
    {*}$cmd
  }

  ::xo::db::Object ad_instproc save_new {
    -package_id -creation_user -creation_ip -context_id
  } {
    Save the XOTcl Object with a fresh acs_object
    in the database.

    @return new object id
  } {
    if {![info exists package_id] && [info exists :package_id]} {
      set package_id ${:package_id}
    }
    if {![info exists context_id]} {
      set context_id [expr {[info exists :context_id] ? ${:context_id} : ""}]
    }
    [:info class] get_context package_id creation_user creation_ip
    ::xo::dc transaction {
      set id [[:info class] new_acs_object \
                  -package_id $package_id \
                  -creation_user $creation_user \
                  -creation_ip $creation_ip \
                  -context_id $context_id \
                  ""]
      [:info class] initialize_acs_object [self$id
      :insert
    }
    return $id
  }

  ::xo::db::Object instproc initialize_loaded_object {} {
    #
    # This method is to be called, after an existing
    # object is fetched from the database.
    #
    # empty body, to be refined
  }


  ##############
  ::xotcl::MetaSlot create ::xo::db::Attribute \
      -superclass {::xo::Attribute} \
      -parameter {
        {sqltype}
        {column_name}
        {references ""}
        {min_n_values 1}
        {max_n_values 1}
        {create_acs_attribute true}
        {create_table_attribute true}
        {not_null}
        {unique}
        {index}
      } {
        #
        # ORM class representing an acs_attribute from and acs_object.
        #
      }

  nsv_set acs_attributes . .

  ::xo::db::Attribute instproc db_attribute_defined {
    -object_type
    -attribute_name
  } {
    #
    # One could try caching this, but be aware that this also requires
    # proper flushing, this value cannot be considered immutable, not
    # even per request.
    #
    #ns_log notice "GN: db_attribute_defined name $attribute_name type $object_type"
    #::xo::dc 0or1row -prepare text,text check_att {
    #  select 1 from acs_attributes
    #  where attribute_name = :attribute_name
    #    and object_type = :object_type
    #}
    if {![nsv_get acs_attributes acs_attributes list]} {
      ns_log notice "GN: fetch all db_attributes"
      set list [xo::dc list get_all_attributes {
        select object_type || '-' || attribute_name from acs_attributes
      }]
      nsv_set acs_attributes acs_attributes $list
    }
    set key $object_type-$attribute_name
    #ns_log notice "GN: check is $object_type $attribute_name in list? [expr {$key in $list}]"
    expr {$key in $list}
  }

  ::xo::db::Attribute instproc create_attribute {} {
    if {!${:create_acs_attribute}} return

    set object_type [${:domain} object_type]
    #ns_log notice "::xo::db::Attribute create_attribute $object_type ${:column_name} epoch [ns_ictl epoch] [array get ::db_state_default]"

    if {![:db_attribute_defined -object_type $object_type -attribute_name ${:column_name} ]} {

      ns_log notice "GN: Attribute create_attribute flushes acs_attributes cache"
      nsv_unset -nocomplain acs_attributes acs_attributes

      if {![::xo::db::Class object_type_exists_in_db -object_type $object_type]} {
        ${:domain} create_object_type
      }

      ::acs::dc call acs_attribute create_attribute \
          -object_type    $object_type \
          -attribute_name ${:column_name} \
          -datatype       ${:datatype} \
          -pretty_name    ${:pretty_name} \
          -min_n_values   ${:min_n_values} \
          -max_n_values   ${:max_n_values}

      if {[::acs::icanuse "nsv_dict"]} {
        nsv_dict set acs_attributes $object_type ${:column_name} 1
      }
    }
  }

  ::xo::db::Attribute instproc attribute_reference {tn} {
    if {${:column_name} ne ${:name}} {
      return "$tn.${:column_name} AS ${:name}"
    } else {
      return "$tn.${:name}"
    }
  }

  ::xo::db::Attribute instproc column_spec {{-id_column false}} {
    set table_name [${:domain} table_name]
    set column_spec ""
    append column_spec " " [::xo::dc map_datatype ${:sqltype}]
    #
    # Default
    #
    if {[info exists :default]} {
      append column_spec " DEFAULT '${:default}' "
    }
    #
    # References
    #
    if {[info exists :references] && ${:references} ne ""} {
      append column_spec " REFERENCES ${:references}"
    } elseif {$id_column} {
      set sc [${:domain} info superclass]
      if {![$sc istype ::xo::db::Class]} {set sc ::xo::db::Object}
      append column_spec " REFERENCES [$sc table_name]([$sc id_column])\
        ON DELETE CASCADE "
    }
    #
    # Unique and Not NULL
    #
    if {[info exists :unique]}   {append column_spec " UNIQUE "  }
    if {[info exists :not_null]} {append column_spec " NOT NULL "}
    #
    # Primary key
    #
    if {$id_column} {
      # add automatically a constraint for the id_column
      append column_spec " PRIMARY KEY "
    }
    append column_spec [::xo::dc datatype_constraint ${:sqltype} $table_name ${:name}]
    return $column_spec
  }

  ::xo::db::Attribute instproc init {} {
    next    ;# do first ordinary slot initialization
    if {![info exists :sqltype]}     {set :sqltype     ${:datatype}}
    if {![info exists :column_name]} {set :column_name ${:name}}

    :create_attribute
  }

  ##############
  ::xotcl::MetaSlot create ::xo::db::CrAttribute \
      -superclass {::xo::db::Attribute} {
        #
        # ORM class representing an acs_attribute for a content_type
        # in the Content Repository.
        #
      }

  ::xo::db::CrAttribute instproc create_attribute {} {
    # do nothing, if create_acs_attribute is set to false
    if {!${:create_acs_attribute}} return

    set object_type [${:domain} object_type]

    if {$object_type eq "content_folder"} {
      # content_folder does NOT allow one to use create_attribute etc.
      return
    }

    #:log "check attribute ${:column_name} object_type=$object_type, domain=${:domain}"
    if {![:db_attribute_defined -object_type $object_type -attribute_name ${:column_name}]} {

      ns_log notice "GN: CrAttribute create_attribute flushes acs_attributes cache"
      nsv_unset -nocomplain acs_attributes acs_attributes

      if {![::xo::db::Class object_type_exists_in_db -object_type $object_type]} {
        ${:domain} create_object_type
      }

      ::acs::dc call content_type create_attribute \
          -content_type   $object_type \
          -attribute_name ${:column_name} \
          -datatype       ${:datatype} \
          -pretty_name    ${:pretty_name} \
          -column_spec    [:column_spec]

      #if {[::acs::icanuse "nsv_dict"]} {
      #  nsv_dict set acs_attributes $object_type ${:column_name} 1
      #}
    }
  }


  ##############
  ::xo::db::Object slots {
    ::xo::db::Attribute create object_id    -pretty_name "Object ID" -datatype integer
    #::xo::db::Attribute create object_type  -pretty_name "Object Type"
    ::xo::db::Attribute create object_title \
        -pretty_name "Object Title" \
        -column_name title
    ::xo::db::Attribute create context_id \
        -pretty_name "Context ID" \
        -datatype integer \
        -column_name context_id
    ::xo::db::Attribute create security_inherit_p \
        -pretty_name "Security Inherit" \
        -datatype boolean \
        -column_name security_inherit_p
    ::xo::db::Attribute create package_id \
        -pretty_name "Package ID" \
        -datatype integer \
        -column_name package_id
    ::xo::db::Attribute create creation_user \
        -pretty_name "Creation User" \
        -datatype integer \
        -column_name creation_user
    ::xo::db::Attribute create creation_date \
        -pretty_name "Creation Date" \
        -datatype timestamp \
        -column_name creation_date
    ::xo::db::Attribute create creation_ip \
        -pretty_name "Creation IP Address" \
        -column_name creation_ip
    ::xo::db::Attribute create last_modified \
        -pretty_name "Last Modified On" \
        -datatype timestamp \
        -column_name last_modified
    ::xo::db::Attribute create modifying_user \
        -pretty_name "Modifying User" \
        -datatype integer \
        -column_name modifying_user
    ::xo::db::Attribute create modifying_ip \
        -pretty_name "Modifying IP Address" \
        -column_name modifying_ip
  }
  ::xo::db::Object db_slots
  ##############

  ##############
  # Handling temporary tables in PostgreSQL and Oracle via a common interface
  ##############

  ::xotcl::Class create ::xo::db::temp_table -parameter {name query vars}
  ::xo::db::temp_table instproc init {} {
    #
    # The cleanup order is - at least under AOLserver 4.01 - hard to get right.
    # When destroy_on_cleanup is executed, there might be already some global
    # data for the database interaction gone.... So, destroy these objects
    # by hand for now.
    # :destroy_on_cleanup
    #
    # The "GLOBAL" keyword on temp tables is deprecated (and currently
    # ignored) on PostgreSQL. Not sure, what's the state on various
    # Oracle versions. Therefore, we keep the comment for now.
    #

    if {![info exists :name]} {
      #
      # If there is no temp table name provided, create a name
      # avoiding name clashes. We assume, that the set of variables is
      # unique for such temp tables.
      #
      set :name "temp_table_[ns_md5 $vars]"
    }

    #
    # PRESERVE ROWS means that the data will be available until the
    # end of the SQL session..
    #
    set sql_create "CREATE temporary table ${:name} on commit PRESERVE ROWS as "

    # When the table exists already, simply insert into it ...
    if {[::xo::db::require exists_table ${:name}]} {
      ::xo::dc dml . "insert into ${:name} ([:vars]) (${:query})"
    } else {
      # ... otherwise, create the table with the data in one step
      ::xo::dc dml get_n_most_recent_contributions $sql_create${:query}
    }
  }
  ::xo::db::temp_table instproc destroy {} {
    # A session spans multiple connections in OpenACS.
    # We want to get rid the data when we are done.
    ::xo::dc dml truncate_temp_table "truncate table ${:name}"
    next
  }

  ##############
  ad_proc tcl_date {timestamp tz_var {secfrac_var ""}} {
    Convert the timestamp (coming from the database) into a format, which
    can be passed to Tcl's "clock scan".
  } {
    upvar $tz_var tz
    if {$secfrac_var ne ""} {
      upvar $secfrac_var secfrac
    }
    set tz 00
    set secfrac 0
    # Oracle style format like 2008-08-25 (no TZ, no sec frac)
    if {![regexp {^([0-9]+-[0-9]+-[0-9]+)$} $timestamp _ timestamp]} {
      # PostgreSQL type ANSI format secfrac and TZ
      if {![regexp {^([^.]+)[.]([0-9]*)([+-][0-9]*)$} $timestamp _ timestamp secfrac tz]} {
        # no TZ
        if {![regexp {^([^.]+)[.]([0-9]+)$} $timestamp _ timestamp secfrac]} {
          regexp {^([^.]+)([+-][0-9]*)$} $timestamp _ timestamp tz
        }
      }
    }
    return $timestamp
  }

  d_proc list_to_values {
    list
    {type text}
  } {

    Convert a Tcl list into a quoted SQL VALUES expression

    Example:

    <pre>% list_to_values {1 2 3 4 5}
    (VALUES (1), (2), (3), (4), (5))</pre>

  } {
    set valueList [lmap e $list {set _ ([ns_dbquotevalue $e $type])}]
    return "(VALUES [join $valueList ,])"
  }
}

::xo::library source_dependent

#
# Local variables:
#    mode: tcl
#    tcl-indent-level: 2
#    indent-tabs-mode: nil
# End: