4Suite
™
API Documentation
►
Module
Ft
.
Server
.
Common
.
Install
.InstallUtil
######################################################################## # $Header: /var/local/cvsroot/4Suite/Ft/Server/Common/Install/InstallUtil.py,v 1.72 2005/04/07 00:18:47 jkloth Exp $
Classes:
Alias
,
Command
,
Container
,
ExtensionModule
,
Group
,
IndicatorBase
,
Product
,
RawFile
,
RdfDocument
,
SchematronDocument
,
Server
,
StatusFlags
,
UriReferenceFile
,
User
,
XPathDocumentDefinition
,
XmlDocument
,
XsltDocument
,
XsltDocumentDefinition
Functions:
Deserialize
Fields:
EMPTY_NAMESPACE
,
XSL_NAMESPACE
,
g_safeAclIdents
Classes
class
Alias
(
XmlDocument
)
Methods
__init__
(
self
,
path
,
acl
,
owner
,
imt
,
docDef
,
reference
)
createContent
(
self
,
repo
,
quiet
)
updateContent
(
self
,
repo
,
quiet
)
updateOther
(
self
,
repo
,
quiet
)
Methods inherited from class
RawFile
__repr__
,
checkStatus
,
setPath
,
setSource
,
updateAcl
,
updateImt
,
updateOwner
Fields
resourceType
= 2
Fields
Fields
Fields
class
Command
(
XmlDocument
)
Methods inherited from class
XmlDocument
__init__
,
createContent
,
updateOther
Methods inherited from class
RawFile
__repr__
,
checkStatus
,
setPath
,
setSource
,
updateAcl
,
updateContent
,
updateImt
,
updateOwner
Fields
docName
= 'Command'
resourceType
= 14
Fields
Fields
class
Container
(
XmlDocument
)
Methods
__init__
(
self
,
path
,
acl
,
owner
,
imt
,
docDef
)
createContent
(
self
,
repo
,
quiet
)
updateContent
(
self
,
repo
,
quiet
)
Methods inherited from class
XmlDocument
updateOther
Methods inherited from class
RawFile
__repr__
,
checkStatus
,
setPath
,
setSource
,
updateAcl
,
updateImt
,
updateOwner
Fields
resourceType
= 1
Fields
Fields
Fields
class
ExtensionModule
(
IndicatorBase
)
Methods
__init__
(
self
,
file
)
checkStatus
(
self
,
repo
,
force
=0
,
checkAcl
=1
)
createContent
(
self
,
repo
,
quiet
)
setPath
(
self
,
fName
)
updateContent
(
self
,
repo
,
quiet
)
Fields
owner
= -1
resourceType
= None
Fields
class
Group
(
XmlDocument
)
Methods
__init__
(
self
,
groupName
,
acl
,
owner
,
imt
,
docDef
,
basePath
,
members
)
checkStatus
(
self
,
repo
,
force
=0
,
checkAcl
=True
)
createContent
(
self
,
repo
,
quiet
)
updateContent
(
self
,
repo
,
quiet
)
updateOther
(
self
,
repo
,
quiet
)
Methods inherited from class
RawFile
__repr__
,
setPath
,
setSource
,
updateAcl
,
updateImt
,
updateOwner
Fields
resourceType
= 8
Fields
Fields
Fields
class
IndicatorBase
Fields
indicator
= None
class
Product
Methods
__init__
(
self
,
resourceList
,
name
=''
,
version
=0
,
description
=''
,
useIndicator
=None
)
filter
(
self
,
repo
,
checkAcl
=True
)
install
(
self
,
repo
,
basePath
,
quiet
,
do_update
=False
,
checkAcl
=True
)
serialize
(
self
,
stream
=<open file '<stdout>', mode 'w' at 0x30036068>
,
refUri
=''
)
setBase
(
self
,
basePath
)
setIndicator
(
self
)
sort
(
self
,
repo
,
quiet
=True
)
Fields
description
= ''
name
= ''
version
= 0
class
RawFile
(
IndicatorBase
)
Methods
__init__
(
self
,
path
,
acl
,
owner
,
imt
)
__repr__
(
self
)
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
)
Fields
contentUri
= None
imts
= {}
lmds
= None
owners
= {}
resourceType
= 3
stringContent
= None
stringLastModified
= None
Fields
class
RdfDocument
(
XmlDocument
)
Methods inherited from class
XmlDocument
__init__
,
createContent
,
updateOther
Methods inherited from class
RawFile
__repr__
,
checkStatus
,
setPath
,
setSource
,
updateAcl
,
updateContent
,
updateImt
,
updateOwner
Fields
docName
= 'RdfDocument'
resourceType
= 12
Fields
Fields
class
SchematronDocument
(
XmlDocument
)
Methods inherited from class
XmlDocument
__init__
,
createContent
,
updateOther
Methods inherited from class
RawFile
__repr__
,
checkStatus
,
setPath
,
setSource
,
updateAcl
,
updateContent
,
updateImt
,
updateOwner
Fields
docName
= 'SchematronDocument'
resourceType
= 6
Fields
Fields
class
Server
(
XmlDocument
)
Methods inherited from class
XmlDocument
__init__
,
createContent
,
updateOther
Methods inherited from class
RawFile
__repr__
,
checkStatus
,
setPath
,
setSource
,
updateAcl
,
updateContent
,
updateImt
,
updateOwner
Fields
docName
= 'Server'
resourceType
= 15
Fields
Fields
class
StatusFlags
Fields
ACL_CHANGE
= 8
ACTION_REQUIRED
= 63
CONTENT_CHANGE
= 2
IMT_CHANGE
= 4
NOT_PRESENT
= 1
NO_CHANGE
= 0
OTHER_CHANGE
= 32
OWNER_CHANGE
= 16
UNKNOWN
= -1
class
UriReferenceFile
(
RawFile
)
Methods
__init__
(
self
,
path
,
acl
,
owner
,
imt
,
href
)
createContent
(
self
,
repo
,
quiet
)
updateContent
(
self
,
repo
,
quiet
)
Methods inherited from class
RawFile
__repr__
,
checkStatus
,
setPath
,
setSource
,
updateAcl
,
updateImt
,
updateOther
,
updateOwner
Fields
resourceType
= 17
Fields
Fields
class
User
(
XmlDocument
)
Methods
__init__
(
self
,
userName
,
acl
,
owner
,
imt
,
docDef
,
basePath
,
password
=None
,
data
={}
,
passwdHash
=None
)
createContent
(
self
,
repo
,
quiet
)
updateContent
(
self
,
repo
,
quiet
)
updateOther
(
self
,
repo
,
quiet
)
Methods inherited from class
RawFile
__repr__
,
checkStatus
,
setPath
,
setSource
,
updateAcl
,
updateImt
,
updateOwner
Fields
resourceType
= 7
Fields
Fields
Fields
class
XPathDocumentDefinition
(
XmlDocument
)
Methods inherited from class
XmlDocument
__init__
,
createContent
,
updateOther
Methods inherited from class
RawFile
__repr__
,
checkStatus
,
setPath
,
setSource
,
updateAcl
,
updateContent
,
updateImt
,
updateOwner
Fields
docName
= 'XPathDocumentDefinition'
resourceType
= 9
Fields
Fields
class
XmlDocument
(
RawFile
)
Methods
__init__
(
self
,
path
,
acl
,
owner
,
imt
,
docDef
)
createContent
(
self
,
repo
,
quiet
)
updateOther
(
self
,
repo
,
quiet
)
Methods inherited from class
RawFile
__repr__
,
checkStatus
,
setPath
,
setSource
,
updateAcl
,
updateContent
,
updateImt
,
updateOwner
Fields
docName
= 'XmlDocument'
resourceType
= 4
Fields
Fields
class
XsltDocument
(
XmlDocument
)
Methods inherited from class
XmlDocument
__init__
,
createContent
,
updateOther
Methods inherited from class
RawFile
__repr__
,
checkStatus
,
setPath
,
setSource
,
updateAcl
,
updateContent
,
updateImt
,
updateOwner
Fields
dependencyXPath
= /child::xsl:*/child::xsl:import | /child::xsl:*/child::xsl:include
docName
= 'XsltDocument'
resourceType
= 5
Fields
Fields
class
XsltDocumentDefinition
(
XmlDocument
)
Methods inherited from class
XmlDocument
__init__
,
createContent
,
updateOther
Methods inherited from class
RawFile
__repr__
,
checkStatus
,
setPath
,
setSource
,
updateAcl
,
updateContent
,
updateImt
,
updateOwner
Fields
docName
= 'XsltDocumentDefinition'
resourceType
= 11
Fields
Fields
Functions
Deserialize
(
stream
,
refUri
=''
)
Fields
EMPTY_NAMESPACE
= None
XSL_NAMESPACE
= u'http://www.w3.org/1999/XSL/Transform'
g_safeAclIdents
= ['super-users', 'world', 'users', 'guest', 'owner']