4Suite API Documentation

Module Ft.Server.Client.Core.RepositoryClient

Classes:

Classes

Implementation for a repository instance

Methods

__init__(self, connection)
addXsltStrobe(self, path)
Register an XSLT file to be run on the strobe signal
createSession(self, key=None, ttl=0)
Create a new session from this connection. If key is specified, then the session ID is generated from this key, and whenever the session is accessed, the key must be given or the session will be invalidated.

ttl - session time to live, in seconds.
If ttl is 0, the driver default is used (usually 15 minutes).
Delete Session Data
Fetch a user or a group by name (not full path)
Get a list of Paths for all of the document definitions in the system
Get a list of group names for all of the users in the system
Get a list of Paths for all of the groups in the system
Get a list of user names for all of the users in the system
Get a list of Paths for all of the users in the system
getCommand(self, cmdName)
Get a command object by its name. The name should be dot-separated, like 4ss_manager.init
getSessionData(self, key)
Get Session Data
Get The expiration time of this session
############################################## #Transaction Interfaces ##############################################
See if this connection is in a session
Invalidate this session.
Remove from the repository all temporary resources that have outlived their lifetimes
reindex(self)
Performs a text-reindex on all metadocuments whose document definiton specifies a full text index
reloadModule(self, module)
Reload a Python module
searchDocuments(self, searchString)
Returns the paths to all metadocuments (whose document definitions specify that they are to be text indexed) that match the specified Swish query string
setSessionData(self, key, value)
Set Session Data
txCommit(self)
Commit the transaction associated w/ this repository instance
Rollback the transaction associated w/ this repository instance

Methods inherited from class Ft.Server.Client.Core.ContainerClient.ContainerClient

Methods inherited from class Ft.Server.Client.Core.XmlDocumentClient.XmlDocumentClient

Methods inherited from class Ft.Server.Client.Core.RawFileClient.RawFileClient

Methods inherited from class Ft.Server.Client.Core.ResourceMetaDataClient.ResourceMetaDataClient