4Suite API Documentation

Module Ft.Server.Server.Xslt.User

XSLT extension elements and functions supporting the 4SS User API
Copyright 2004 Fourthought, Inc. (USA).
Detailed license and copyright information: http://4suite.org/COPYRIGHT
Project home, documentation, distributions: http://4suite.org/
Classes:
Functions:
Globals:

Classes

class ChangeUserPasswordElement(Ft.Xml.Xslt.cStylesheetTree.XsltElement)
Changes the password of the specified user resource.

Methods

instantiate(self, context, processor)
Overrides: instantiate from class XsltElement

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

__getstate__, __init__, __iter__, __new__, __repr__, __setstate__, appendChild, insertChild, processChildren, removeChild, replaceChild, setAttribute

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

__reduce__, idle, isLastChild, pprint, prime, setup

Methods inherited from class object

__delattr__, __getattribute__, __hash__, __reduce_ex__, __setattr__, __str__

Members

__dict__ = <attribute '__dict__' of 'ChangeUserPasswordElement' objects>
__weakref__ = <attribute '__weakref__' of 'ChangeUserPasswordElement' objects>
content = <ContentModel object>
legalAttrs = {'new-password': <Ft.Xml.Xslt.AttributeInfo.StringAvt instance>, 'path': <Ft.Xml.Xslt.AttributeInfo.UriReferenceAvt instance>}

Members inherited from class Ft.Xml.Xslt.cStylesheetTree.XsltElement

attributes, baseUri, children, columnNumber, expandedName, importIndex, lineNumber, namespaces, nodeName, prefix

Members inherited from class Ft.Xml.Xslt.cStylesheetTree.XsltNode

doesIdle, doesPrime, doesSetup, isPseudoNode, parent, root

Members inherited from class object

__class__
class SetUserNameElement(Ft.Xml.Xslt.cStylesheetTree.XsltElement)
Set the username of a user resource.

Methods

instantiate(self, context, processor)
Overrides: instantiate from class XsltElement

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

__getstate__, __init__, __iter__, __new__, __repr__, __setstate__, appendChild, insertChild, processChildren, removeChild, replaceChild, setAttribute

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

__reduce__, idle, isLastChild, pprint, prime, setup

Methods inherited from class object

__delattr__, __getattribute__, __hash__, __reduce_ex__, __setattr__, __str__

Members

__dict__ = <attribute '__dict__' of 'SetUserNameElement' objects>
__weakref__ = <attribute '__weakref__' of 'SetUserNameElement' objects>
content = <ContentModel object>
legalAttrs = {'new-name': <Ft.Xml.Xslt.AttributeInfo.StringAvt instance>, 'path': <Ft.Xml.Xslt.AttributeInfo.UriReferenceAvt instance>}

Members inherited from class Ft.Xml.Xslt.cStylesheetTree.XsltElement

attributes, baseUri, children, columnNumber, expandedName, importIndex, lineNumber, namespaces, nodeName, prefix

Members inherited from class Ft.Xml.Xslt.cStylesheetTree.XsltNode

doesIdle, doesPrime, doesSetup, isPseudoNode, parent, root

Members inherited from class object

__class__

Functions

GetUserData(context, key, path=None)
Gets property data associated with a user
GetUserDataKeys(context, path=None)
Gets the names of properties associated with a user
GetUserName(context, path)
Get the user name given the path to a user resource. If the path is invalid or does not give a user object, '' is returned.
RemoveUserData(context, key, path=None)
Erases property data associated with a user
SetUserData(context, key, value, path=None)
Sets property data associated with a user

Globals

ExtElements = {('http://xmlns.4suite.org/4ss/score', 'change-password'): <class 'Ft.Server.Server.Xslt.User.ChangeUserPasswordElement'>, ('http://xmlns.4suite.org/4ss/score', 'set-username'): <class 'Ft.Server.Server.Xslt.User.SetUserNameElement'>}
ExtFunctions = {('http://xmlns.4suite.org/4ss/score', 'get-user-data'): <function GetUserData>, ('http://xmlns.4suite.org/4ss/score', 'get-user-data-keys'): <function GetUserDataKeys>, ('http://xmlns.4suite.org/4ss/score', 'get-username'): <function GetUserName>, ('http://xmlns.4suite.org/4ss/score', 'remove-user-data'): <function RemoveUserData>, ('http://xmlns.4suite.org/4ss/score', 'set-user-data'): <function SetUserData>}
FTSERVER_NAMESPACE = 'http://xmlns.4suite.org/reserved'
SCORE_NS = 'http://xmlns.4suite.org/4ss/score'