<?xml version="1.0" encoding="iso-8859-1"?>
<module name="Ft.Server.Server.Commands.Init" file="/work/a/ports/textproc/py-4suite/work/4Suite-1.0b1/build/lib.freebsd-7.1-RELEASE-i386-2.4/Ft/Server/Server/Commands/Init.py">
  <modification-date>2005-04-07 00:18:47</modification-date>
  <abstract>Initialize the repository.  This involves reformatting the storage back end (e.g. Postgres database or FlatFile root directory) and then adding the core data structures. You will LOSE ALL DATA when you execute the init, unless you use the --update option.  You can only init on the machine on which the command is executed.  You must have write access to where the back end stores its data (e.g., your userid must be able to write to the Postgres database if the back end is Postgres).  You may be prompted for additional information to complete the init.</abstract>
  <description/>
  <classes>
    <class name="CoreProduct" public="yes">
      <bases>
        <base documented="yes" class="Product" module="Ft.Server.Common.Install.InstallUtil"/>
      </bases>
      <abstract/>
      <description/>
      <method-resolution-order>
        <base name="CoreProduct" module="Ft.Server.Server.Commands.Init"/>
        <base name="Product" module="Ft.Server.Common.Install.InstallUtil"/>
      </method-resolution-order>
      <methods documented="yes" class="CoreProduct" module="Ft.Server.Server.Commands.Init" inherited="no">
        <method public="no" name="__init__" id="CoreProduct-__init__">
          <abstract/>
          <description/>
          <arguments>
            <arg name="self"/>
            <arg name="destroyRepo"/>
            <arg name="users"/>
          </arguments>
          <overrides name="Product" module="Ft.Server.Common.Install.InstallUtil"/>
        </method>
        <method public="yes" name="commit" id="CoreProduct-commit">
          <abstract/>
          <description/>
          <arguments>
            <arg name="self"/>
            <arg name="driver"/>
          </arguments>
        </method>
        <method public="yes" name="getRepo" id="CoreProduct-getRepo">
          <abstract>For the core product, our repo is the driver</abstract>
          <description/>
          <arguments>
            <arg name="self"/>
            <arg name="userName"/>
            <arg name="password"/>
            <arg name="properties"/>
          </arguments>
        </method>
        <method public="yes" name="install" id="CoreProduct-install">
          <abstract>Perform a few extra installation features.</abstract>
          <description/>
          <arguments>
            <arg name="self"/>
            <arg name="driver"/>
            <arg name="basePath"/>
            <arg name="quiet"/>
            <arg name="confirm"/>
            <arg default="False" name="do_update"/>
          </arguments>
          <overrides name="Product" module="Ft.Server.Common.Install.InstallUtil"/>
        </method>
        <method public="yes" name="rollback" id="CoreProduct-rollback">
          <abstract/>
          <description/>
          <arguments>
            <arg name="self"/>
            <arg name="driver"/>
          </arguments>
        </method>
        <method public="yes" name="setIndicator" id="CoreProduct-setIndicator">
          <abstract/>
          <description/>
          <arguments>
            <arg name="self"/>
          </arguments>
          <overrides name="Product" module="Ft.Server.Common.Install.InstallUtil"/>
        </method>
      </methods>
      <fields documented="yes" class="CoreProduct" module="Ft.Server.Server.Commands.Init" inherited="no">
        <field public="yes" name="coreResources" id="CoreProduct-coreResources">
          <value>[&lt;Container to be installed at ftss id=0x8db1f4c&gt;, &lt;Container to be installed at ftss/users id=0x8db1f0c&gt;, &lt;Container to be installed at ftss/groups id=0x8cb532c&gt;]</value>
        </field>
        <field public="yes" name="users" id="CoreProduct-users">
          <value>[]</value>
        </field>
      </fields>
      <methods documented="yes" class="Product" module="Ft.Server.Common.Install.InstallUtil" inherited="yes">
        <member-reference name="filter" public="yes"/>
        <member-reference name="serialize" public="yes"/>
        <member-reference name="setBase" public="yes"/>
        <member-reference name="sort" public="yes"/>
      </methods>
      <fields documented="yes" class="Product" module="Ft.Server.Common.Install.InstallUtil" inherited="yes">
        <member-reference name="description" public="yes"/>
        <member-reference name="name" public="yes"/>
        <member-reference name="version" public="yes"/>
      </fields>
    </class>
    <class name="ExtendedCommand" public="yes">
      <bases>
        <base documented="yes" class="Command" module="Ft.Server.Common.Install.InstallUtil"/>
      </bases>
      <abstract/>
      <description/>
      <method-resolution-order>
        <base name="ExtendedCommand" module="Ft.Server.Server.Commands.Init"/>
        <base name="Command" module="Ft.Server.Common.Install.InstallUtil"/>
        <base name="XmlDocument" module="Ft.Server.Common.Install.InstallUtil"/>
        <base name="RawFile" module="Ft.Server.Common.Install.InstallUtil"/>
        <base name="IndicatorBase" module="Ft.Server.Common.Install.InstallUtil"/>
      </method-resolution-order>
      <methods documented="yes" class="ExtendedCommand" module="Ft.Server.Server.Commands.Init" inherited="no">
        <method public="no" name="__init__" id="ExtendedCommand-__init__">
          <abstract/>
          <description/>
          <arguments>
            <arg name="self"/>
            <arg name="path"/>
            <arg name="acl"/>
            <arg name="owner"/>
            <arg name="imt"/>
            <arg name="docDef"/>
            <arg name="command"/>
            <arg name="cmdPath"/>
          </arguments>
          <overrides name="Command" module="Ft.Server.Common.Install.InstallUtil"/>
        </method>
        <method public="yes" name="buildOptionDoc" id="ExtendedCommand-buildOptionDoc">
          <abstract/>
          <description/>
          <arguments>
            <arg name="self"/>
            <arg name="option"/>
            <arg name="command"/>
          </arguments>
        </method>
      </methods>
      <fields documented="yes" class="Command" module="Ft.Server.Common.Install.InstallUtil" inherited="yes">
        <member-reference name="docName" public="yes"/>
        <member-reference name="resourceType" public="yes"/>
      </fields>
      <methods documented="yes" class="XmlDocument" module="Ft.Server.Common.Install.InstallUtil" inherited="yes">
        <member-reference name="createContent" public="yes"/>
        <member-reference name="updateOther" public="yes"/>
      </methods>
      <methods documented="yes" class="RawFile" module="Ft.Server.Common.Install.InstallUtil" inherited="yes">
        <member-reference name="__repr__" public="no"/>
        <member-reference name="checkStatus" public="yes"/>
        <member-reference name="setPath" public="yes"/>
        <member-reference name="setSource" public="yes"/>
        <member-reference name="updateAcl" public="yes"/>
        <member-reference name="updateContent" public="yes"/>
        <member-reference name="updateImt" public="yes"/>
        <member-reference name="updateOwner" public="yes"/>
      </methods>
      <fields documented="yes" class="RawFile" module="Ft.Server.Common.Install.InstallUtil" inherited="yes">
        <member-reference name="contentUri" public="yes"/>
        <member-reference name="imts" public="yes"/>
        <member-reference name="lmds" public="yes"/>
        <member-reference name="owners" public="yes"/>
        <member-reference name="stringContent" public="yes"/>
        <member-reference name="stringLastModified" public="yes"/>
      </fields>
      <fields documented="yes" class="IndicatorBase" module="Ft.Server.Common.Install.InstallUtil" inherited="yes">
        <member-reference name="indicator" public="yes"/>
      </fields>
    </class>
    <class name="OtherProduct" public="yes">
      <bases>
      </bases>
      <abstract/>
      <description/>
      <method-resolution-order>
        <base name="OtherProduct" module="Ft.Server.Server.Commands.Init"/>
      </method-resolution-order>
      <methods documented="yes" class="OtherProduct" module="Ft.Server.Server.Commands.Init" inherited="no">
        <method public="no" name="__init__" id="OtherProduct-__init__">
          <abstract/>
          <description/>
          <arguments>
            <arg name="self"/>
            <arg name="baseProduct"/>
            <arg name="users"/>
          </arguments>
        </method>
        <method public="yes" name="commit" id="OtherProduct-commit">
          <abstract/>
          <description/>
          <arguments>
            <arg name="self"/>
            <arg name="repo"/>
          </arguments>
        </method>
        <method public="yes" name="getRepo" id="OtherProduct-getRepo">
          <abstract/>
          <description/>
          <arguments>
            <arg name="self"/>
            <arg name="userName"/>
            <arg name="password"/>
            <arg name="properties"/>
          </arguments>
        </method>
        <method public="yes" name="install" id="OtherProduct-install">
          <abstract/>
          <description/>
          <arguments>
            <arg name="self"/>
            <arg name="repo"/>
            <arg name="basePath"/>
            <arg name="quiet"/>
            <arg name="confirm"/>
            <arg default="False" name="do_update"/>
          </arguments>
        </method>
        <method public="yes" name="rollback" id="OtherProduct-rollback">
          <abstract/>
          <description/>
          <arguments>
            <arg name="self"/>
            <arg name="repo"/>
          </arguments>
        </method>
      </methods>
    </class>
  </classes>
  <functions>
    <function public="yes" name="BuildCommandDocs" id="BuildCommandDocs">
      <abstract/>
      <description/>
      <arguments>
        <arg name="command"/>
        <arg name="baseName"/>
        <arg name="acl"/>
      </arguments>
    </function>
    <function public="yes" name="BuildCommandProduct" id="BuildCommandProduct">
      <abstract/>
      <description/>
      <arguments>
      </arguments>
    </function>
    <function public="yes" name="BuildDataProduct" id="BuildDataProduct">
      <abstract/>
      <description/>
      <arguments>
      </arguments>
    </function>
    <function public="yes" name="BuildDocProduct" id="BuildDocProduct">
      <abstract/>
      <description/>
      <arguments>
        <arg default="False" name="do_update"/>
      </arguments>
    </function>
    <function public="yes" name="BuildProductList" id="BuildProductList">
      <abstract/>
      <description/>
      <arguments>
        <arg name="components"/>
        <arg name="destroyRepo"/>
        <arg name="users"/>
        <arg default="False" name="do_update"/>
      </arguments>
    </function>
    <function public="yes" name="BuildServerProduct" id="BuildServerProduct">
      <abstract/>
      <description/>
      <arguments>
      </arguments>
    </function>
    <function public="yes" name="CommandLineInit" id="CommandLineInit">
      <abstract>Init function called from the command line tool.
Parse options and args, do validation, and then
call the common Initialization routines.</abstract>
      <description/>
      <arguments>
        <arg name="options"/>
        <arg name="args"/>
      </arguments>
    </function>
    <function public="yes" name="DoInit" id="DoInit">
      <abstract>Do the actual initialization.
Iterate over the components and do each one.</abstract>
      <description/>
      <arguments>
        <arg name="properties"/>
        <arg name="userName"/>
        <arg name="password"/>
        <arg name="components"/>
        <arg default="False" name="confirm"/>
        <arg default="False" name="destroyRepo"/>
        <arg default="None" name="users"/>
        <arg default="False" name="quiet"/>
        <arg default="False" name="do_update"/>
      </arguments>
    </function>
    <function public="yes" name="Register" id="Register">
      <abstract/>
      <description/>
      <arguments>
      </arguments>
    </function>
    <function public="yes" name="VerifyComponent" id="VerifyComponent">
      <abstract/>
      <description/>
      <arguments>
        <arg name="comp"/>
      </arguments>
    </function>
  </functions>
  <fields>
    <field public="yes" name="FTSERVER_NAMESPACE" id="FTSERVER_NAMESPACE">
      <value>'http://xmlns.4suite.org/reserved'</value>
    </field>
    <field public="yes" name="XLINK_NAMESPACE" id="XLINK_NAMESPACE">
      <value>u'http://www.w3.org/1999/xlink'</value>
    </field>
    <field public="yes" name="c" id="c">
      <value>'Data'</value>
    </field>
    <field public="yes" name="g_allComponentNames" id="g_allComponentNames">
      <value>['data', 'commands', 'docs', 'servers', 'demos', 'dashboard']</value>
    </field>
    <field public="yes" name="g_allComponents" id="g_allComponents">
      <value>{'Commands': '4ss and 4ss_manager commands and documentation; ...o use the 4ss and  4ss_manager command-line tools', 'Dashboard': 'The web-based control panel for 4Suite', 'Data': 'Commonly used 4Suite data and icons (required; must be  first component installed)', 'Demos': 'The default 4Suite Repository Demonstration applications and the server to access them', 'Docs': 'All 4Suite documentation', 'Servers': 'The default FtRpc and Ftp Server'}</value>
    </field>
    <field public="yes" name="g_componentHelp" id="g_componentHelp">
      <value>'Specify which components to add/update in the re...s (required; must be  first component installed).'</value>
    </field>
    <field public="yes" name="generators" id="generators">
      <value>_Feature((2, 2, 0, 'alpha', 1), (2, 3, 0, 'final', 0), 4096)</value>
    </field>
    <field public="yes" name="name" id="name">
      <value>'Data'</value>
    </field>
    <field public="yes" name="value" id="value">
      <value>'Commonly used 4Suite data and icons (required; must be  first component installed)'</value>
    </field>
  </fields>
</module>
