- Methods: All Methods Documented Methods Hide Methods
- Source: Display Source Hide Source
- Variables: Show Variables Hide Variables
Class ::xo::db::sql::content_type
::xo::db::sql::content_type create ...
Defined in
Class Relations
Methods (to be applied on the object)
create_attribute (scripted, public)
xo::db::sql::content_type 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 (optional, defaults to
"text"
)- Testcases:
- No testcase defined.
create_type (scripted, public)
xo::db::sql::content_type 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 (optional, defaults to
"content_revision"
)- -pretty_name (required)
- -pretty_plural (required)
- -table_name (required)
- -id_column (optional, defaults to
"XXX"
)- -name_method (optional)
- Testcases:
- xotcl_core_tutorial_4
drop_attribute (scripted, public)
xo::db::sql::content_type 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 (optional, defaults to
"f"
)- Testcases:
- No testcase defined.
drop_type (scripted, public)
xo::db::sql::content_type 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 (optional, defaults to
"f"
)- -drop_table_p (optional, defaults to
"f"
)- -drop_objects_p (optional, defaults to
"f"
)- Testcases:
- No testcase defined.
get_template (scripted, public)
xo::db::sql::content_type get_template [ -dbn dbn ] \ -content_type content_type -use_context use_contextAutomatically generated method
- Switches:
- -dbn (optional)
- -content_type (required)
- -use_context (required)
- Testcases:
- No testcase defined.
is_content_type (scripted, public)
xo::db::sql::content_type is_content_type [ -dbn dbn ] \ -object_type object_typeAutomatically generated method
- Switches:
- -dbn (optional)
- -object_type (required)
- Testcases:
- No testcase defined.
refresh_trigger (scripted, public)
xo::db::sql::content_type refresh_trigger [ -dbn dbn ] \ -content_type content_typeAutomatically generated method
- Switches:
- -dbn (optional)
- -content_type (required)
- Testcases:
- No testcase defined.
refresh_view (scripted, public)
xo::db::sql::content_type refresh_view [ -dbn dbn ] \ -content_type content_typeAutomatically generated method
- Switches:
- -dbn (optional)
- -content_type (required)
- Testcases:
- No testcase defined.
register_child_type (scripted, public)
xo::db::sql::content_type 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 (optional, defaults to
"generic"
)- -min_n (optional, defaults to
"0"
)- -max_n (optional)
- Testcases:
- No testcase defined.
register_mime_type (scripted, public)
xo::db::sql::content_type register_mime_type [ -dbn dbn ] \ -content_type content_type -mime_type mime_typeAutomatically generated method
- Switches:
- -dbn (optional)
- -content_type (required)
- -mime_type (required)
- Testcases:
- No testcase defined.
register_relation_type (scripted, public)
xo::db::sql::content_type 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 (optional, defaults to
"generic"
)- -min_n (optional, defaults to
"0"
)- -max_n (optional)
- Testcases:
- No testcase defined.
register_template (scripted, public)
xo::db::sql::content_type 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 (optional, defaults to
"f"
)- Testcases:
- No testcase defined.
rotate_template (scripted, public)
xo::db::sql::content_type rotate_template [ -dbn dbn ] \ -template_id template_id -v_content_type v_content_type \ -use_context use_contextAutomatically generated method
- Switches:
- -dbn (optional)
- -template_id (required)
- -v_content_type (required)
- -use_context (required)
- Testcases:
- No testcase defined.
set_default_template (scripted, public)
xo::db::sql::content_type set_default_template [ -dbn dbn ] \ -content_type content_type -template_id template_id \ -use_context use_contextAutomatically generated method
- Switches:
- -dbn (optional)
- -content_type (required)
- -template_id (required)
- -use_context (required)
- Testcases:
- No testcase defined.
trigger_insert_statement (scripted, public)
xo::db::sql::content_type trigger_insert_statement [ -dbn dbn ] \ -content_type content_typeAutomatically generated method
- Switches:
- -dbn (optional)
- -content_type (required)
- Testcases:
- No testcase defined.
unregister_child_type (scripted, public)
xo::db::sql::content_type unregister_child_type [ -dbn dbn ] \ -parent_type parent_type -child_type child_type \ -relation_tag relation_tagAutomatically generated method
- Switches:
- -dbn (optional)
- -parent_type (required)
- -child_type (required)
- -relation_tag (required)
- Testcases:
- No testcase defined.
unregister_mime_type (scripted, public)
xo::db::sql::content_type unregister_mime_type [ -dbn dbn ] \ -content_type content_type -mime_type mime_typeAutomatically generated method
- Switches:
- -dbn (optional)
- -content_type (required)
- -mime_type (required)
- Testcases:
- No testcase defined.
unregister_relation_type (scripted, public)
xo::db::sql::content_type 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)
- Testcases:
- No testcase defined.
unregister_template (scripted, public)
xo::db::sql::content_type 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)
- Testcases:
- No testcase defined.
Variables
::xo::db::sql::content_type set __default_metaclass ::xotcl::Class ::xo::db::sql::content_type set __default_superclass ::xotcl::Object ::xo::db::sql::content_type set abstract_p f ::xo::db::sql::content_type set auto_save false ::xo::db::sql::content_type set name_method {} ::xo::db::sql::content_type set object_type ::xo::db::sql::content_type ::xo::db::sql::content_type set security_inherit_p t ::xo::db::sql::content_type set sql_package_name content_type ::xo::db::sql::content_type set supertype acs_object ::xo::db::sql::content_type set with_table true
- Methods: All Methods Documented Methods Hide Methods
- Source: Display Source Hide Source
- Variables: Show Variables Hide Variables