4Suite API Documentation

Module Ft.Server.Server.Xslt.Repository

######################################################################## # $Header: /var/local/cvsroot/4Suite/Ft/Server/Server/Xslt/Repository.py,v 1.45 2005/04/06 23:05:46 jkloth Exp $
Classes:
Functions:
Fields:

Classes

class CreateSessionElement(Ft.Xml.Xslt.StylesheetTree.XsltElement)

Methods

instantiate(self, context, processor)

Methods inherited from class Ft.Xml.Xslt.StylesheetTree.XsltElement

Methods inherited from class Ft.Xml.Xslt.StylesheetTree.XsltNode

Fields

content = <Ft.Xml.Xslt.ContentInfo.Atom instance>
Empty is the content model for childless elements
legalAttrs = {'key': <Ft.Xml.Xslt.AttributeInfo.StringAvt instance>, 'ttl': <Ft.Xml.Xslt.AttributeInfo.NumberAvt instance>}

Fields

Fields


Methods

instantiate(self, context, processor)

Methods inherited from class Ft.Xml.Xslt.StylesheetTree.XsltElement

Methods inherited from class Ft.Xml.Xslt.StylesheetTree.XsltNode

Fields

content = <Ft.Xml.Xslt.ContentInfo.Atom instance>
Empty is the content model for childless elements
legalAttrs = {'failure-redirect': <Ft.Xml.Xslt.AttributeInfo.StringAvt instance>, 'password': <Ft.Xml.Xslt.AttributeInfo.StringAvt instance>, 'success-redirect': <Ft.Xml.Xslt.AttributeInfo.StringAvt instance>, 'timeout-redirect': <Ft.Xml.Xslt.AttributeInfo.StringAvt instance>, 'ttl': <Ft.Xml.Xslt.AttributeInfo.NumberAvt instance>, 'user': <Ft.Xml.Xslt.AttributeInfo.StringAvt instance>}

Fields

Fields


Methods

instantiate(self, context, processor)

Methods inherited from class Ft.Xml.Xslt.StylesheetTree.XsltElement

Methods inherited from class Ft.Xml.Xslt.StylesheetTree.XsltNode

Fields

content = <Ft.Xml.Xslt.ContentInfo.Atom instance>
Empty is the content model for childless elements

Fields

Fields


class SessionDataElement(Ft.Xml.Xslt.StylesheetTree.XsltElement)

Methods

instantiate(self, context, processor)

Methods inherited from class Ft.Xml.Xslt.StylesheetTree.XsltElement

Methods inherited from class Ft.Xml.Xslt.StylesheetTree.XsltNode

Fields

content = <Ft.Xml.Xslt.ContentInfo.Rep instance>
Template is the set of text, instructions or result-elements
legalAttrs = {'key': <Ft.Xml.Xslt.AttributeInfo.StringAvt instance>, 'value': <Ft.Xml.Xslt.AttributeInfo.StringAvt instance>}

Fields

Fields


class TextReindexRepositoryElement(Ft.Xml.Xslt.StylesheetTree.XsltElement)

Methods

instantiate(self, context, processor)

Methods inherited from class Ft.Xml.Xslt.StylesheetTree.XsltElement

Methods inherited from class Ft.Xml.Xslt.StylesheetTree.XsltNode

Fields

content = <Ft.Xml.Xslt.ContentInfo.Atom instance>
Empty is the content model for childless elements

Fields

Fields


class TextSearchRepositoryElement(Ft.Xml.Xslt.StylesheetTree.XsltElement)

Methods

instantiate(self, context, processor)

Methods inherited from class Ft.Xml.Xslt.StylesheetTree.XsltElement

Methods inherited from class Ft.Xml.Xslt.StylesheetTree.XsltNode

Fields

content = <Ft.Xml.Xslt.ContentInfo.Atom instance>
Empty is the content model for childless elements
legalAttrs = {'query': <Ft.Xml.Xslt.AttributeInfo.StringAvt instance>}

Fields

Fields

Functions

DeleteSessionData(context, key)
GetAllDocumentDefinitionPaths(context, path=None)
GetUserOrGroupByName(context, name)
HasSession(context)
HashString(context, rawString)
NormalizeUri(context, uri, base=None)
RepoPathToUriFunc(context, path)
SessionData(context, key)
UriToRepoPath(context, uri)

Fields

ExtElements = {('http://xmlns.4suite.org/4ss/score', 'create-session'): <class Ft.Server.Server.Xslt.Repository.CreateSessionElement>, ('http://xmlns.4suite.org/4ss/score', 'login'): <class Ft.Server.Server.Xslt.Repository.LoginElement>, ('http://xmlns.4suite.org/4ss/score', 'repo-text-reindex'): <class Ft.Server.Server.Xslt.Repository.TextReindexRepositoryElement>, ('http://xmlns.4suite.org/4ss/score', 'repo-text-search'): <class Ft.Server.Server.Xslt.Repository.TextSearchRepositoryElement>, ('http://xmlns.4suite.org/4ss/score', 'rollback'): <class Ft.Server.Server.Xslt.Repository.RollbackElement>, ('http://xmlns.4suite.org/4ss/score', 'session-data'): <class Ft.Server.Server.Xslt.Repository.SessionDataElement>}
ExtFunctions = {('http://xmlns.4suite.org/4ss/score', 'delete-session-data'): <function DeleteSessionData>, ('http://xmlns.4suite.org/4ss/score', 'get-all-document-definition-paths'): <function GetAllDocumentDefinitionPaths>, ('http://xmlns.4suite.org/4ss/score', 'get-current-user'): <function GetCurrentUser>, ('http://xmlns.4suite.org/4ss/score', 'get-current-username'): <function GetCurrentUserName>, ('http://xmlns.4suite.org/4ss/score', 'get-user-name'): <function _GetUserName>, ('http://xmlns.4suite.org/4ss/score', 'get-user-or-group'): <function GetUserOrGroupByName>, ('http://xmlns.4suite.org/4ss/score', 'has-session'): <function HasSession>, ('http://xmlns.4suite.org/4ss/score', 'hash-string'): <function HashString>, ('http://xmlns.4suite.org/4ss/score', 'normalize-uri'): <function NormalizeUri>, ('http://xmlns.4suite.org/4ss/score', 'repo-path-to-uri'): <function RepoPathToUriFunc>, ...}
FTSERVER_NAMESPACE = 'http://xmlns.4suite.org/reserved'
RESERVED_NAMESPACE = 'http://xmlns.4suite.org/reserved'
SCORE_NS = 'http://xmlns.4suite.org/4ss/score'