Ft.Server.Server.SCore.ResourceMetaDataImp

Modules

AclConstants  FtssInputSource  Schema  XmlLib 
Context  InputSource  Statement  cStringIO 
Ft  ResourceTypes  XUpdate  warnings 

Classes

class CompiletimeException(Ft.Xml.XPath.XPathException)
__init__(self, errorCode, *args)

Data and other non-method functions defined here:

INTERNAL = 1
int(x[, base]) -> integer

Convert a string or number to an integer, if possible. A floating point
argument will be truncated towards zero (this does not include a string
representation of a floating point number!) When converting a string, use
the optional base. It is an error to supply a base when converting a
non-string.
SYNTAX = 2
int(x[, base]) -> integer

Convert a string or number to an integer, if possible. A floating point
argument will be truncated towards zero (this does not include a string
representation of a floating point number!) When converting a string, use
the optional base. It is an error to supply a base when converting a
non-string.
__doc__ = None
__module__ = 'Ft.Xml.XPath'
str(object) -> string

Return a nice string representation of the object.
If the argument is a string, the return value is the same object.
class Error

Data and other non-method functions defined here:

ALREADY_GROUP_MEMBER = 3000
int(x[, base]) -> integer

Convert a string or number to an integer, if possible. A floating point
argument will be truncated towards zero (this does not include a string
representation of a floating point number!) When converting a string, use
the optional base. It is an error to supply a base when converting a
non-string.
BROKEN_ALIAS = 30
int(x[, base]) -> integer

Convert a string or number to an integer, if possible. A floating point
argument will be truncated towards zero (this does not include a string
representation of a floating point number!) When converting a string, use
the optional base. It is an error to supply a base when converting a
non-string.
CONFIG_FILE_MISSING = 14
int(x[, base]) -> integer

Convert a string or number to an integer, if possible. A floating point
argument will be truncated towards zero (this does not include a string
representation of a floating point number!) When converting a string, use
the optional base. It is an error to supply a base when converting a
non-string.
CONFIG_INVALID_CORE_ID = 15
int(x[, base]) -> integer

Convert a string or number to an integer, if possible. A floating point
argument will be truncated towards zero (this does not include a string
representation of a floating point number!) When converting a string, use
the optional base. It is an error to supply a base when converting a
non-string.
CONFIG_INVALID_REPOSITORY = 16
int(x[, base]) -> integer

Convert a string or number to an integer, if possible. A floating point
argument will be truncated towards zero (this does not include a string
representation of a floating point number!) When converting a string, use
the optional base. It is an error to supply a base when converting a
non-string.
CONFIG_INVALID_VALUE = 13
int(x[, base]) -> integer

Convert a string or number to an integer, if possible. A floating point
argument will be truncated towards zero (this does not include a string
representation of a floating point number!) When converting a string, use
the optional base. It is an error to supply a base when converting a
non-string.
CONFIG_MISSING_PROPERTY = 11
int(x[, base]) -> integer

Convert a string or number to an integer, if possible. A floating point
argument will be truncated towards zero (this does not include a string
representation of a floating point number!) When converting a string, use
the optional base. It is an error to supply a base when converting a
non-string.
CONFIG_MULTIPLE_PROPERTIES = 12
int(x[, base]) -> integer

Convert a string or number to an integer, if possible. A floating point
argument will be truncated towards zero (this does not include a string
representation of a floating point number!) When converting a string, use
the optional base. It is an error to supply a base when converting a
non-string.
CONFIG_NOT_FOUND = 10
int(x[, base]) -> integer

Convert a string or number to an integer, if possible. A floating point
argument will be truncated towards zero (this does not include a string
representation of a floating point number!) When converting a string, use
the optional base. It is an error to supply a base when converting a
non-string.
DRIVER_UNAVAILABLE = 18
int(x[, base]) -> integer

Convert a string or number to an integer, if possible. A floating point
argument will be truncated towards zero (this does not include a string
representation of a floating point number!) When converting a string, use
the optional base. It is an error to supply a base when converting a
non-string.
EXTENSION_MISSING_REQUIRED_ATTRIBUTE = 2500
int(x[, base]) -> integer

Convert a string or number to an integer, if possible. A floating point
argument will be truncated towards zero (this does not include a string
representation of a floating point number!) When converting a string, use
the optional base. It is an error to supply a base when converting a
non-string.
GROUP_EXISTS = 35
int(x[, base]) -> integer

Convert a string or number to an integer, if possible. A floating point
argument will be truncated towards zero (this does not include a string
representation of a floating point number!) When converting a string, use
the optional base. It is an error to supply a base when converting a
non-string.
INTERNAL_ERROR = 1
int(x[, base]) -> integer

Convert a string or number to an integer, if possible. A floating point
argument will be truncated towards zero (this does not include a string
representation of a floating point number!) When converting a string, use
the optional base. It is an error to supply a base when converting a
non-string.
INVALID_ACL_IDENT = 33
int(x[, base]) -> integer

Convert a string or number to an integer, if possible. A floating point
argument will be truncated towards zero (this does not include a string
representation of a floating point number!) When converting a string, use
the optional base. It is an error to supply a base when converting a
non-string.
INVALID_LOGIN = 22
int(x[, base]) -> integer

Convert a string or number to an integer, if possible. A floating point
argument will be truncated towards zero (this does not include a string
representation of a floating point number!) When converting a string, use
the optional base. It is an error to supply a base when converting a
non-string.
INVALID_PATH = 20
int(x[, base]) -> integer

Convert a string or number to an integer, if possible. A floating point
argument will be truncated towards zero (this does not include a string
representation of a floating point number!) When converting a string, use
the optional base. It is an error to supply a base when converting a
non-string.
INVALID_SESSION = 4
int(x[, base]) -> integer

Convert a string or number to an integer, if possible. A floating point
argument will be truncated towards zero (this does not include a string
representation of a floating point number!) When converting a string, use
the optional base. It is an error to supply a base when converting a
non-string.
INVALID_XML = 1000
int(x[, base]) -> integer

Convert a string or number to an integer, if possible. A floating point
argument will be truncated towards zero (this does not include a string
representation of a floating point number!) When converting a string, use
the optional base. It is an error to supply a base when converting a
non-string.
LOG_URIREF_MISSING = 60
int(x[, base]) -> integer

Convert a string or number to an integer, if possible. A floating point
argument will be truncated towards zero (this does not include a string
representation of a floating point number!) When converting a string, use
the optional base. It is an error to supply a base when converting a
non-string.
NOT_SUPPORTED = 51
int(x[, base]) -> integer

Convert a string or number to an integer, if possible. A floating point
argument will be truncated towards zero (this does not include a string
representation of a floating point number!) When converting a string, use
the optional base. It is an error to supply a base when converting a
non-string.
NO_REMOTE_REPO_ACCESS = 28
int(x[, base]) -> integer

Convert a string or number to an integer, if possible. A floating point
argument will be truncated towards zero (this does not include a string
representation of a floating point number!) When converting a string, use
the optional base. It is an error to supply a base when converting a
non-string.
OBJECT_DELETED = 31
int(x[, base]) -> integer

Convert a string or number to an integer, if possible. A floating point
argument will be truncated towards zero (this does not include a string
representation of a floating point number!) When converting a string, use
the optional base. It is an error to supply a base when converting a
non-string.
PATH_EXISTS = 23
int(x[, base]) -> integer

Convert a string or number to an integer, if possible. A floating point
argument will be truncated towards zero (this does not include a string
representation of a floating point number!) When converting a string, use
the optional base. It is an error to supply a base when converting a
non-string.
PERMISSION_DENIED = 32
int(x[, base]) -> integer

Convert a string or number to an integer, if possible. A floating point
argument will be truncated towards zero (this does not include a string
representation of a floating point number!) When converting a string, use
the optional base. It is an error to supply a base when converting a
non-string.
RELATIVE_PATH_FOR_FTSS_URI = 27
int(x[, base]) -> integer

Convert a string or number to an integer, if possible. A floating point
argument will be truncated towards zero (this does not include a string
representation of a floating point number!) When converting a string, use
the optional base. It is an error to supply a base when converting a
non-string.
RELATIVE_PATH_IN_FTSS_URI = 26
int(x[, base]) -> integer

Convert a string or number to an integer, if possible. A floating point
argument will be truncated towards zero (this does not include a string
representation of a floating point number!) When converting a string, use
the optional base. It is an error to supply a base when converting a
non-string.
RESOURCE_NOT_FOUND = 29
int(x[, base]) -> integer

Convert a string or number to an integer, if possible. A floating point
argument will be truncated towards zero (this does not include a string
representation of a floating point number!) When converting a string, use
the optional base. It is an error to supply a base when converting a
non-string.
SWISH_NOT_SUPPORTED = 2000
int(x[, base]) -> integer

Convert a string or number to an integer, if possible. A floating point
argument will be truncated towards zero (this does not include a string
representation of a floating point number!) When converting a string, use
the optional base. It is an error to supply a base when converting a
non-string.
TRANSACTION_IN_PROGRESS = 2
int(x[, base]) -> integer

Convert a string or number to an integer, if possible. A floating point
argument will be truncated towards zero (this does not include a string
representation of a floating point number!) When converting a string, use
the optional base. It is an error to supply a base when converting a
non-string.
TRANSACTION_NOT_IN_PROGRESS = 3
int(x[, base]) -> integer

Convert a string or number to an integer, if possible. A floating point
argument will be truncated towards zero (this does not include a string
representation of a floating point number!) When converting a string, use
the optional base. It is an error to supply a base when converting a
non-string.
UNABLE_TO_INITALIZE_REPO = 100
int(x[, base]) -> integer

Convert a string or number to an integer, if possible. A floating point
argument will be truncated towards zero (this does not include a string
representation of a floating point number!) When converting a string, use
the optional base. It is an error to supply a base when converting a
non-string.
UNKNOWN_DRIVER_ERROR = 17
int(x[, base]) -> integer

Convert a string or number to an integer, if possible. A floating point
argument will be truncated towards zero (this does not include a string
representation of a floating point number!) When converting a string, use
the optional base. It is an error to supply a base when converting a
non-string.
UNKNOWN_PATH = 21
int(x[, base]) -> integer

Convert a string or number to an integer, if possible. A floating point
argument will be truncated towards zero (this does not include a string
representation of a floating point number!) When converting a string, use
the optional base. It is an error to supply a base when converting a
non-string.
UNKNOWN_RESOURCE_TYPE = 24
int(x[, base]) -> integer

Convert a string or number to an integer, if possible. A floating point
argument will be truncated towards zero (this does not include a string
representation of a floating point number!) When converting a string, use
the optional base. It is an error to supply a base when converting a
non-string.
UNKNOWN_RPC_COMMAND = 52
int(x[, base]) -> integer

Convert a string or number to an integer, if possible. A floating point
argument will be truncated towards zero (this does not include a string
representation of a floating point number!) When converting a string, use
the optional base. It is an error to supply a base when converting a
non-string.
UNKNOWN_SERVER = 50
int(x[, base]) -> integer

Convert a string or number to an integer, if possible. A floating point
argument will be truncated towards zero (this does not include a string
representation of a floating point number!) When converting a string, use
the optional base. It is an error to supply a base when converting a
non-string.
UNKNOWN_VALIDATION_TYPE = 1010
int(x[, base]) -> integer

Convert a string or number to an integer, if possible. A floating point
argument will be truncated towards zero (this does not include a string
representation of a floating point number!) When converting a string, use
the optional base. It is an error to supply a base when converting a
non-string.
UNSUPPORTED_FTSS_URI_SCHEME = 25
int(x[, base]) -> integer

Convert a string or number to an integer, if possible. A floating point
argument will be truncated towards zero (this does not include a string
representation of a floating point number!) When converting a string, use
the optional base. It is an error to supply a base when converting a
non-string.
USER_EXISTS = 34
int(x[, base]) -> integer

Convert a string or number to an integer, if possible. A floating point
argument will be truncated towards zero (this does not include a string
representation of a floating point number!) When converting a string, use
the optional base. It is an error to supply a base when converting a
non-string.
USER_XSLT_DOCDEF_EXCEPTION = 42
int(x[, base]) -> integer

Convert a string or number to an integer, if possible. A floating point
argument will be truncated towards zero (this does not include a string
representation of a floating point number!) When converting a string, use
the optional base. It is an error to supply a base when converting a
non-string.
VALIDATION_ERROR = 1001
int(x[, base]) -> integer

Convert a string or number to an integer, if possible. A floating point
argument will be truncated towards zero (this does not include a string
representation of a floating point number!) When converting a string, use
the optional base. It is an error to supply a base when converting a
non-string.
XML_PARSE_EXCEPTION = 40
int(x[, base]) -> integer

Convert a string or number to an integer, if possible. A floating point
argument will be truncated towards zero (this does not include a string
representation of a floating point number!) When converting a string, use
the optional base. It is an error to supply a base when converting a
non-string.
XSLT_PARSE_EXCEPTION = 41
int(x[, base]) -> integer

Convert a string or number to an integer, if possible. A floating point
argument will be truncated towards zero (this does not include a string
representation of a floating point number!) When converting a string, use
the optional base. It is an error to supply a base when converting a
non-string.
__doc__ = None
__module__ = 'Ft.Server.Server.MessageSource'
str(object) -> string

Return a nice string representation of the object.
If the argument is a string, the return value is the same object.
class FtServerServerException(Ft.Server.FtServerBaseException)

Data and other non-method functions defined here:

MessageSource = <module 'Ft.Server.Server.MessageSource' from 'b...linux-ppc-2.2/Ft/Server/Server/MessageSource.py'>
__doc__ = None
__module__ = 'Ft.Server.Server'
str(object) -> string

Return a nice string representation of the object.
If the argument is a string, the return value is the same object.
class ResourceMetaDataImp
__init__(self, path, driver, cache)
__str__(self)
_delete(self)
_fetchResource(self, path)
_verifyAclIdent(self, aclIdent)
_verifyTx(self)
_xsltExecute(self, src, stylesheets, params, extParams, extModules, ignorePis, srcUri='')
addAcl(self, aclKey, aclIdent, allowed=1)
addAlias(self, path, docDef=None)
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)
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)
getExtFunctionsAndElements(self)
getImt(self)
getLastModifiedDate(self)
getMetaDataResource(self)
getModel(self)
getName(self)
getOwner(self)
getParent(self)
getPath(self)
getResourceType(self)
getRoot(self)
getSize(self)
getStatementsAbout(self)
getStatementsGeneratedBy(self)
getValidationInfo(self)
hasResource(self, path)
inheritAcl(self, aclKey)
isResourceType(self, testType)
markTemporary(self, timeToLive)
removeAcl(self, aclKey, aclIdent)
removeAlias(self, path)
removeLiteralProperty(self, predicate, object)
removeResourceProperty(self, predicate, object)
setAcl(self, aclKey, aclIdent, allowed=1)
setContent(self, src)
setOwner(self, newOwner)
toXPathContext(self, nss=None)
verifyAcl(self, aclKey, verifyTraverse=1)
xUpdate(self, updateSrc)

Data and other non-method functions defined here:

__doc__ = None
__module__ = 'Ft.Server.Server.SCore.ResourceMetaDataImp'
str(object) -> string

Return a nice string representation of the object.
If the argument is a string, the return value is the same object.
resourceType = 16
int(x[, base]) -> integer

Convert a string or number to an integer, if possible. A floating point
argument will be truncated towards zero (this does not include a string
representation of a floating point number!) When converting a string, use
the optional base. It is an error to supply a base when converting a
non-string.
class RuntimeException(Ft.Xml.XPath.XPathException)
__init__(self, errorCode, *args)

Data and other non-method functions defined here:

ARGCOUNT_ATLEAST = 202
int(x[, base]) -> integer

Convert a string or number to an integer, if possible. A floating point
argument will be truncated towards zero (this does not include a string
representation of a floating point number!) When converting a string, use
the optional base. It is an error to supply a base when converting a
non-string.
ARGCOUNT_ATMOST = 204
int(x[, base]) -> integer

Convert a string or number to an integer, if possible. A floating point
argument will be truncated towards zero (this does not include a string
representation of a floating point number!) When converting a string, use
the optional base. It is an error to supply a base when converting a
non-string.
ARGCOUNT_EXACT = 203
int(x[, base]) -> integer

Convert a string or number to an integer, if possible. A floating point
argument will be truncated towards zero (this does not include a string
representation of a floating point number!) When converting a string, use
the optional base. It is an error to supply a base when converting a
non-string.
ARGCOUNT_NONE = 201
int(x[, base]) -> integer

Convert a string or number to an integer, if possible. A floating point
argument will be truncated towards zero (this does not include a string
representation of a floating point number!) When converting a string, use
the optional base. It is an error to supply a base when converting a
non-string.
INTERNAL = 1
int(x[, base]) -> integer

Convert a string or number to an integer, if possible. A floating point
argument will be truncated towards zero (this does not include a string
representation of a floating point number!) When converting a string, use
the optional base. It is an error to supply a base when converting a
non-string.
NO_CONTEXT = 10
int(x[, base]) -> integer

Convert a string or number to an integer, if possible. A floating point
argument will be truncated towards zero (this does not include a string
representation of a floating point number!) When converting a string, use
the optional base. It is an error to supply a base when converting a
non-string.
UNDEFINED_FUNCTION = 102
int(x[, base]) -> integer

Convert a string or number to an integer, if possible. A floating point
argument will be truncated towards zero (this does not include a string
representation of a floating point number!) When converting a string, use
the optional base. It is an error to supply a base when converting a
non-string.
UNDEFINED_PREFIX = 101
int(x[, base]) -> integer

Convert a string or number to an integer, if possible. A floating point
argument will be truncated towards zero (this does not include a string
representation of a floating point number!) When converting a string, use
the optional base. It is an error to supply a base when converting a
non-string.
UNDEFINED_VARIABLE = 100
int(x[, base]) -> integer

Convert a string or number to an integer, if possible. A floating point
argument will be truncated towards zero (this does not include a string
representation of a floating point number!) When converting a string, use
the optional base. It is an error to supply a base when converting a
non-string.
WRONG_ARGUMENTS = 200
int(x[, base]) -> integer

Convert a string or number to an integer, if possible. A floating point
argument will be truncated towards zero (this does not include a string
representation of a floating point number!) When converting a string, use
the optional base. It is an error to supply a base when converting a
non-string.
__doc__ = None
__module__ = 'Ft.Xml.XPath'
str(object) -> string

Return a nice string representation of the object.
If the argument is a string, the return value is the same object.

Functions

Print(root, stream=<open file '<stdout>', mode 'w' at 0x100fe970>, encoding='UTF-8', asHtml=None)

Data

BASIC_RESOLVER = <Ft.Lib.Uri.UriResolverBase instance>
FTSERVER_NAMESPACE = 'http://xmlns.4suite.org/reserved'
str(object) -> string

Return a nice string representation of the object.
If the argument is a string, the return value is the same object.
OBJECT_TYPE_LITERAL = 'L'
str(object) -> string

Return a nice string representation of the object.
If the argument is a string, the return value is the same object.
OBJECT_TYPE_RESOURCE = 'R'
str(object) -> string

Return a nice string representation of the object.
If the argument is a string, the return value is the same object.
RESERVED_NAMESPACE = 'http://xmlns.4suite.org/reserved'
str(object) -> string

Return a nice string representation of the object.
If the argument is a string, the return value is the same object.
SET_OWNER_XUPDATE = '<xupdate:modifications\n version="1.0"\n xmlns:x...ner">%s</xupdate:update>\n</xupdate:modifications>'
str(object) -> string

Return a nice string representation of the object.
If the argument is a string, the return value is the same object.
SET_TIME_TO_LIVE_XUPDATE = '<?xml version="1.0"?>\n<xupdate:modifications\n v...oLive></xupdate:append>\n</xupdate:modifications>\n'
str(object) -> string

Return a nice string representation of the object.
If the argument is a string, the return value is the same object.
UPDATE_TIME_TO_LIVE_XUPDATE = '<?xml version="1.0"?>\n<xupdate:modifications\n v...ve">%s</xupdate:update>\n</xupdate:modifications>\n'
str(object) -> string

Return a nice string representation of the object.
If the argument is a string, the return value is the same object.
XLINK_NAMESPACE = u'http://www.w3.org/1999/xlink'
unicode(string [, encoding[, errors]]) -> object

Create a new Unicode object from the given encoded string.
encoding defaults to the current default string encoding and
errors, defining the error handling, to 'strict'.
__file__ = 'build/lib.linux-ppc-2.2/Ft/Server/Server/SCore/ResourceMetaDataImp.py'
str(object) -> string

Return a nice string representation of the object.
If the argument is a string, the return value is the same object.
__name__ = 'Ft.Server.Server.SCore.ResourceMetaDataImp'
str(object) -> string

Return a nice string representation of the object.
If the argument is a string, the return value is the same object.