4Suite API Documentation

Module Ft.Server.Server.SCore.ResourceMetaDataImp

######################################################################## # $Header: /var/local/cvsroot/4Suite/Ft/Server/Server/SCore/ResourceMetaDataImp.py,v 1.56 2005/03/28 11:29:12 mbrown Exp $
Classes:
Fields:

Classes

class ResourceMetaDataImp

Methods

__init__(self, path, driver, cache)
__str__(self)
########################################## #String interfaces ##########################################
addAcl(self, aclKey, aclIdent, allowed=1)
##################################### #ACL Interfaces #####################################
addAlias(self, path, docDef=None)
################################### #Creation Interfaces ###################################
addLiteralProperty(self, predicate, object, scope='', statementUri='')
addResourceProperty(self, predicate, object, scope='', statementUri='')
applyXslt(self, chain, params=None, ignorePis=1, extParams=None, extModules=None)
asDom(self, stripElements=None)
delete(self)
fetchResource(self, path, traverseAliases=None)
##################################### #Retrieval Interfaces #####################################
getAcl(self, aclKey=None)
getContentSlice(self, start=None, end=None)
getImt(self)
getModel(self)
getName(self)
getOwner(self)
getParent(self)
getPath(self)
############################################### #General interfaces for getting information about the object ###############################################
getRoot(self)
getSize(self)
hasResource(self, path)
##################################### #Query Interfaces #####################################
inheritAcl(self, aclKey)
isResourceType(self, testType)
markTemporary(self, timeToLive)
######################################## #Temporary file Interfaces ########################################
removeAcl(self, aclKey, aclIdent)
removeAlias(self, path)
###################################### #Delete Interface ######################################
removeLiteralProperty(self, predicate, object)
removeResourceProperty(self, predicate, object)
setAcl(self, aclKey, aclIdent, allowed=1)
setContent(self, src)
########################################## #Mutation Interfaces ##########################################
setOwner(self, newOwner)
toXPathContext(self, nss=None)
verifyAcl(self, aclKey, verifyTraverse=1)
xUpdate(self, updateSrc)

Fields

Fields

FTSERVER_NAMESPACE = 'http://xmlns.4suite.org/reserved'
RESERVED_NAMESPACE = 'http://xmlns.4suite.org/reserved'
SET_OWNER_XUPDATE = '<xupdate:modifications\n version="1.0"\n xmlns:x...ner">%s</xupdate:update>\n</xupdate:modifications>'
SET_TIME_TO_LIVE_XUPDATE = '<?xml version="1.0"?>\n<xupdate:modifications\n v...oLive></xupdate:append>\n</xupdate:modifications>\n'
UPDATE_TIME_TO_LIVE_XUPDATE = '<?xml version="1.0"?>\n<xupdate:modifications\n v...ve">%s</xupdate:update>\n</xupdate:modifications>\n'
XLINK_NAMESPACE = u'http://www.w3.org/1999/xlink'