4Suite
™
API Documentation
►
Module
Ft
.
Server
.
Client
.
Core
.ResourceMetaDataClient
######################################################################## # $Header: /var/local/cvsroot/4Suite/Ft/Server/Client/Core/ResourceMetaDataClient.py,v 1.32 2005/03/28 11:27:38 mbrown Exp $
Classes:
ResourceMetaDataClient
Classes
class
ResourceMetaDataClient
Methods
__cmp__
(
self
,
other
)
__hash__
(
self
)
__init__
(
self
,
path
,
connection
,
resourceType
,
root
)
__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
)
##################################### #Retrieval Interfaces #####################################
getAbsolutePath
(
self
)
getAbsolutePathAsUri
(
self
)
getAcl
(
self
,
aclKey
=None
)
getAclIdent
(
self
)
getAclIdentifiers
(
self
)
getAliases
(
self
)
getBasePath
(
self
)
getContent
(
self
)
getContentResource
(
self
)
getContentSlice
(
self
,
start
=None
,
end
=None
)
getCreationDate
(
self
)
getDisplayPath
(
self
)
getImt
(
self
)
getLastModifiedDate
(
self
)
getMetaDataResource
(
self
)
getModel
(
self
)
getName
(
self
)
getOwner
(
self
)
getParent
(
self
)
getPath
(
self
)
############################################### #General interfaces for getting information about the object ###############################################
getResourceType
(
self
)
getRoot
(
self
)
getSize
(
self
)
getStatementsAbout
(
self
)
getStatementsGeneratedBy
(
self
)
getValidationInfo
(
self
)
hasResource
(
self
,
path
)
##################################### #Query Interfaces #####################################
inheritAcl
(
self
,
aclKey
)
isResourceType
(
self
,
testType
)
markTemporary
(
self
,
timeToLive
)
######################################## #Temporary file Interfaces ########################################
pprint
(
self
)
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
)