4Suite API Documentation

Module Ft.Server.Server.SCore.DocumentDefinitionImp

DocumentDefinition 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:
Fields:

Classes

A document definition document

Methods

Add a base document definition to this document definition. This will cause all of the documents associated with this document definition to be re-processed and could take a long time
Get the base definitions of this document definition
Get the creation parameters associated with this document definition. See Ft.Server.Core.CreationParamsImp.py
Get all of the parent definitions of this document definition
getMetaDocumentUris(self, recurse=1)
Get a list of all documents that use this doc def
removeBaseDocumentDefinition(self, baseDef, recurse=1)
Remove a base document definition. This will cause all of the documents associated with this document definition to be regenerated.
setContent(self, src)
setCreationParams(self, newCp)
Set the creation parameters of this document definition

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

Fields

Functions

NewDocumentDefinitionXml(driver, path, acl, owner, imt, src, docDef, typ)

Fields

FTSERVER_NAMESPACE = 'http://xmlns.4suite.org/reserved'
NEW_BASE_XUPDATE = '<xupdate:modifications\n version="1.0"\n xmlns:x..."/>\n </xupdate:append>\n</xupdate:modifications>\n'
REMOVE_BASE_XUPDATE = '<xupdate:modifications\n version="1.0"\n xmlns:x...se[@xlink:href=\'%s\']"/>\n</xupdate:modifications>\n'
SET_CREATION_PARAMS_XUPDATE = '<xupdate:modifications\n version="1.0"\n xmlns:x... %s\n </xupdate:append>\n</xupdate:modifications>\n'
XLINK_NAMESPACE = u'http://www.w3.org/1999/xlink'