xotcl.wu-wien.ac.at
Begin main content
Methods: Source: Variables:
[All Methods | Documented Methods | Hide Methods] [Display Source | Hide Source] [Show Variables | Hide Variables]

::xo::db::Class[i] ::xo::db::sql::content_type

Class Hierarchy of ::xo::db::sql::content_type

Class Relations

  • superclass: ::xotcl::Object[i]

Methods

  • 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)
  • 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 (required)
    -name_method (required)
  • 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)
  • 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)
  • 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)
  • proc is_content_type (public)

    ::xo::db::sql::content_type[i] is_content_type [ -dbn dbn ] \
        -content_type content_type 
    Automatically generated method

    Switches:
    -dbn (optional)
    -content_type (required)
  • 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)
  • 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)
  • 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 (required)
  • 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)
  • 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 (required)
  • 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)
  • 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)
  • 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)
  • 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)
  • proc unregister_child_type (public)

    ::xo::db::sql::content_type[i] unregister_child_type [ -dbn dbn ] \
        -content_type content_type  -child_type child_type  \
        -relation_tag relation_tag 
    Automatically generated method

    Switches:
    -dbn (optional)
    -content_type (required)
    -child_type (required)
    -relation_tag (required)
  • 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)
  • 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)
  • 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 (required)
    -template_id (required)
    -use_context (required)

Methods: Source: Variables:
[All Methods | Documented Methods | Hide Methods] [Display Source | Hide Source] [Show Variables | Hide Variables]