Class ::xo::db::sql::content_item

::xo::db::sql::content_item[i] create ...

Class Relations

  • class: ::xo::db::Class[i]
  • superclass: ::xotcl::Object[i]

Methods (to be applied on the object)

  • copy (scripted, 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.
  • copy2 (scripted, 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.
  • del (scripted, 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.
  • delete (scripted, 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.
  • edit_name (scripted, 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.
  • generic_move (scripted, 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.
  • get_best_revision (scripted, 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.
  • get_content_type (scripted, 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.
  • get_context (scripted, 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.
  • get_id (scripted, 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.
  • get_latest_revision (scripted, 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.
  • get_live_revision (scripted, 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.
  • get_parent_folder (scripted, 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.
  • get_path (scripted, 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.
  • get_publish_date (scripted, 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.
  • get_revision_count (scripted, 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.
  • get_root_folder (scripted, 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.
  • get_template (scripted, 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.
  • get_title (scripted, 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.
  • get_virtual_path (scripted, 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.
  • is_index_page (scripted, 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.
  • is_publishable (scripted, 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.
  • is_published (scripted, 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.
  • is_subclass (scripted, 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.
  • is_valid_child (scripted, 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.
  • move (scripted, 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.
  • new (scripted, 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
  • register_template (scripted, 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.
  • relate (scripted, 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.
  • set_live_revision (scripted, 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
  • set_release_period (scripted, 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.
  • unregister_template (scripted, 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.
  • unrelate (scripted, 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.
  • unset_live_revision (scripted, 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.
  • write_to_file (scripted, 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.