<?xml version="1.0" encoding="iso-8859-1"?>
<module name="Ft.Server.Server.Drivers.ResourceManager" file="/work/a/ports/textproc/py-4suite/work/4Suite-1.0b1/build/lib.freebsd-8.0-RELEASE-p2-i386-2.4/Ft/Server/Server/Drivers/ResourceManager.py">
  <modification-date>2005-04-02 06:26:22</modification-date>
  <abstract>Repo resource operations for the driver</abstract>
  <description>Copyright 2004 Fourthought, Inc. (USA).
Detailed license and copyright information: http://4suite.org/COPYRIGHT
Project home, documentation, distributions: http://4suite.org/</description>
  <classes>
    <class name="ResourceManager" public="yes">
      <bases>
      </bases>
      <abstract/>
      <description/>
      <method-resolution-order>
        <base name="ResourceManager" module="Ft.Server.Server.Drivers.ResourceManager"/>
      </method-resolution-order>
      <methods documented="yes" class="ResourceManager" module="Ft.Server.Server.Drivers.ResourceManager" inherited="no">
        <method public="yes" name="createResource" id="ResourceManager-createResource">
          <abstract>Create a new resource.  This function:
    - modifies the parent container
    - creates the metadata / content for the resource            
    - set's up the system metadata (via associated system doc defs)</abstract>
          <description/>
          <arguments>
            <arg name="self"/>
            <arg name="path"/>
            <arg name="metadata"/>
            <arg name="content"/>
          </arguments>
        </method>
        <method public="yes" name="deleteResource" id="ResourceManager-deleteResource">
          <abstract>Delete the resource (clear its cache, delete all of its data-store
components, remove from its parent, and delete its system metadata)</abstract>
          <description/>
          <arguments>
            <arg name="self"/>
            <arg name="path"/>
          </arguments>
        </method>
        <method public="yes" name="fetchResource" id="ResourceManager-fetchResource">
          <abstract>Fetch the content (caching the results)</abstract>
          <description/>
          <arguments>
            <arg name="self"/>
            <arg name="path"/>
          </arguments>
        </method>
        <method public="yes" name="fetchResourceCache" id="ResourceManager-fetchResourceCache">
          <abstract>Un Pickle and return the cache</abstract>
          <description/>
          <arguments>
            <arg name="self"/>
            <arg name="path"/>
          </arguments>
        </method>
        <method public="yes" name="hasResource" id="ResourceManager-hasResource">
          <abstract/>
          <description/>
          <arguments>
            <arg name="self"/>
            <arg name="path"/>
          </arguments>
        </method>
        <method public="yes" name="setResourceCache" id="ResourceManager-setResourceCache">
          <abstract>Pickle and store the cache</abstract>
          <description/>
          <arguments>
            <arg name="self"/>
            <arg name="path"/>
            <arg name="cache"/>
          </arguments>
        </method>
        <method public="yes" name="updateResourceContent" id="ResourceManager-updateResourceContent">
          <abstract>Update the specified resource with the given content (updating the
last modified time and size)</abstract>
          <description/>
          <arguments>
            <arg name="self"/>
            <arg name="path"/>
            <arg name="content"/>
          </arguments>
        </method>
        <method public="yes" name="verifyDeleteResource" id="ResourceManager-verifyDeleteResource">
          <abstract>Delete the resource</abstract>
          <description/>
          <arguments>
            <arg name="self"/>
            <arg name="path"/>
          </arguments>
        </method>
        <method public="yes" name="xupdateContent" id="ResourceManager-xupdateContent">
          <abstract>Apply XUpdate to the content and store it (updatng the size and last modified system metadata)</abstract>
          <description/>
          <arguments>
            <arg name="self"/>
            <arg name="path"/>
            <arg name="xu"/>
          </arguments>
        </method>
      </methods>
    </class>
  </classes>
  <fields>
    <field public="yes" name="UPDATE_ACL" id="UPDATE_ACL">
      <value>'&lt;xupdate:modifications\n  version=&quot;1.0&quot;\n  xmlns:x...ta&quot;&gt;%s&lt;/xupdate:append&gt;\n&lt;/xupdate:modifications&gt;\n'</value>
    </field>
    <field public="yes" name="UPDATE_LAST_MODIFIED_AND_SIZE" id="UPDATE_LAST_MODIFIED_AND_SIZE">
      <abstract>The Document interface represents the entire XML document. Conceptually,
it is the root of the document tree, and provides the primary access to the
document's data.</abstract>
      <description/>
      <value>&lt;Document at 0x49028eac: 1 children&gt;</value>
    </field>
    <field public="yes" name="g_rdfResourceTypes" id="g_rdfResourceTypes">
      <value>{1: 'http://schemas.4suite.org/4ss#container', 2: 'http://schemas.4suite.org/4ss#alias', 3: 'http://schemas.4suite.org/4ss#rawfile', 4: 'http://schemas.4suite.org/4ss#xmldocument', 5: 'http://schemas.4suite.org/4ss#xsltdocument', 6: 'http://schemas.4suite.org/4ss#schematrondocument', 7: 'http://schemas.4suite.org/4ss#user', 8: 'http://schemas.4suite.org/4ss#group', 9: 'http://schemas.4suite.org/4ss#xpathdocumentdefinition', 11: 'http://schemas.4suite.org/4ss#xsltdocumentdefinition', ...}</value>
    </field>
    <field public="yes" name="g_resourceTypeFromRdf" id="g_resourceTypeFromRdf">
      <value>{'http://schemas.4suite.org/4ss#alias': 2, 'http://schemas.4suite.org/4ss#command': 14, 'http://schemas.4suite.org/4ss#container': 1, 'http://schemas.4suite.org/4ss#documentdefinition': 13, 'http://schemas.4suite.org/4ss#group': 8, 'http://schemas.4suite.org/4ss#meta_data': 16, 'http://schemas.4suite.org/4ss#rawfile': 3, 'http://schemas.4suite.org/4ss#rdfdocument': 12, 'http://schemas.4suite.org/4ss#schematrondocument': 6, 'http://schemas.4suite.org/4ss#server': 15, ...}</value>
    </field>
  </fields>
</module>
