4Suite API Documentation

Module Ft.Server.Server.SCore.GroupImp

Group repository resource class
Copyright 2003 Fourthought, Inc. (USA).
Detailed license and copyright information: http://4suite.org/COPYRIGHT
Project home, documentation, distributions: http://4suite.org/
Classes:
Functions:
Globals:

Classes

class GroupImp(Ft.Server.Server.SCore.XmlDocumentImp.XmlDocumentImp, Ft.Server.Server.SCore.GroupableObjectMixin.GroupableObjectMixin)
Contains implementation for a group resource which is a set of specified users

Methods

addMember(self, user)
Add a member to this group
getMemberPaths(self)
Get a list of names of all users that are members of this group
getMembers(self)
Get a list of all the users that are members of this group
getUsername(self)
Get the username of this group
removeMember(self, user)
Remove a user from this group

Methods inherited from class Ft.Server.Server.SCore.XmlDocumentImp.XmlDocumentImp

Methods inherited from class Ft.Server.Server.SCore.RawFileImp.RawFileImp

Methods inherited from class Ft.Server.Server.SCore.ResourceMetaDataImp.ResourceMetaDataImp

Methods inherited from class Ft.Server.Server.SCore.GroupableObjectMixin.GroupableObjectMixin

Members

resourceType = 8

Functions

NewGroupXml(driver, name, path, acl, owner, docDef)

Globals

FTSERVER_NAMESPACE = 'http://xmlns.4suite.org/reserved'
NEW_GROUP_MEMBER_XUPDATE = '<xupdate:modifications\n version="1.0"\n xmlns:x..."/>\n </xupdate:append>\n</xupdate:modifications>\n'
REMOVE_GROUP_MEMBER_XUPDATE = '<xupdate:modifications\n version="1.0"\n xmlns:x...:href=\'%s;metadata\']"/>\n</xupdate:modifications>\n'
XLINK_NAMESPACE = u'http://www.w3.org/1999/xlink'