- 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)
context_id (setter)
creation_date (setter)
creation_ip (setter)
creation_user (setter)
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
initialize_loaded_object (scripted)
insert (scripted)
last_modified (setter)
modifying_ip (setter)
modifying_user (setter)
object_id (setter)
object_title (setter)
package_id (setter)
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
security_inherit_p (setter)
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
Variables
::xo::db::Object set __default_metaclass ::xotcl::Class ::xo::db::Object set __default_superclass ::xotcl::Object ::xo::db::Object set abstract_p f ::xo::db::Object set auto_save false ::xo::db::Object array set db_constraints {} ::xo::db::Object array set db_slot \ {modifying_user ::xo::db::Object::slot::modifying_user last_modified \ ::xo::db::Object::slot::last_modified package_id ::xo::db::Object::slot::package_id \ object_title ::xo::db::Object::slot::object_title creation_ip \ ::xo::db::Object::slot::creation_ip security_inherit_p \ ::xo::db::Object::slot::security_inherit_p context_id ::xo::db::Object::slot::context_id \ modifying_ip ::xo::db::Object::slot::modifying_ip creation_date \ ::xo::db::Object::slot::creation_date creation_user ::xo::db::Object::slot::creation_user \ object_id ::xo::db::Object::slot::object_id} ::xo::db::Object set id_column object_id ::xo::db::Object set name_method {} ::xo::db::Object set object_type acs_object ::xo::db::Object set object_type_key 00000000 ::xo::db::Object set pretty_name Object ::xo::db::Object set pretty_plural Objects ::xo::db::Object set security_inherit_p t ::xo::db::Object set sql_package_name ::xo::db::Object ::xo::db::Object set supertype acs_object ::xo::db::Object set table_name acs_objects ::xo::db::Object set with_table true
- Methods: All Methods Documented Methods Hide Methods
- Source: Display Source Hide Source
- Variables: Show Variables Hide Variables