Package CMFQuickInstallerTool :: Module QuickInstallerTool :: Class QuickInstallerTool
[show private | hide private]
[frames | no frames]

Type QuickInstallerTool

     object --+                
              |                
           Base --+            
                  |            
EtagSupport --+   |            
              |   |            
   LockableItem --+            
                  |            
           Resource --+        
                      |        
             Collection --+    
                          |    
         object --+       |    
                  |       |    
               Base --+   |    
                      |   |    
          CopyContainer --+    
                          |    
         object --+       |    
                  |       |    
               Base --+   |    
                      |   |    
             Navigation --+    
                          |    
         object --+       |    
                  |       |    
               Base --+   |    
                      |   |    
         object --+   |   |    
                  |   |   |    
         Persistent --+   |    
                      |   |    
             Persistent --+    
                          |    
         object --+       |    
                  |       |    
               Base --+   |    
                      |   |    
                   Tabs --+    
                          |    
            Traversable --+    
                          |    
         object --+       |    
                  |       |    
               Base --+   |    
                      |   |    
               Acquirer --+    
                          |    
              ObjectManager --+
                              |
         object --+           |
                  |           |
               Base --+       |
                      |       |
     object --+       |       |
              |       |       |
           Base --+   |       |
                  |   |       |
         CopySource --+       |
                      |       |
           Node --+   |       |
                  |   |       |
            Element --+       |
                      |       |
     object --+       |       |
              |       |       |
           Base --+   |       |
                  |   |       |
              Owned --+       |
                      |       |
     object --+       |       |
              |       |       |
           Base --+   |       |
                  |   |       |
EtagSupport --+   |   |       |
              |   |   |       |
   LockableItem --+   |       |
                  |   |       |
           Resource --+       |
                      |       |
     object --+       |       |
              |       |       |
           Base --+   |       |
                  |   |       |
               Tabs --+       |
                      |       |
        Traversable --+       |
                      |       |
     object --+       |       |
              |       |       |
           Base --+   |       |
                  |   |       |
        UndoSupport --+       |
                      |       |
                   Item --+   |
                          |   |
         object --+       |   |
                  |       |   |
               Base --+   |   |
                      |   |   |
         object --+   |   |   |
                  |   |   |   |
         Persistent --+   |   |
                      |   |   |
             Persistent --+   |
                          |   |
         object --+       |   |
                  |       |   |
               Base --+   |   |
                      |   |   |
        RoleManager --+   |   |
                      |   |   |
            RoleManager --+   |
                          |   |
         object --+       |   |
                  |       |   |
               Base --+   |   |
                      |   |   |
               Acquirer --+   |
                          |   |
                 SimpleItem --+
                              |
         object --+           |
                  |           |
               Base --+       |
                      |       |
            ImmutableId --+   |
                          |   |
               UniqueObject --+
                              |
                             QuickInstallerTool


Base class for objects which cannot be "overridden" / shadowed.
Method Summary
  __init__(self)
  getAlreadyRegistered(self)
Get a list of already registered elements
  getBrokenInstalls(self)
Return all the broken installs
  getInstallMethod(self, productname)
Return the installer method
  getProductFile(self, p, fname)
Return the content of a file of the product case-insensitive, if it does not exist -> None
  getProductReadme(self, p, fname)
Return the content of a file of the product case-insensitive, if it does not exist -> None
  getProductVersion(self, p)
Return the version string stored in version.txt
  getQIElements(self)
  installProduct(self, p, locked, hidden, swallowExceptions, reinstall)
Install a product by name
  installProducts(self, products, stoponerror, reinstall, REQUEST)
  isProductAvailable(self, productname)
Asks wether a product is installable by trying to get its install method
  isProductInstallable(self, productname)
Asks wether a product is installable by trying to get its install method
  isProductInstalled(self, productname)
Check wether a product is installed (by name)
  listInstallableProducts(self, skipInstalled)
List candidate CMF products for installation -> list of dicts with keys:(id,hasError,status)
  listInstalledProducts(self, showHidden)
Returns a list of products that are installed -> list of dicts with keys:(id, hasError, status, isLocked, isHidden, installedVersion)
  manage_afterAdd(self, container, item)
Mark ourselves as installed
  notifyInstalled(self, p, locked, hidden, **kw)
Marks a product that has been installed without QuickInstaller as installed
  reinstallProducts(self, products, REQUEST)
Reinstalls a list of products, the main difference to ininstall/reinstall is that it does not remove portal objects created during install (e.g.
  uninstallProducts(self, products, cascade, reinstall, REQUEST)
Removes a list of products
    Inherited from ObjectManager
  __class_init__(self)
  __getitem__(self, key)
  _checkId(self, id, allow_dup)
  addDTMLDocument(self, id, title, file, REQUEST, submit)
Add a DTML Document object with the contents of file.
  addDTMLMethod(self, id, title, file, REQUEST, submit)
Add a DTML Method object with the contents of file.
  all_meta_types(self, interfaces)
  filtered_meta_types(self, user)
  list_imports(self)
  manage_addDocument(self, id, title, file, REQUEST, submit)
Add a DTML Method object with the contents of file.
  manage_addDTMLDocument(self, id, title, file, REQUEST, submit)
Add a DTML Document object with the contents of file.
  manage_addDTMLMethod(self, id, title, file, REQUEST, submit)
Add a DTML Method object with the contents of file.
  manage_addFile(self, id, file, title, precondition, content_type, REQUEST)
Add a new File object.
  manage_addFolder(self, id, title, createPublic, createUserF, REQUEST)
Add a new Folder object with id *id*.
  manage_addImage(self, id, file, title, precondition, content_type, REQUEST)
Add a new Image object.
  manage_addOrderedFolder(self, id, title, createPublic, createUserF, REQUEST)
Add a new ordered Folder object with id *id*.
  manage_addSiteRoot(self, title, base, path, REQUEST, **ignored)
  manage_addUserFolder(self, dtself, REQUEST, **ignored)
  manage_afterClone(self, item)
  manage_beforeDelete(self, item, container)
  manage_delObjects(self, ids, REQUEST)
Delete a subordinate object
  manage_exportObject(self, id, download, toxml, RESPONSE, REQUEST)
Exports an object to a file and returns that file.
  manage_FTPlist(self, REQUEST)
Directory listing for FTP.
  manage_FTPstat(self, REQUEST)
Psuedo stat, used by FTP for directory listings.
  manage_hasId(self, REQUEST)
check if the folder has an object with REQUEST['id']
  manage_importObject(self, file, REQUEST, set_owner)
Import an object from a file
  objectIds(self, spec)
  objectIds_d(self, t)
  objectItems(self, spec)
  objectItems_d(self, t)
  objectMap(self)
  objectMap_d(self, t)
  objectValues(self, spec)
  objectValues_d(self, t)
  superValues(self, t)
  tpValues(self)
    Inherited from CopyContainer
  cb_dataItems(self)
  cb_dataValid(self)
  manage_clone(self, ob, id, REQUEST)
  manage_CopyContainerAllItems(self, REQUEST)
  manage_CopyContainerFirstItem(self, REQUEST)
  manage_copyObjects(self, ids, REQUEST, RESPONSE)
Put a reference to the objects named in ids in the clip board
  manage_cutObjects(self, ids, REQUEST)
Put a reference to the objects named in ids in the clip board
  manage_pasteObjects(self, cb_copy_data, REQUEST)
Paste previously copied objects into the current object.
  manage_renameObject(self, id, new_id, REQUEST)
Rename a particular sub-object
  manage_renameObjects(self, ids, new_ids, REQUEST)
Rename several sub-objects
  validClipData(self)
    Inherited from Navigation
  manage_zmi_logout(self, REQUEST, RESPONSE)
Logout current user
    Inherited from Tabs
  _old_filtered_manage_options(self, REQUEST)
  class_manage_path(self)
  filtered_manage_options(self, REQUEST)
  manage_workspace(self, REQUEST)
Dispatch to first interface in manage_options
  tabs_path_default(self, REQUEST, unquote)
  tabs_path_info(self, script, path, quote)
    Inherited from Persistent
  __getattribute__(...)
x.__getattribute__('name') <==> x.name
  bobobase_modification_time(self)
  locked_in_version(self)
Was the object modified in any version?
  modified_in_version(self)
Was the object modified in this version?
    Inherited from Persistent
  __delattr__(...)
x.__delattr__('name') <==> del x.name
  __getstate__(...)
Get the object serialization state
  __reduce__(...)
Reduce an object to contituent parts for serialization
  __setattr__(...)
x.__setattr__('name', value) <==> x.name = value
  __setstate__(...)
Set the object serialization state The state should be in one of 3 forms: - None Ignored - A dictionary In this case, the object's instance dictionary will be cleared and updated with the new state.
    Inherited from Collection
  dav__init(self, request, response)
  DELETE(self, REQUEST, RESPONSE)
Delete a collection resource.
  HEAD(self, REQUEST, RESPONSE)
Retrieve resource information without a response body.
  listDAVObjects(self)
  PUT(self, REQUEST, RESPONSE)
The PUT method has no inherent meaning for collection resources, though collections are not specifically forbidden to handle PUT requests.
    Inherited from Resource
  COPY(self, REQUEST, RESPONSE)
Create a duplicate of the source resource whose state and behavior match that of the source resource as closely as possible.
  dav__simpleifhandler(self, request, response, method, col, url, refresh)
  dav__validate(self, object, methodname, REQUEST)
  LOCK(self, REQUEST, RESPONSE)
Lock a resource
  manage_DAVget(self)
Gets the document source
  MKCOL(self, REQUEST, RESPONSE)
Create a new collection resource.
  MOVE(self, REQUEST, RESPONSE)
Move a resource to a new location.
  OPTIONS(self, REQUEST, RESPONSE)
Retrieve communication options.
  PROPFIND(self, REQUEST, RESPONSE)
Retrieve properties defined on the resource.
  PROPPATCH(self, REQUEST, RESPONSE)
Set and/or remove properties defined on the resource.
  TRACE(self, REQUEST, RESPONSE)
Return the HTTP message received back to the client as the entity-body of a 200 (OK) response.
  UNLOCK(self, REQUEST, RESPONSE)
Remove an existing lock on a resource.
    Inherited from LockableItem
  wl_clearLocks(self)
  wl_delLock(self, locktoken)
  wl_getLock(self, locktoken)
  wl_hasLock(self, token, killinvalids)
  wl_isLocked(self)
  wl_lockItems(self, killinvalids)
  wl_lockmapping(self, killinvalids, create)
if 'killinvalids' is 1, locks who are no longer valid will be deleted
  wl_lockTokens(self, killinvalids)
  wl_lockValues(self, killinvalids)
  wl_setLock(self, locktoken, lock)
    Inherited from EtagSupport
  http__etag(self, readonly)
  http__parseMatchList(self, REQUEST, header)
  http__processMatchHeaders(self, REQUEST)
  http__refreshEtag(self)
    Inherited from Traversable
  absolute_url(self, relative)
Return the absolute URL of the object.
  absolute_url_path(self)
Return the path portion of the absolute URL of the object.
  getPhysicalPath(self)
Get the physical path of the object.
  restrictedTraverse(self, path, default)
  unrestrictedTraverse(self, path, default, restricted)
Lookup an object by path.
  virtual_url_path(self)
Return a URL for the object, relative to the site root.
    Inherited from Item
  __len__(self)
  __repr__(self)
Show the physical path of the object and its context if available.
  analyseDocumentation(self, object, type, filter)
  getId(self)
Return the id of the object as a string.
  manage_editedDialog(self, REQUEST, **args)
  raise_standardErrorMessage(self, client, REQUEST, error_type, error_value, tb, error_tb, error_message, tagSearch, error_log_url)
  this(self)
  title_and_id(self)
Return the title if it is not blank and the id otherwise.
  title_or_id(self)
Return the title if it is not blank and the id otherwise.
  tpURL(self)
    Inherited from CopySource
  cb_isCopyable(self)
  cb_isMoveable(self)
  cb_userHasCopyOrMovePermission(self)
    Inherited from Element
  getAttribute(self, name)
Retrieves an attribute value by name.
  getAttributeNode(self, name)
Retrieves an Attr node by name or None if there is no such attribute.
  getChildNodes(self)
Returns a NodeList that contains all children of this node.
  getElementsByTagName(self, tagname)
Returns a NodeList of all the Elements with a given tag name in the order in which they would be encountered in a preorder traversal of the Document tree.
  getFirstChild(self)
The first child of this node.
  getLastChild(self)
The last child of this node.
  getNextSibling(self)
The node immediately preceding this node.
  getNodeName(self)
The name of this node, depending on its type
  getNodeType(self)
A code representing the type of the node.
  getParentNode(self)
The parent of this node.
  getPreviousSibling(self)
The node immediately preceding this node.
  getTagName(self)
The name of the element
    Inherited from Node
  getAttributes(self)
Returns a NamedNodeMap containing the attributes of this node (if it is an element) or None otherwise.
  getNodeValue(self)
The value of this node, depending on its type
  getOwnerDocument(self)
The Document object associated with this node.
  hasChildNodes(self)
Returns true if the node has any children, false if it doesn't.
    Inherited from Owned
  changeOwnership(self, user, recursive)
Change the ownership to the given user.
  getOwner(self, info, aq_get, UnownableOwner, getSecurityManager)
Get the owner
  getOwnerTuple(self)
Return a tuple, (userdb_path, user_id) for the owner.
  getWrappedOwner(self)
Get the owner, modestly wrapped in the user folder.
  manage_changeOwnershipType(self, explicit, RESPONSE, REQUEST)
Change the type (implicit or explicit) of ownership.
  manage_fixupOwnershipAfterAdd(self)
  manage_takeOwnership(self, REQUEST, RESPONSE, recursive)
Take ownership (responsibility) for an object.
  owner_info(self)
Get ownership info for display
  userCanTakeOwnership(self)
    Inherited from UndoSupport
  get_request_var_or_attr(self, name, default)
  manage_undo_transactions(self, transaction_info, REQUEST)
  undoable_transactions(self, first_transaction, last_transaction, PrincipiaUndoBatchSize)
    Inherited from RoleManager
  ac_inherited_permissions(self, all)
  access_debug_info(self)
Return debug info.
  acquiredRolesAreUsedBy(self, permission)
Used by management screen.
  get_local_roles(self)
  get_local_roles_for_userid(self, userid)
  get_valid_userids(self)
  has_local_roles(self)
  manage_access(self, REQUEST, **kw)
Return an interface for making permissions settings.
  manage_acquiredPermissions(self, permissions, REQUEST)
Change the permissions that acquire.
  manage_addLocalRoles(self, userid, roles, REQUEST)
Set local roles for a user.
  manage_changePermissions(self, REQUEST)
Change all permissions settings, called by management screen.
  manage_defined_roles(self, submit, REQUEST)
Called by management screen.
  manage_delLocalRoles(self, userids, REQUEST)
Remove all local roles for a user.
  manage_editRoles(self, REQUEST, acl_type, acl_roles)
  manage_permission(self, permission_to_manage, roles, acquire, REQUEST)
Change the settings for the given permission.
  manage_role(self, role_to_manage, permissions, REQUEST)
Change the permissions given to the given role.
  manage_setLocalRoles(self, userid, roles, REQUEST)
Set local roles for a user.
  permission_settings(self, permission)
Return user-role permission settings.
  permissionsOfRole(self, role)
Used by management screen.
  possible_permissions(self)
  rolesOfPermission(self, permission)
Used by management screen.
  userdefined_roles(self)
Return list of user-defined roles.
  users_with_local_role(self, role)
  valid_roles(self)
Return list of valid roles.
  validate_roles(self, roles)
Return true if all given roles are valid.
  validRoles(self)
Return list of valid roles.
    Inherited from RoleManager
  manage_getPermissionMapping(self)
Return the permission mapping for the object This is a list of dictionaries with: permission_name -- The name of the native object permission class_permission -- The class permission the permission is mapped to.
  manage_setPermissionMapping(self, permission_names, class_permissions, REQUEST)
Change the permission mapping
    Inherited from Base
  __getnewargs__(...)
Get arguments to be passed to __new__
    Inherited from object
  __hash__(x)
x.__hash__() <==> hash(x)
  __reduce_ex__(...)
helper for pickle
  __str__(x)
x.__str__() <==> str(x)

Class Variable Summary
tuple __ac_permissions__ = (('Manage portal', ('isProductAvail...
Interface __implements__ = <Interface CMFQuickInstallerTool.interf...
PermissionRole getBrokenInstalls__roles__ = <PermissionRole object at 0...
PermissionRole getInstallMethod__roles__ = <PermissionRole object at 0x...
PermissionRole getProductFile__roles__ = <PermissionRole object at 0xb6...
PermissionRole getProductReadme__roles__ = <PermissionRole object at 0x...
PermissionRole getProductVersion__roles__ = <PermissionRole object at 0...
str id = 'portal_quickinstaller'
PermissionRole installProduct__roles__ = <PermissionRole object at 0xb6...
PermissionRole installProducts__roles__ = <PermissionRole object at 0xb...
PermissionRole isProductAvailable__roles__ = <PermissionRole object at ...
PermissionRole isProductInstallable__roles__ = <PermissionRole object a...
PermissionRole listInstallableProducts__roles__ = <PermissionRole objec...
PermissionRole listInstalledProducts__roles__ = <PermissionRole object ...
tuple manage_afterAdd__roles__ = ('Manager',)
PageTemplateFile manage_installProductsForm = <PageTemplateFile at manage...
tuple manage_options = ({'action': 'manage_installProductsForm...
str meta_type = 'CMF QuickInstaller Tool'
tuple meta_types = ()
PermissionRole notifyInstalled__roles__ = <PermissionRole object at 0xb...
PermissionRole reinstallProducts__roles__ = <PermissionRole object at 0...
PermissionRole uninstallProducts__roles__ = <PermissionRole object at 0...
    Inherited from UniqueObject
Implements __implemented__ = <implementedBy Products.CMFCore.utils....
ClassProvides __provides__ = <zope.interface.declarations.ClassProvide...
int __replaceable__ = 2                                                                     
    Inherited from ImmutableId
ClassProvides __providedBy__ = <zope.interface.declarations.ClassProvi...
    Inherited from ObjectManager
PermissionRole __roles__ = <PermissionRole object at 0xb7457620>
PermissionRole addDTMLDocument__roles__ = <PermissionRole object at 0xb...
PermissionRole addDTMLMethod__roles__ = <PermissionRole object at 0xb60...
int isAnObjectManager = 1                                                                     
int isPrincipiaFolderish = 1                                                                     
PermissionRole manage_addDocument__roles__ = <PermissionRole object at ...
PermissionRole manage_addDTMLDocument__roles__ = <PermissionRole object...
PermissionRole manage_addDTMLMethod__roles__ = <PermissionRole object a...
PermissionRole manage_addFile__roles__ = <PermissionRole object at 0xb6...
PermissionRole manage_addFolder__roles__ = <PermissionRole object at 0x...
PermissionRole manage_addImage__roles__ = <PermissionRole object at 0xb...
PermissionRole manage_addOrderedFolder__roles__ = <PermissionRole objec...
ProductDispatcher manage_addProduct = <App.FactoryDispatcher.ProductDispat...
PermissionRole manage_addSiteRoot__roles__ = <PermissionRole object at ...
DTMLFile manage_addSiteRootForm = <App.special_dtml.DTMLFile obje...
PermissionRole manage_addSiteRootForm__roles__ = <PermissionRole object...
PermissionRole manage_addUserFolder__roles__ = <PermissionRole object a...
tuple manage_afterClone__roles__ = ('Manager',)
tuple manage_beforeDelete__roles__ = ('Manager',)
PermissionRole manage_delObjects__roles__ = <PermissionRole object at 0...
PermissionRole manage_exportObject__roles__ = <PermissionRole object at...
PermissionRole manage_FTPlist__roles__ = <PermissionRole object at 0xb7...
PermissionRole manage_FTPstat__roles__ = <PermissionRole object at 0xb7...
tuple manage_hasId__roles__ = ('Manager',)
DTMLFile manage_importExportForm = <App.special_dtml.DTMLFile obj...
PermissionRole manage_importExportForm__roles__ = <PermissionRole objec...
PermissionRole manage_importObject__roles__ = <PermissionRole object at...
DTMLFile manage_index_main = <App.special_dtml.DTMLFile object at...
tuple manage_index_main__roles__ = ('Manager',)
DTMLFile manage_main = <App.special_dtml.DTMLFile object at 0xb65...
PermissionRole manage_main__roles__ = <PermissionRole object at 0xb7457...
PermissionRole objectIds__roles__ = <PermissionRole object at 0xb745762...
PermissionRole objectItems__roles__ = <PermissionRole object at 0xb7457...
PermissionRole objectValues__roles__ = <PermissionRole object at 0xb745...
DTMLFile SiteRootAdd = <App.special_dtml.DTMLFile object at 0xb60...
PermissionRole SiteRootAdd__roles__ = <PermissionRole object at 0xb6bc5...
    Inherited from CopyContainer
NoneType manage_clone__roles__ = None                                                                  
tuple manage_CopyContainerAllItems__roles__ = ('Manager',)
tuple manage_CopyContainerFirstItem__roles__ = ('Manager',)
PermissionRole manage_copyObjects__roles__ = <PermissionRole object at ...
PermissionRole manage_cutObjects__roles__ = <PermissionRole object at 0...
PermissionRole manage_pasteObjects__roles__ = <PermissionRole object at...
DTMLFile manage_renameForm = <App.special_dtml.DTMLFile object at...
PermissionRole manage_renameForm__roles__ = <PermissionRole object at 0...
PermissionRole manage_renameObject__roles__ = <PermissionRole object at...
PermissionRole manage_renameObjects__roles__ = <PermissionRole object a...
    Inherited from Navigation
DTMLFile manage = <App.special_dtml.DTMLFile object at 0xb7500b8c...
PermissionRole manage__roles__ = <PermissionRole object at 0xb7558e18>
DTMLFile manage_copyright = <App.special_dtml.DTMLFile object at ...
NoneType manage_copyright__roles__ = None                                                                  
DTMLFile manage_form_title = <App.special_dtml.DTMLFile object at...
NoneType manage_form_title__roles__ = None                                                                  
DTMLFile manage_menu = <App.special_dtml.DTMLFile object at 0xb75...
PermissionRole manage_menu__roles__ = <PermissionRole object at 0xb7558...
DTMLFile manage_page_footer = <App.special_dtml.DTMLFile object a...
PermissionRole manage_page_footer__roles__ = <PermissionRole object at ...
DTMLFile manage_page_header = <App.special_dtml.DTMLFile object a...
PermissionRole manage_page_header__roles__ = <PermissionRole object at ...