Class ::xowf::Package

::xowf::Package[i] create ...

Class Relations

  • class: ::xo::PackageMgr[i]
  • superclass: ::xowiki::Package[i]

Methods (to be applied on the object)

  • create_new_workflow_page (scripted, public)

     xowf::Package[i] create_new_workflow_page -package_id package_id  \
        -parent_id parent_id  -name name  -title title  \
        [ -instance_attributes instance_attributes ]

    Helper proc for loading workflow prototype page with less effort.

    Switches:
    -package_id
    (required)
    -parent_id
    (required)
    -name
    (required)
    -title
    (required)
    -instance_attributes
    (optional)

    Partial Call Graph (max 5 caller/called nodes):
    %3 test_create_new_workflow_page create_new_workflow_page (test xowf) xowf::Package proc create_new_workflow_page xowf::Package proc create_new_workflow_page test_create_new_workflow_page->xowf::Package proc create_new_workflow_page

    Testcases:
    create_new_workflow_page

Methods (to be applied on instances)

  • destroy (scripted, public)

     <instance of xowf::Package[i]> destroy

    remove mixin

    Partial Call Graph (max 5 caller/called nodes):
    %3 test_create_test_items create_test_items (test xowf) xowf::Package instproc destroy xowf::Package instproc destroy test_create_test_items->xowf::Package instproc destroy test_create_workflow_with_instance create_workflow_with_instance (test xowf) test_create_workflow_with_instance->xowf::Package instproc destroy

    Testcases:
    create_test_items, create_workflow_with_instance
  • initialize (scripted, public)

     <instance of xowf::Package[i]> initialize

    Add mixin ::xowf::WorkflowPage to every FormPage.

    Partial Call Graph (max 5 caller/called nodes):
    %3 test_create_folder_with_page create_folder_with_page (test xowf) xowf::Package instproc initialize xowf::Package instproc initialize test_create_folder_with_page->xowf::Package instproc initialize test_create_test_items create_test_items (test xowf) test_create_test_items->xowf::Package instproc initialize test_create_workflow_with_instance create_workflow_with_instance (test xowf) test_create_workflow_with_instance->xowf::Package instproc initialize

    Testcases:
    create_test_items, create_folder_with_page, create_workflow_with_instance