Ft.Server.Common.Install.InstallUtil

Modules

AclConstants  Time  file_util  sys 
Domlette  Uri  os  urllib 
ProgressIndicator  XPath  sha   
Schema  dep_util  stat   

Classes

__init__(self, path, acl, owner, imt, docDef, reference)
_checkOtherChange(self, repo)
_gatherDependencies(self, baseDir)
_initRdfCaches(self, repo)
_setBase(self, baseDir)
createContent(self, repo, quiet)
updateContent(self, repo, quiet)
updateOther(self, repo, quiet)

Data and other non-method functions defined here:

__doc__ = None
__module__ = 'Ft.Server.Common.Install.InstallUtil'
str(object) -> string

Return a nice string representation of the object.
If the argument is a string, the return value is the same object.
_refs = None
resourceType = 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.

Data and other non-method functions defined here:

__doc__ = None
__module__ = 'Ft.Server.Common.Install.InstallUtil'
str(object) -> string

Return a nice string representation of the object.
If the argument is a string, the return value is the same object.
docName = 'Command'
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 = 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.
__init__(self, path, acl, owner, imt, docDef)
createContent(self, repo, quiet)
updateContent(self, repo, quiet)

Data and other non-method functions defined here:

__doc__ = None
__module__ = 'Ft.Server.Common.Install.InstallUtil'
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 = 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.
__init__(self, file)
_gatherDependencies(self, baseDir)
_setBase(self, baseDir)
checkStatus(self, repo, force=0, checkAcl=1)
createContent(self, repo, quiet)
setPath(self, fName)
updateContent(self, repo, quiet)

Data and other non-method functions defined here:

__doc__ = None
__module__ = 'Ft.Server.Common.Install.InstallUtil'
str(object) -> string

Return a nice string representation of the object.
If the argument is a string, the return value is the same object.
owner = -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.
resourceType = None
__init__(self, groupName, acl, owner, imt, docDef, basePath, members)
_checkAclChange(self, repo)
_checkOtherChange(self, repo)
_gatherDependencies(self, baseDir)
_setBase(self, baseDir)
checkStatus(self, repo, force=0, checkAcl=1)
createContent(self, repo, quiet)
updateContent(self, repo, quiet)
updateOther(self, repo, quiet)

Data and other non-method functions defined here:

__doc__ = None
__module__ = 'Ft.Server.Common.Install.InstallUtil'
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 = 8
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 IndicatorBase
_message(self, msg, quiet)
_setIndicator(self, indicator)

Data and other non-method functions defined here:

__doc__ = None
__module__ = 'Ft.Server.Common.Install.InstallUtil'
str(object) -> string

Return a nice string representation of the object.
If the argument is a string, the return value is the same object.
indicator = None
class Product
__init__(self, resourceList, name='', version=0, description='')
filter(self, repo, checkAcl=1)
install(self, repo, baseDir, quiet, do_update=0, checkAcl=1)
serialize(self, stream=<open file '<stdout>', mode 'w' at 0x100fe970>, refUri='')
setBase(self, baseDir)
setIndicator(self)
sort(self, repo, quiet=0)

Data and other non-method functions defined here:

__doc__ = None
__module__ = 'Ft.Server.Common.Install.InstallUtil'
str(object) -> string

Return a nice string representation of the object.
If the argument is a string, the return value is the same object.
description = ''
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 = ''
str(object) -> string

Return a nice string representation of the object.
If the argument is a string, the return value is the same object.
useIndicator = 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.
version = 0
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.
__init__(self, path, acl, owner, imt)
__repr__(self)
_checkAclChange(self, repo)
_checkImtChange(self, repo)
_checkOtherChange(self, repo)
_checkOwnerChange(self, repo)
_gatherDependencies(self, baseDir)
_getContent(self)
_initRdfCaches(self, repo)
_setAcl(self, acl)
_setBase(self, baseDir)
checkStatus(self, repo, force=0, checkAcl=1)
createContent(self, repo, quiet)
setPath(self, contentUri)
setSource(self, stringContent, stringLastModified)
updateAcl(self, repo, quiet)
updateContent(self, repo, quiet)
updateImt(self, repo, quiet)
updateOther(self, repo, quiet)
updateOwner(self, repo, quiet)

Data and other non-method functions defined here:

__doc__ = None
__module__ = 'Ft.Server.Common.Install.InstallUtil'
str(object) -> string

Return a nice string representation of the object.
If the argument is a string, the return value is the same object.
contentUri = None
imts = {}
lmds = None
owners = {}
resourceType = 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.
stringContent = None
stringLastModified = None

Data and other non-method functions defined here:

__doc__ = None
__module__ = 'Ft.Server.Common.Install.InstallUtil'
str(object) -> string

Return a nice string representation of the object.
If the argument is a string, the return value is the same object.
docName = 'RdfDocument'
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 = 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.
class ResourceType

Data and other non-method functions defined here:

ALIAS = 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.
COMMAND = 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.
CONTAINER = 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.
DOCUMENT_DEFINITION = 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.
GROUP = 8
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.
META_DATA = 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.
RAW_FILE = 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.
RDF_DOCUMENT = 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.
RESOURCE = 0
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.
SCHEMATRON_DOCUMENT = 6
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.
SERVER = 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.
URI_REFERENCE_FILE = 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.
USER = 7
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_DOCUMENT = 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.
XPATH_DOCUMENT_DEFINITION = 9
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_DOCUMENT = 5
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_DOCUMENT_DEFINITION = 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.
__doc__ = None
__module__ = 'Ft.Server.Common.ResourceTypes'
str(object) -> string

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

Data and other non-method functions defined here:

__doc__ = None
__module__ = 'Ft.Server.Common.Install.InstallUtil'
str(object) -> string

Return a nice string representation of the object.
If the argument is a string, the return value is the same object.
docName = 'SchematronDocument'
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 = 6
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.

Data and other non-method functions defined here:

__doc__ = None
__module__ = 'Ft.Server.Common.Install.InstallUtil'
str(object) -> string

Return a nice string representation of the object.
If the argument is a string, the return value is the same object.
docName = '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.
resourceType = 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.
class StatusFlags

Data and other non-method functions defined here:

ACL_CHANGE = 8
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.
ACTION_REQUIRED = 63
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.
CONTENT_CHANGE = 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.
IMT_CHANGE = 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.
NOT_PRESENT = 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_CHANGE = 0
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.
OTHER_CHANGE = 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.
OWNER_CHANGE = 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.
UNKNOWN = -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.
__doc__ = None
__module__ = 'Ft.Server.Common.Install.InstallUtil'
str(object) -> string

Return a nice string representation of the object.
If the argument is a string, the return value is the same object.
__init__(self, path, acl, owner, imt, href)
_checkOtherChange(self, repo)
_initRdfCaches(self, repo)
createContent(self, repo, quiet)
updateContent(self, repo, quiet)

Data and other non-method functions defined here:

__doc__ = None
__module__ = 'Ft.Server.Common.Install.InstallUtil'
str(object) -> string

Return a nice string representation of the object.
If the argument is a string, the return value is the same object.
_refs = None
resourceType = 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.
__init__(self, userName, acl, owner, imt, docDef, basePath, password=None, data={}, passwdHash=None)
_checkAclChange(self, repo)
_checkOtherChange(self, repo)
_setBase(self, baseDir)
createContent(self, repo, quiet)
updateContent(self, repo, quiet)
updateOther(self, repo, quiet)

Data and other non-method functions defined here:

__doc__ = None
__module__ = 'Ft.Server.Common.Install.InstallUtil'
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 = 7
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.

Data and other non-method functions defined here:

__doc__ = None
__module__ = 'Ft.Server.Common.Install.InstallUtil'
str(object) -> string

Return a nice string representation of the object.
If the argument is a string, the return value is the same object.
docName = 'XPathDocumentDefinition'
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 = 9
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.
__init__(self, path, acl, owner, imt, docDef)
_checkOtherChange(self, repo)
_gatherDependencies(self, baseDir)
_getContent(self)
_initRdfCaches(self, repo)
_setBase(self, baseDir)
createContent(self, repo, quiet)
updateOther(self, repo, quiet)

Data and other non-method functions defined here:

__doc__ = None
__module__ = 'Ft.Server.Common.Install.InstallUtil'
str(object) -> string

Return a nice string representation of the object.
If the argument is a string, the return value is the same object.
_dds = None
docName = 'XmlDocument'
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 = 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.
_gatherDependencies(self, baseDir)

Data and other non-method functions defined here:

__doc__ = None
__module__ = 'Ft.Server.Common.Install.InstallUtil'
str(object) -> string

Return a nice string representation of the object.
If the argument is a string, the return value is the same object.
dependencyXPath = /child::xsl:*/child::xsl:import | /child::xsl:*/child::xsl:include
docName = 'XsltDocument'
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 = 5
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.

Data and other non-method functions defined here:

__doc__ = None
__module__ = 'Ft.Server.Common.Install.InstallUtil'
str(object) -> string

Return a nice string representation of the object.
If the argument is a string, the return value is the same object.
docName = 'XsltDocumentDefinition'
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 = 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.

Functions

Deserialize(stream, refUri='')

Data

EMPTY_NAMESPACE = None
XSL_NAMESPACE = u'http://www.w3.org/1999/XSL/Transform'
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'.
_EXT_DIR = 'build/lib.linux-ppc-2.2/Ft/Share/ExtensionModules'
str(object) -> string

Return a nice string representation of the object.
If the argument is a string, the return value is the same object.
_EXT_NAME = 'Ft.Share.ExtensionModules'
str(object) -> string

Return a nice string representation of the object.
If the argument is a string, the return value is the same object.
__file__ = 'build/lib.linux-ppc-2.2/Ft/Server/Common/Install/InstallUtil.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.Common.Install.InstallUtil'
str(object) -> string

Return a nice string representation of the object.
If the argument is a string, the return value is the same object.
g_safeAclIdents = ['super-users', 'world', 'users', 'guest', 'owner']