- Methods: All Methods Documented Methods Hide Methods
- Source: Display Source Hide Source
- Variables: Show Variables Hide Variables
Class ::xo::db::Object
::xo::db::Object create ...
Defined in
Class Relations
- class: ::xo::db::Class
- superclass: ::xotcl::Object
- subclass: ::xo::Package, ::xo::db::chat_transcript, ::xo::db::chat_room, ::xo::db::CrItem, ::xo::db::apm_parameter
Methods (to be applied on instances)
delete (scripted, public)
<instance of xo::db::Object> deleteDelete the object from the database and from memory
- Testcases:
- xotcl_core_tutorial_1, test_xo_db_object
save (scripted, public)
<instance of xo::db::Object> 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)
- Testcases:
- xotcl_core_tutorial_2, test_xo_db_object
save_new (scripted, public)
<instance of xo::db::Object> 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
- Testcases:
- test_xo_db_object
update (scripted, public)
<instance of xo::db::Object> 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)
- Testcases:
- xotcl_core_tutorial_2, test_xo_db_object
- Methods: All Methods Documented Methods Hide Methods
- Source: Display Source Hide Source
- Variables: Show Variables Hide Variables