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]

::xotcl::Class[i] ::xo::PackageMgr

Class Hierarchy of ::xo::PackageMgr

  • ::xotcl::Object[i]
    Meta-class:
    ::xotcl::Class[i]
    Methods for instances:
    __api_make_doc, __api_make_forward_doc, __timediff, abstract, ad_doc, ad_forward, ad_proc, appendC, arrayC, asHTML, autonameC, check, classC, cleanupC, configureC, containsC, copyC, db_0or1rowC, db_1rowC, debug, defaultmethodC, destroyC, destroy_on_cleanup, ds, evalC, existsC, extractConfigureArg, filterC, filterguardC, filtersearch, forward, hasclass, incrC, infoC, init, instvarC, invarC, isclass, ismetaclass, ismixin, isobject, istype, lappendC, log, method, mixinC, mixinguardC, moveC, msg, noinitC, objectparameter, parametercmdC, proc, procsearch, qn, requireNamespaceC, residualargsC, self, serialize, setC, set_instance_vars_defaults, show-object, substC, traceC, unknown, unsetC, uplevelC, upvarC, volatileC, vwait
    Methods to be applied on the class (in addition to the methods provided by the meta-class):
    getExitHandler, setExitHandler, unsetExitHandler
    • ::xotcl::Class[i]
      Meta-class:
      ::xotcl::Class[i]
      Parameter for instances:
      __default_metaclass (default "::xotcl::Class"), __default_superclass (default "::xotcl::Object")
      Methods for instances:
      ad_instproc, allinstances, allocC, createC, deallocC, extend_slot, infoC, instfilterC, instfilterguardC, instforward, instinvarC, instmixinC, instmixinguardC, instparametercmdC, instproc, method, newC, parameter, recreateC, slots, superclassC, unknown, uses
      Methods to be applied on the class (in addition to the methods provided by the meta-class):
      __unknown

Class Relations

  • superclass: ::xo::db::Class[i]

Methods

  • proc get_package_class_from_package_key (public)

    ::xo::PackageMgr[i] get_package_class_from_package_key package_key
    Obtain the package class from a package key

    Parameters:
    package_key
  • instproc first_instance (public)

    <instance of ::xo::PackageMgr[i]> first_instance \
        [ -privilege privilege ] [ -party_id party_id ]

    Switches:
    -privilege (optional)
    -party_id (optional)
    Returns:
    return first mounted instance of this type
  • instproc initialize (public)

    <instance of ::xo::PackageMgr[i]> initialize [ -ad_doc ad_doc ] \
        [ -parameter parameter ] [ -package_id package_id ] [ -url url ] \
        [ -user_id user_id ] [ -actual_query actual_query ] \
        [ -original_url_and_query original_url_and_query ] \
        [ -init_url init_url ] [ -keep_cc keep_cc ] \
        [ -form_parameter form_parameter ] [ -export_vars export_vars ]
    Create the connection context ::xo::cc and a package object if these are none defined yet. The connection context ::xo::cc and the package object will be destroyed on cleanup, when the global variables are reclaimed. As a side effect this method sets in the calling context the query parameters and package_id as variables, using the "defaults" for default values. init_url false requires the package_id to be specified and a call to Package instproc set_url to complete initialization. keep_cc true means that the original connection context is preserved (i.e. not altered) in case it exists already.

    Switches:
    -ad_doc (optional)
    -parameter (optional)
    -package_id (defaults to "0") (optional)
    -url (optional)
    -user_id (defaults to "-1") (optional)
    -actual_query (defaults to " ") (optional)
    -original_url_and_query (optional)
    -init_url (defaults to "true") (optional)
    -keep_cc (defaults to "false") (optional)
    -form_parameter (optional)
    -export_vars (defaults to "true") (optional)
  • instproc instances (public)

    <instance of ::xo::PackageMgr[i]> instances \
        [ -include_unmounted include_unmounted ] [ -closure closure ]

    Switches:
    -include_unmounted (defaults to "false") (optional)
    include unmounted package instances
    -closure (defaults to "false") (optional)
    include instances of subclasses of the package
    Returns:
    list of package_ids of xowiki instances
  • instproc require (public)

    <instance of ::xo::PackageMgr[i]> require [ -url url ] package_id
    Create package object if needed.

    Switches:
    -url (optional)
    Parameters:
    package_id

Instances

::s5::Package[i], ::xo::Package[i], ::xowf::Package[i], ::xowiki::Package[i]

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