4Suite API Documentation

Module Ft.Server.Server.Drivers.FlatFile

Classes:
Functions:
Fields:

Classes

Methods

__init__(self, db)
deleteContainer(self, path)
fetchChildren(self, parent)
manageChildren(self, parent, child, add=True)

Methods inherited from class Ft.Server.Server.Drivers.FtssDriver.DataStoreContainer


class FlatFileDriver(FlatFileContainer)

Methods

__init__(self, root)
commit(self)
createFile(self, path, typ, content)
deleteFile(self, path, typ)
fetchFile(self, path, typ)
hasFile(self, path, typ)
rollback(self)
updateFile(self, path, typ, content)

Methods inherited from class FlatFileContainer

Methods inherited from class Ft.Server.Server.Drivers.FtssDriver.DataStoreContainer

Functions

Begin(**properties)
CONTENT_PATH = createFlatFilePath(root, path, t)
Destroy(properties, tryOnly=0)
Exists(properties)
GetLock(fName, typ)
Initialize(properties)
Maintain(properties)
createFlatFilePath(root, path, t)

Fields

FTSERVER_NAMESPACE = 'http://xmlns.4suite.org/reserved'
NAME = 'Flat File'
SYSTEM_RDF_FILE = 'system-rdf'
USER_RDF_FILE = 'user-rdf'
XLINK_NAMESPACE = u'http://www.w3.org/1999/xlink'
g_typeDirs = {1: 'metadata', 2: 'content', 3: 'cache', 4: 'sessions'}