You are here: Home / API Documentation / Products.RPMManager.RPMPackage

 Products.RPMManager.RPMPackage  

Up one level
Zpydoc Products RPMManager RPMPackage
Modules
File Products.RPMManager.utils
Classes
Class  class RPMPackage ( DownloadSupport , CMFCatalogAware )
There could be illegal chars in name, hence using id ... Also, size is strangely expressed as a string ... This get's used in both contexts - the user context doesn't have epoch or arch ... For more info on RPMTAG enums, try /usr/include/rpm/rpmlib.h or: http://2robots.com/man/index.php?RPM::Constants
Method 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. Though we may later try to make a copy appear seamless across namespaces (e.g. from Zope to Apache), COPY is currently only supported within the Zope namespace.
Method Contributors(self)
Lock   View
Deprecated alias of listContributors.
Method CreationDate(self, zone=None)
Lock   View
Dublin Core Date element - date resource created.
Method Creator(self)
Lock   View
Dublin Core Creator element - resource author.
Method DELETE(self, REQUEST, RESPONSE)
Delete a resource. For non-collection resources, DELETE may return either 200 or 204 (No Content) to indicate success.
Method Date(self, zone=None)
Lock   View
Dublin Core Date element - default date.
Method Description(self)
Lock   View
Dublin Core Description element - resource summary.
Method EffectiveDate(self, zone=None)
Lock   View
Method ExpirationDate(self, zone=None)
Lock   View
Method Format(self)
Lock   View
Dublin Core Format element - resource format.
Method HEAD(self, REQUEST, RESPONSE)
Retrieve resource information without a response body.
Method Identifier(self)
Lock   View
Dublin Core Identifier element - resource ID.
Method LOCK(self, REQUEST, RESPONSE)
Lock a resource
Method Language(self)
Lock   View
Dublin Core Language element - resource language.
Method MKCOL(self, REQUEST, RESPONSE)
Create a new collection resource. If called on an existing resource, MKCOL must fail with 405 (Method Not Allowed).
Method MOVE(self, REQUEST, RESPONSE)
Move a resource to a new location. Though we may later try to make a move appear seamless across namespaces (e.g. from Zope to Apache), MOVE is currently only supported within the Zope namespace.
Method ModificationDate(self, zone=None)
Lock   View
Dublin Core Date element - date resource last modified.
Method OPTIONS(self, REQUEST, RESPONSE)
Retrieve communication options.
Method PROPFIND(self, REQUEST, RESPONSE)
Retrieve properties defined on the resource.
Method PROPPATCH(self, REQUEST, RESPONSE)
Set and/or remove properties defined on the resource.
Method PUT(self, REQUEST, RESPONSE)
Replace the GET response entity of an existing resource. Because this is often object-dependent, objects which handle PUT should override the default PUT implementation with an object-specific implementation. By default, PUT requests fail with a 405 (Method Not Allowed).
Method Publisher(self)
Lock   View
Dublin Core Publisher element - resource publisher.
Method Rights(self)
Lock   View
Dublin Core Rights element - resource copyright.
Method SearchableText(self)
Global plone search - integrated with queryCatalog/livesearch ...
Method SecurityCheckPermission(md, permission, object)
Check whether the security context allows the given permission on the given object. Arguments: permission -- A permission name object -- The object being accessed according to the permission
Method Subject(self)
Lock   View
Dublin Core Subject element - resource keywords.
Method TRACE(self, REQUEST, RESPONSE)
Return the HTTP message received back to the client as the entity-body of a 200 (OK) response. This will often usually be intercepted by the web server in use. If not, the TRACE request will fail with a 405 (Method Not Allowed), since it is not often possible to reproduce the HTTP request verbatim from within the Zope environment.
Method nvra(self)
Lock   View
return the name, version, release, architecture string
Method Type(self)
Lock   View
Dublin Core Type element - resource type.
Method UNLOCK(self, REQUEST, RESPONSE)
Remove an existing lock on a resource.
Method InitializeClass(self)
Method getPortalTypeName(self)
needed for the portal type view mechanism ...
Method wl_lockmapping(self, killinvalids=0, create=0)
if 'killinvalids' is 1, locks who are no longer valid will be deleted
Method absolute_url(self, relative=0)
Return the absolute URL of the object. This a canonical URL based on the object's physical containment path. It is affected by the virtual host configuration, if any, and can be used by external agents, such as a browser, to address the object. If the relative argument is provided, with a true value, then the value of virtual_url_path() is returned. Some Products incorrectly use '/'+absolute_url(1) as an absolute-path reference. This breaks in certain virtual hosting situations, and should be changed to use absolute_url_path() instead.
Method absolute_url_path(self)
Return the path portion of the absolute URL of the object. This includes the leading slash, and can be used as an 'absolute-path reference' as defined in RFC 2396.
Method ac_inherited_permissions(self, all=0)
Method access_debug_info(self)
Return debug info.
Method acquiredRolesAreUsedBy(self, permission)
Method actions(self)
Lock   View
return a list of valid transitions for the object
Method addCreator(self, creator=None)
Lock   Modify portal content
Add creator to Dublin Core creators.
Method asTerms(self, tag)
Lock   Access contents information
returns a list of ( name, op, value ) tuples for a requires, obsoletes, conflicts tag
Method filename(self)
Lock   Access contents information
return the file name of the package
Method bobobase_modification_time(self)
Method cb_isCopyable(self)
Method cb_isMoveable(self)
Method cb_userHasCopyOrMovePermission(self)
Method chains(self, wftool=None)
Lock   View management screens
return workflow chains
Method changeOwnership(self, user, recursive=0)
Change the ownership to the given user. If 'recursive' is true then also take ownership of all sub-objects, otherwise sub-objects retain their ownership information.
Method channel(self)
Lock   Access contents information
return the channel id - acquired from parent
Method content_type(self)
WebDAV needs this to do the Right Thing (TM).
Method created(self)
Lock   View
creation date indexing
Method dav__init(self, request, response)
Method dav__simpleifhandler(self, request, response, method='PUT', col=0, url=None, refresh=0)
Method dav__validate(self, object, methodname, REQUEST)
Method debugInfo(self)
Lock   View management screens
return tuple of sorted dict key, values
Method description_quoted(self)
Lock   Access contents information
html-quote the description
Method download(self, REQUEST, RESPONSE)
Lock   RPMManager: Download RPMS
download the thing off the filesystem ...
Method download_graph(self)
Lock   Access contents information
return an rrdtool-generated Image (png) of the download frequencies in response to an <img src=...> request ...
Method download_size(self)
Lock   Access contents information
the actual physical file payload size (or zero if missing)
Method editMetadata(self, title='', subject=(), description='', contributors=(), effective_date=None, expiration_date=None, format='text/html', language='en-US', rights='')
Lock   Modify portal content
Need to add check for webDAV locked resource for TTW methods.
Method effective(self)
Lock   View
Dublin Core Date element - date resource becomes effective.
Method emptyContent(self)
initially dupe kupu into setting a blank field
Method exists(self)
check we still have this version on our filesystem
Method expires(self)
Lock   View
Dublin Core Date element - date resource expires.
Method file_url(self)
Lock   Access contents information
returns the filename-based url instead of the item id
Method filename(self)
Lock   Access contents information
return the file name of the package
Method filepath(self)
Lock   Access contents information
return underlying path of the rpm
Method filtered_manage_options(self, REQUEST=None)
Method flush_counter(self, REQUEST=None)
private method to write download results to counter this is expected to be triggered once a day
Method getActionInfo(self, action_chain, check_visibility=0, check_condition=0)
Get an Action info mapping specified by a chain of actions.
Method getActionsFor(self, workflow)
Lock   View management screens
return a list of valid transition states
Method getAllStatusIdsOf(self, workflow)
Lock   View management screens
return a list of valid state (ids) for the workflow
Method getAttribute(self, name)
Method getAttributeNode(self, name)
Method getAttributes(self)
Method getBastionDomain(self)
return a BastionDomain - DNS info for anything within a hosting context
Method getChildNodes(self)
Method getContentType(self, fieldname)
kupu get's confused with our non-AT types ...
Method getDefaultStatusOf(self, workflow)
Lock   View management screens
return the initial state of the workflow
Method getElementsByTagName(self, tagname)
Method getField(self, fieldname)
kupu get's confused with our non-AT types
Method getFirstChild(self)
Method icon(self, relative_to_portal=0)
Using this method allows the content class creator to grab icons on the fly instead of using a fixed attribute on the class.
Method getIconURL(self)
Get the absolute URL of the icon for the object.
Method getId(self)
Return the id of the object as a string. This method should be used in preference to accessing an id attribute of an object directly. The getId method is public.
Method getLastChild(self)
Method getMetadataHeaders(self)
Lock   View
Return RFC-822-style headers.
Method getNextSibling(self)
Method getNodeName(self)
Method getNodeType(self)
Method getNodeValue(self)
Method getOwner(self, info=0, aq_get=, UnownableOwner=[], getSecurityManager=)
Get the owner If a true argument is provided, then only the owner path and id are returned. Otherwise, the owner object is returned.
Method getOwnerDocument(self)
Method getOwnerTuple(self)
Return a tuple, (userdb_path, user_id) for the owner. o Ownership can be acquired, but only from the containment path. o If unowned, return None.
Method getParentNode(self)
Method getPath(self)
Lock   Access contents information
Method getPhysicalPath(self)
Method getPortalTypeName(self)
needed for the portal type view mechanism ...
Method getPreviousSibling(self)
Method getProperty(self, id, d=None)
Method getPropertyType(self, id)
Method getStatusOf(self, workflow, wftool=None, variable=None)
Lock   View management screens
return the status of ourselves in the context of this workflow (the corresponding WorkflowTool function is strangely declared private ...
Method getTagName(self)
Method getTypeInfo(self)
Lock   View
Get the TypeInformation object specified by the portal type.
Method getURL(self, relative=False)
Lock   Access contents information
Method getWrappedOwner(self)
Get the owner, modestly wrapped in the user folder. o If the object is not owned, return None. o If the owner's user database doesn't exist, return Nobody. o If the owner ID does not exist in the user database, return Nobody.
Method get_local_roles(self)
Method get_local_roles_for_userid(self, userid)
Method get_size(self)
Lock   Access contents information
return the size of the filesystem object - an integer is needed for ZSyncer support
Method get_valid_userids(self)
Method hasChildNodes(self)
Method hasProperty(self, id)
Method has_local_roles(self)
Method html2pdf(self, html, encode=True)
return a pdf-representation of the html document, encode is to base64-encode
Method http__etag(self, readonly=0)
Method http__parseMatchList(self, REQUEST, header='if-match')
Method http__processMatchHeaders(self, REQUEST=None)
Method http__refreshEtag(self)
Method indexObject(self)
Lock   Modify portal content
Index the object in the portal catalog.
Method isEffective(self, date)
Lock   View
Is the date within the resource's effective range?
Method is_available(self)
Lock   Access contents information
returns whether underlying package is present
Method json(self, only=None, exclude=None, **config)
return JSON representation of item
Method listContributors(self)
Lock   View
Dublin Core Contributor elements - resource collaborators.
Method listCreators(self)
Lock   View
List Dublin Core Creator elements - resource authors.
Method listDAVObjects(self)
Method manage(self, URL1)
Method manage_DAVget(self)
Gets the document source
Method manage_FTPlist(self, REQUEST)
Directory listing for FTP. In the case of non-Foldoid objects, the listing should contain one object, the object itself.
Method manage_FTPstat(self, REQUEST)
Psuedo stat, used by FTP for directory listings.
Method manage_access(self, REQUEST, **kw)
Lock   Change permissions
Return an interface for making permissions settings.
Method manage_acquiredPermissions(self, permissions=[], REQUEST=[])
Change the permissions that acquire.
Method manage_addLocalRoles(self, userid, roles, REQUEST=[])
Set local roles for a user.
Method manage_addProperty(self, id, value, type, REQUEST=None)
Add a new property via the web. Sets a new property with the given id, type, and value.
Method manage_afterAdd(self, item, container)
Method manage_afterClone(self, item)
Method manage_beforeDelete(self, item, container)
Method manage_changeOwnership(self, userid, recursive=0, REQUEST=None)
Lock   Take ownership
go change the owner to specified user (if found)
Method manage_changeOwnershipType(self, explicit=[], RESPONSE=[], REQUEST=[])
Lock   Take ownership
Change the type (implicit or explicit) of ownership.
Method manage_changePermissions(self, REQUEST)
Lock   Change permissions
Change all permissions settings, called by management screen.
Method manage_changeProperties(self, REQUEST=None, **kw)
Change existing object properties. Change object properties by passing either a REQUEST object or name=value parameters
Method manage_changePropertyTypes(self, old_ids, props, REQUEST=None)
Replace one set of properties with another Delete all properties that have ids in old_ids, then add a property for each item in props. Each item has a new_id, new_value, and new_type. The type of new_value should match new_type.
Method manage_changeStatus(self, wfid, action, REQUEST=None)
Lock   Manage properties
do a workflow transition from the ZMI
Method manage_debugDelAttrs(self, attrs, REQUEST=None)
Lock   Change configuration
remove attributes from object
Method manage_defined_roles(self, submit=None, REQUEST=None)
Called by management screen.
Method manage_delLocalRoles(self, userids, REQUEST=[])
Remove all local roles for a user.
Method manage_delProperties(self, ids=None, REQUEST=None)
Delete one or more properties specified by 'ids'.
Method manage_delReleases(self, ids=[], REQUEST=None)
Lock   Delete objects
Method manage_editMetadata(self, title, subject, description, contributors, effective_date, expiration_date, format, language, rights, REQUEST)
Lock   Modify portal content
Update metadata from the ZMI.
Method manage_editProperties(self, REQUEST)
Edit object properties via the web. The purpose of this method is to change all property values, even those not listed in REQUEST; otherwise checkboxes that get turned off will be ignored. Use manage_changeProperties() instead for most situations.
Method manage_editRoles(self, REQUEST, acl_type='A', acl_roles=[])
Method manage_editedDialog(self, REQUEST, **args)
Method manage_fixObjectCreated(self, REQUEST=None)
seems (indexable) stuff not created via _setObject doesn't get some necessary handlers called to setup uuid etc
Method manage_fixupOwnershipAfterAdd(self)
Method manage_forceStatus(self, wfid, state, REQUEST=None)
Lock   Manage properties
force a workflow transition
Method 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.
Method manage_getUserRolesAndPermissions(self, user_id)
Used for permission/role reporting for a given user_id. Returns a dict mapping 'user_defined_in' -> path where the user account is defined 'roles' -> global roles, 'roles_in_context' -> roles in context of the current object, 'allowed_permissions' -> permissions allowed for the user, 'disallowed_permissions' -> all other permissions
Method manage_oidSearch(self, oid)
Lock   View management screens
search for an OID (usually result of fsrefs) and identify the object
Method manage_permission(self, permission_to_manage, roles=[], acquire=[], REQUEST=[])
Change the settings for the given permission. If optional arg acquire is true, then the roles for the permission are acquired, in addition to the ones specified, otherwise the permissions are restricted to only the designated roles.
Method manage_ploneCatalog(self, REQUEST=None)
Lock   View management screens
add the damned thing into Plone so it appears in navigation ...
Method manage_reload(self, exactarch=True, REQUEST=None)
Lock   Change configuration
update package info from the lastest RPM for this package on the filesystem we auto-reset status to missing if not found you can also throw arch globs at it in case the package has changed from/to another arch
Method manage_repair(self, REQUEST=None)
fix up object upon schema change
Method manage_role(self, role_to_manage, permissions=[], REQUEST=[])
Change the permissions given to the given role.
Method manage_setLocalRoles(self, userid, roles, REQUEST=[])
Set local roles for a user.
Method manage_setPermissionMapping(self, permission_names=[], class_permissions=[], REQUEST=[])
Change the permission mapping
Method manage_takeOwnership(self, REQUEST, RESPONSE, recursive=[])
Lock   Take ownership
Take ownership (responsibility) for an object. If 'recursive' is true, then also take ownership of all sub-objects.
Method manage_undo_transactions(self, transaction_info=(), REQUEST=None)
Lock   Undo changes
Method manage_verify(self, REQUEST=None)
Lock   Change configuration
ensure state machine is in order
Method manage_workspace(self, REQUEST)
Dispatch to first interface in manage_options
Method modified(self)
Lock   View
Dublin Core Date element - date resource last modified.
Method notifyModified(self)
Take appropriate action after the resource has been modified. Update creators and modification_date.
Method notifyWorkflowCreated(self)
Notify the workflow that the object was just created.
Method nvr(self)
Lock   Access contents information
return the name, version, release string
Method nvra(self)
Lock   Access contents information
return the name, version, release, architecture string
Method objectValues(self, spec=None)
Method objectValues(self, spec=None)
Method objectValues(self, spec=None)
Method opaqueIds(self)
Return opaque ids (subelements that are contained using something that is not an ObjectManager).
Method opaqueItems(self)
Return opaque items (subelements that are contained using something that is not an ObjectManager).
Method opaqueValues(self)
Return opaque values (subelements that are contained using something that is not an ObjectManager).
Method os_release(self)
acquire release folder from parent
Method owner_info(self)
Lock   View management screens
Get ownership info for display
Method permission_settings(self, permission=None)
Return user-role permission settings. If 'permission' is passed to the method then only the settings for 'permission' is returned.
Method permissionsOfRole(self, role)
Returns a role to permission mapping.
Method portalCatalogMe(self, REQUEST=None)
Lock   Modify portal content
stick object in portal catalog (sometimes we just internally catalog stuff but want navigation etc)
Method possible_permissions(self)
Method prettySize(self)
Lock   Access contents information
return size as a string in M, K etc
Method propdict(self)
Method propertyDescription(self, id)
Method propertyIds(self)
Method propertyItems(self)
Method propertyLabel(self, id)
Method propertyMap(self)
Method propertyValues(self)
Method publishTraverse(self, REQUEST, name)
This is copied from OFS/Application.py and seems strangely necessary since Plone 3.0 (to 4.3 at least) upgrade ... so that containers-as-attributes can be traversed ...
Method raise_standardErrorMessage(self, client=None, REQUEST={}, error_type=None, error_value=None, tb=None, error_tb=None, error_message='', tagSearch=, error_log_url='')
Method reindexObject(self, idxs=[])
Lock   Modify portal content
Reindex the object in the portal catalog.
Method reindexObjectSecurity(self, skip_self=False)
Lock   Modify portal content
Reindex security-related indexes on the object.
Method release_date(self)
Lock   Access contents information
return release date
Method requirenameItems(self, os_release)
Lock   Access contents information
return cleaned up require name stuff, a list of RPMPackages, and unresolved names
Method requiresAsNames(self)
Lock   Access contents information
parse requires, resolving all libs etc to return a list of package names for just the first-level requirements
Method requiresAsValues(self)
Lock   Access contents information
return immediate requires as a list of RPMPackage objects
Method restrictedTraverse(self, path, default=)
Method rolesOfPermission(self, permission)
Returns a permission to role mapping.
Method rrdDB(self)
return path to rrd database, creating the database if it doesn't exist
Method setContributors(self, contributors)
Lock   Modify portal content
Set Dublin Core Contributor elements - resource collaborators.
Method setCreators(self, creators)
Lock   Modify portal content
Set Dublin Core Creator elements - resource authors.
Method setDescription(self, description)
Lock   Modify portal content
Set Dublin Core Description element - resource summary.
Method setEffectiveDate(self, effective_date)
Lock   Modify portal content
Set Dublin Core Date element - date resource becomes effective.
Method setExpirationDate(self, expiration_date)
Lock   Modify portal content
Set Dublin Core Date element - date resource expires.
Method setFormat(self, format)
Lock   Modify portal content
Set Dublin Core Format element - resource format.
Method setId(self, value)
Lock   Modify portal content
Sets the object id. - this is the Archetypes::BaseObject implementation ...
Method setLanguage(self, language)
Lock   Modify portal content
Set Dublin Core Language element - resource language.
Method setModificationDate(self, modification_date=None)
Lock   Modify portal content
Set the date when the resource was last modified. When called without an argument, sets the date to now.
Method setRights(self, rights)
Lock   Modify portal content
Set Dublin Core Rights element - resource copyright.
Method setSubject(self, subject)
Lock   Modify portal content
Set Dublin Core Subject element - resource keywords.
Method setTitle(self, title)
Lock   Modify portal content
Set Dublin Core Title element - resource name.
Method stat(self)
Lock   Access contents information
return os.stat() dict on underlying file - keys are: st_mode (protection bits), st_ino (inode number), st_dev (device), st_nlink (number of hard links), st_uid (user ID of owner), st_gid (group ID of owner), st_size (size of file, in bytes), st_atime (time of most recent access), st_mtime (time of most recent content modification), st_ctime
Method status(self, wftool=None, wf_var='review_state')
Lock   View
return workflow status
Method tabs_path_default(self, REQUEST, unquote=)
Method tabs_path_info(self, script, path, quote=)
Method this(self)
Method nvra(self)
Lock   Access contents information
return the name, version, release, architecture string
Method title_and_id(self)
Return the title if it is not blank and the id otherwise. If the title is not blank, then the id is included in parens.
Method title_or_id(self)
Return the title if it is not blank and the id otherwise.
Method tpURL(self)
Method tpValues(self)
Method undoable_transactions(self, first_transaction=None, last_transaction=None, PrincipiaUndoBatchSize=None)
Lock   Undo changes
Method unindexObject(self)
Lock   Modify portal content
Unindex the object from the portal catalog.
Method unrestrictedTraverse(self, path, default=, restricted=False)
Lookup an object by path. path -- The path to the object. May be a sequence of strings or a slash separated string. If the path begins with an empty path element (i.e., an empty string or a slash) then the lookup is performed from the application root. Otherwise, the lookup is relative to self. Two dots (..) as a path element indicates an upward traversal to the acquisition parent. default -- If provided, this is the value returned if the path cannot be traversed for any reason (i.e., no object exists at that path or the object is inaccessible). restricted -- If false (default) then no security checking is performed. If true, then all of the objects along the path are validated with the security machinery. Usually invoked using restrictedTraverse().
Method userCanTakeOwnership(self)
Method userdefined_roles(self)
Return list of user-defined roles.
Method users_with_local_role(self, role)
Method valid_roles(self)
Return list of valid roles.
Method valid_property_id(self, id)
Method valid_roles(self)
Return list of valid roles.
Method validate_roles(self, roles)
Return true if all given roles are valid.
Method virtual_url_path(self)
Return a URL for the object, relative to the site root. If a virtual host is configured, the URL is a path relative to the virtual host's root object. Otherwise, it is the physical path. In either case, the URL does not begin with a slash.
Method wl_clearLocks(self)
Method wl_delLock(self, locktoken)
Method wl_getLock(self, locktoken)
Method wl_hasLock(self, token, killinvalids=0)
Method wl_isLocked(self)
Method wl_lockItems(self, killinvalids=0)
Method wl_lockTokens(self, killinvalids=0)
Method wl_lockValues(self, killinvalids=0)
Method wl_lockmapping(self, killinvalids=0, create=0)
if 'killinvalids' is 1, locks who are no longer valid will be deleted **Monkey patched by** 'plone.protect.monkey.wl_lockmapping'
Method wl_setLock(self, locktoken, lock)
Method workflowHistory(self, workflow)
Lock   View management screens
return the worflow history/transition info (latest first)
Method zsyncId(self)
ZSyncer unique identifier for sync support - just name (ie one per channel...)
Class  class RPMPackageFolder ( LargePortalFolder , ZCatalog )
manage a group of packages (indexing etc) Note: this is now *ONLY* used in RPMSystem
Method 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. Though we may later try to make a copy appear seamless across namespaces (e.g. from Zope to Apache), COPY is currently only supported within the Zope namespace.
Method Contributors(self)
Lock   View
Deprecated alias of listContributors.
Method CreationDate(self, zone=None)
Lock   View
Dublin Core Date element - date resource created.
Method Creator(self)
Lock   View
Dublin Core Creator element - resource author.
Method DELETE(self, REQUEST, RESPONSE)
Delete a collection resource. For collection resources, DELETE may return either 200 (OK) or 204 (No Content) to indicate total success, or may return 207 (Multistatus) to indicate partial success. Note that in Zope a DELETE currently never returns 207.
Method Date(self, zone=None)
Lock   View
Dublin Core Date element - default date.
Method Description(self)
Lock   View
Dublin Core Description element - resource summary.
Method EffectiveDate(self, zone=None)
Lock   View
Method ExpirationDate(self, zone=None)
Lock   View
Method Format(self)
Lock   View
Dublin Core Format element - resource format.
Method HEAD(self, REQUEST, RESPONSE)
Retrieve resource information without a response body.
Method Identifier(self)
Lock   View
Dublin Core Identifier element - resource ID.
Method LOCK(self, REQUEST, RESPONSE)
Lock a resource
Method Language(self)
Lock   View
Dublin Core Language element - resource language.
Method MKCOL(self, REQUEST, RESPONSE)
Create a new collection resource. If called on an existing resource, MKCOL must fail with 405 (Method Not Allowed).
Method MKCOL_handler(self, id, REQUEST=None, RESPONSE=None)
Handle WebDAV MKCOL.
Method MOVE(self, REQUEST, RESPONSE)
Move a resource to a new location. Though we may later try to make a move appear seamless across namespaces (e.g. from Zope to Apache), MOVE is currently only supported within the Zope namespace.
Method ModificationDate(self, zone=None)
Lock   View
Dublin Core Date element - date resource last modified.
Method OPTIONS(self, REQUEST, RESPONSE)
Retrieve communication options.
Method PROPFIND(self, REQUEST, RESPONSE)
Retrieve properties defined on the resource.
Method PROPPATCH(self, REQUEST, RESPONSE)
Set and/or remove properties defined on the resource.
Method PUT(self, REQUEST, RESPONSE)
The PUT method has no inherent meaning for collection resources, though collections are not specifically forbidden to handle PUT requests. The default response to a PUT request for collections is 405 (Method Not Allowed).
Method PUT_factory(self, name, typ, body)
Factory for PUT requests to objects which do not yet exist. Used by NullResource.PUT. Returns -- Bare and empty object of the appropriate type (or None, if we don't know what to do)
Method ZopeFind(self, obj, obj_ids=None, obj_metatypes=None, obj_searchterm=None, obj_expr=None, obj_mtime=None, obj_mspec=None, obj_permission=None, obj_roles=None, search_sub=0, REQUEST=None, result=None, pre='')
Zope Find interface
Method Publisher(self)
Lock   View
Dublin Core Publisher element - resource publisher.
Method Rights(self)
Lock   View
Dublin Core Rights element - resource copyright.
Method SQLConnectionIDs(container)
Find SQL database connections in the current folder and above This function returns a list of two-element tuples. The second element is the connection ID, the first element either its title, or if the title is empty, its ID.
Method SecurityCheckPermission(md, permission, object)
Check whether the security context allows the given permission on the given object. Arguments: permission -- A permission name object -- The object being accessed according to the permission
Method Subject(self)
Lock   View
Dublin Core Subject element - resource keywords.
Method TRACE(self, REQUEST, RESPONSE)
Return the HTTP message received back to the client as the entity-body of a 200 (OK) response. This will often usually be intercepted by the web server in use. If not, the TRACE request will fail with a 405 (Method Not Allowed), since it is not often possible to reproduce the HTTP request verbatim from within the Zope environment.
Method Title(self)
Lock   View
Dublin Core Title element - resource name.
Method Type(self)
Lock   View
Method UNLOCK(self, REQUEST, RESPONSE)
Remove an existing lock on a resource.
Method ZQueryIds(self)
Method ZopeFind(self, obj, obj_ids=None, obj_metatypes=None, obj_searchterm=None, obj_expr=None, obj_mtime=None, obj_mspec=None, obj_permission=None, obj_roles=None, search_sub=0, REQUEST=None, result=None, pre='')
Zope Find interface
Method ZopeFindAndApply(self, obj, obj_ids=None, obj_metatypes=None, obj_searchterm=None, obj_expr=None, obj_mtime=None, obj_mspec=None, obj_permission=None, obj_roles=None, search_sub=0, REQUEST=None, result=None, pre='', apply_func=None, apply_path='')
Lock   Manage ZCatalog Entries
Method InitializeClass(self)
Method manage_FTPlist(self, REQUEST)
Directory listing for FTP.
Method getPortalTypeName(self)
needed for the portal type view mechanism ...
Method wl_lockmapping(self, killinvalids=0, create=0)
if 'killinvalids' is 1, locks who are no longer valid will be deleted
Method absolute_url(self, relative=0)
Return the absolute URL of the object. This a canonical URL based on the object's physical containment path. It is affected by the virtual host configuration, if any, and can be used by external agents, such as a browser, to address the object. If the relative argument is provided, with a true value, then the value of virtual_url_path() is returned. Some Products incorrectly use '/'+absolute_url(1) as an absolute-path reference. This breaks in certain virtual hosting situations, and should be changed to use absolute_url_path() instead.
Method absolute_url_path(self)
Return the path portion of the absolute URL of the object. This includes the leading slash, and can be used as an 'absolute-path reference' as defined in RFC 2396.
Method ac_inherited_permissions(self, all=0)
Method access_debug_info(self)
Return debug info.
Method acquiredRolesAreUsedBy(self, permission)
Method actions(self)
Lock   View
return a list of valid transitions for the object
Method addColumn(self, name, default_value=None)
Lock   Manage ZCatalogIndex Entries
Method addCreator(self, creator=None)
Lock   Modify portal content
Add creator to Dublin Core creators.
Method addDTMLDocument(self, id, title='', file='', REQUEST=None, submit=None)
Add a DTML Document object with the contents of file. If 'file' is empty, default document text is used.
Method addDTMLMethod(self, id, title='', file='', REQUEST=None, submit=None)
Add a DTML Method object with the contents of file. If 'file' is empty, default document text is used.
Method addIndex(self, name, type, extra=None)
Lock   Manage ZCatalogIndex Entries
Method additional_buttons(self)
Method all_meta_types(self)
Lock   Search ZCatalog
Method allowedContentTypes(self)
List type info objects for types which can be added in this folder.
Method bobobase_modification_time(self)
Method catalog_object(self, obj, uid=None, idxs=None, update_metadata=1, pghandler=None)
Lock   Manage ZCatalog Entries
Method cb_dataItems(self)
Method cb_dataValid(self)
Method cb_isCopyable(self)
Method cb_isMoveable(self)
Method cb_userHasCopyOrMovePermission(self)
Method chains(self, wftool=None)
Lock   View management screens
return workflow chains
Method changeOwnership(self, user, recursive=0)
Change the ownership to the given user. If 'recursive' is true then also take ownership of all sub-objects, otherwise sub-objects retain their ownership information.
Method checkIdAvailable(self, id)
Method clearIndex(self, name)
Lock   Manage ZCatalogIndex Entries
Method contentIds(self, filter=None)
Method contentItems(self, filter=None)
Method contentValues(self, filter=None, sort_on=None, reverse=0)
Method content_type(self)
WebDAV needs this to do the Right Thing (TM).
Method created(self)
Lock   View
Dublin Core Date element - date resource created.
Method dav__init(self, request, response)
Method dav__simpleifhandler(self, request, response, method='PUT', col=0, url=None, refresh=0)
Method dav__validate(self, object, methodname, REQUEST)
Method debugInfo(self)
Lock   View management screens
return tuple of sorted dict key, values
Method decodeFolderFilter(self, encoded)
Parse cookie string for using variables in dtml.
Method delColumn(self, name)
Lock   Manage ZCatalogIndex Entries
Method delIndex(self, name)
Lock   Manage ZCatalogIndex Entries
Method edit(self, title='', description='')
Edit the folder title (and possibly other attributes later)
Method editMetadata(self, title='', subject=(), description='', contributors=(), effective_date=None, expiration_date=None, format='text/html', language='en-US', rights='')
Lock   Modify portal content
Need to add check for webDAV locked resource for TTW methods.
Method effective(self)
Lock   View
Dublin Core Date element - date resource becomes effective.
Method emptyContent(self)
initially dupe kupu into setting a blank field
Method encodeFolderFilter(self, REQUEST)
Parse cookie string for using variables in dtml.
Method eval(catalog, query, sortSpecs=(), withSortValues=[])
evaluate *query* for *catalog*; sort according to *sortSpecs*. *sortSpecs* is a sequence of sort specifications. A sort spec is either a ranking spec, an index name or a pair index name + sort direction ('asc/desc'). If *withSortValues* is not passed, it is set to 'True' when *sortSpecs* contains a ranking spec; otherwise, it is set to 'False'. If *withSortValues*, the catalog brains 'data_record_score_' is abused to communicate the sort value (a tuple with one component per sort spec). 'data_record_normalized_score_' is set to 'None' in this case.
Method expires(self)
Lock   View
Dublin Core Date element - date resource expires.
Method EditLink(self, object, borrow_lock=0, skip_data=0)
Insert the external editor link to an object if appropriate
Method filtered_manage_options(self, REQUEST=None)
Method filtered_meta_types(self, user=None)
Method folderlistingFolderContents(self, contentFilter=None, suppressHiddenFiles=0)
Method generateId(self, prefix='item', suffix='', rand_ceiling=999999999)
Lock   Access contents information
Returns an ID not used yet by this folder. The ID is unlikely to collide with other threads and clients. The IDs are sequential to optimize access to objects that are likely to have some relation.
Method get(self, name, default=None)
Lock   Access contents information
Method getActionInfo(self, action_chain, check_visibility=0, check_condition=0)
Get an Action info mapping specified by a chain of actions.
Method getActionsFor(self, workflow)
Lock   View management screens
return a list of valid transition states
Method getAllStatusIdsOf(self, workflow)
Lock   View management screens
return a list of valid state (ids) for the workflow
Method getAttribute(self, name)
Method getAttributeNode(self, name)
Method getAttributes(self)
Method getBastionDomain(self)
return a BastionDomain - DNS info for anything within a hosting context
Method getBatchObjectListing(self, REQUEST=None)
Lock   View management screens
Return a structure for a page template to show the list of objects.
Method getIdsSubset(self, objs)
Method getCatalogPlan(self)
Lock   Manage ZCatalog Entries
Get a string representation of a query plan
Method getCatalogReport(self)
Lock   Manage ZCatalog Entries
Query time reporting.
Method getChildNodes(self)
Method getContentType(self, fieldname)
kupu get's confused with our non-AT types ...
Method getDefaultSorting(self)
Method getDefaultStatusOf(self, workflow)
Lock   View management screens
return the initial state of the workflow
Method getElementsByTagName(self, tagname)
Method getField(self, fieldname)
Method getFirstChild(self)
Method icon(self, relative_to_portal=0)
Using this method allows the content class creator to grab icons on the fly instead of using a fixed attribute on the class.
Method getIconURL(self)
Get the absolute URL of the icon for the object.
Method getId(self)
Return the id of the object as a string. This method should be used in preference to accessing an id attribute of an object directly. The getId method is public.
Method getIdsSubset(self, objs)
Method getIndexDataForRID(self, rid)
Lock   Search ZCatalog
Method getIndexDataForUID(self, uid)
Lock   Search ZCatalog
Method getIndexObjects(self)
Lock   Manage ZCatalogIndex Entries
Method getLastChild(self)
Method getMetadataForRID(self, rid)
Lock   Search ZCatalog
Method getMetadataForUID(self, uid)
Lock   Search ZCatalog
Method getMetadataHeaders(self)
Lock   View
Return RFC-822-style headers.
Method getNextSibling(self)
Method getNodeName(self)
Method getNodeType(self)
Method getNodeValue(self)
Method getObjectPosition(self, id)
Method getOwner(self, info=0, aq_get=, UnownableOwner=[], getSecurityManager=)
Get the owner If a true argument is provided, then only the owner path and id are returned. Otherwise, the owner object is returned.
Method getOwnerDocument(self)
Method getOwnerTuple(self)
Return a tuple, (userdb_path, user_id) for the owner. o Ownership can be acquired, but only from the containment path. o If unowned, return None.
Method getPackage(self, name)
Lock   View
returns package in a permission-safe way
Method getParentNode(self)
Method getPath(self)
Lock   Access contents information
Method getPhysicalPath(self)
Method getPortalTypeName(self)
needed for the portal type view mechanism ...
Method getPreviousSibling(self)
Method getProperty(self, id, d=None)
Method getPropertyType(self, id)
Method getSiteManager(self)
Method getSize(self, ob=None)
Method getStatusOf(self, workflow, wftool=None, variable=None)
Lock   View management screens
return the status of ourselves in the context of this workflow (the corresponding WorkflowTool function is strangely declared private ...
Method getTagName(self)
Method getTypeInfo(self)
Lock   View
Get the TypeInformation object specified by the portal type.
Method getURL(self, relative=False)
Lock   Access contents information
Method getWrappedOwner(self)
Get the owner, modestly wrapped in the user folder. o If the object is not owned, return None. o If the owner's user database doesn't exist, return Nobody. o If the owner ID does not exist in the user database, return Nobody.
Method get_lexicons(self)
return all available lexicons
Method get_local_roles(self)
Method get_local_roles_for_userid(self, userid)
Method get_parsers(self)
return all available parsers
Method get_ranking_methods(self)
return all available parsers
Method get_splitters(self)
return all available splitters
Method get_storages(self)
return all available storages
Method get_valid_userids(self)
Method getobject(self, rid, REQUEST=None)
Lock   Search ZCatalog
Method getpath(self, rid)
Lock   Search ZCatalog
Method getrid(self, path, default=None)
Lock   Search ZCatalog
Method hasChildNodes(self)
Method has_key(self, id)
Lock   Access contents information
Indicates whether the folder has an item by ID.
Method hasPackage(self, name)
Lock   View
returns whether or not this package name is in the packages
Method hasProperty(self, id)
Method has_key(self, id)
Lock   Access contents information
Indicates whether the folder has an item by ID.
Method has_local_roles(self)
Method html2pdf(self, html, encode=True)
return a pdf-representation of the html document, encode is to base64-encode
Method http__etag(self, readonly=0)
Method http__parseMatchList(self, REQUEST, header='if-match')
Method http__processMatchHeaders(self, REQUEST=None)
Method http__refreshEtag(self)
Method icon(self, relative_to_portal=0)
Using this method allows the content class creator to grab icons on the fly instead of using a fixed attribute on the class.
Method indexObject(self, obj)
Lock   Modify portal content
CMFCatalogAware API
Method index_objects(self)
Lock   Search ZCatalog
Method indexes(self)
Lock   Search ZCatalog
Method invokeFactory(self, type_name, id, RESPONSE=None, *args, **kw)
Method isEffective(self, date)
Lock   View
Is the date within the resource's effective range?
Method objectItems(self, spec=None)
Lock   Access contents information
Method json(self, only=None, exclude=None, **config)
return JSON representation of item
Method objectIds(self, spec=None)
Lock   Access contents information
Method listContributors(self)
Lock   View
Dublin Core Contributor elements - resource collaborators.
Method listCreators(self)
Lock   View
List Dublin Core Creator elements - resource authors.
Method listDAVObjects(self)
Method listFolderContents(self, contentFilter=None, suppressHiddenFiles=0)
Method list_imports(self)
Method maintain_zodb_cache(self)
Method manage_CopyContainerAllItems(self, REQUEST)
Method manage_CopyContainerFirstItem(self, REQUEST)
Method manage_DAVget(self)
Gets the document source
Method manage_FTPlist(self, REQUEST)
Returns a directory listing consisting of a tuple of (id,stat) tuples, marshaled to a string. Note, the listing it should include '..' if there is a Folder above the current one. In the case of non-foldoid objects it should return a single tuple (id,stat) representing itself.
Method manage_FTPstat(self, REQUEST)
Psuedo stat, used by FTP for directory listings.
Method manage_access(self, REQUEST, **kw)
Lock   Change permissions
Return an interface for making permissions settings.
Method manage_acquiredPermissions(self, permissions=[], REQUEST=[])
Change the permissions that acquire.
Method manage_addColumn(self, name, REQUEST=None, RESPONSE=None, URL1=None)
Lock   Manage ZCatalog Entries
add a column
Method addDTMLDocument(self, id, title='', file='', REQUEST=None, submit=None)
Add a DTML Document object with the contents of file. If 'file' is empty, default document text is used.
Method addDTMLMethod(self, id, title='', file='', REQUEST=None, submit=None)
Add a DTML Method object with the contents of file. If 'file' is empty, default document text is used.
Method addDTMLMethod(self, id, title='', file='', REQUEST=None, submit=None)
Add a DTML Method object with the contents of file. If 'file' is empty, default document text is used.
Method manage_addFile(self, id, file='', title='', precondition='', content_type='', REQUEST=None)
Add a new File object. Creates a new File object 'id' with the contents of 'file'
Method manage_addFolder(self, id, title='', createPublic=0, createUserF=0, REQUEST=None)
Add a new Folder object with id *id*. If the 'createPublic' and 'createUserF' parameters are set to any true value, an 'index_html' and a 'UserFolder' objects are created respectively in the new folder.
Method manage_addImage(self, id, file, title='', precondition='', content_type='', REQUEST=None)
Add a new Image object. Creates a new Image object 'id' with the contents of 'file'.
Method manage_addIndex(self, name, type, extra=None, REQUEST=None, RESPONSE=None, URL1=None)
Lock   Manage ZCatalog Entries
add an index
Method manage_addLocalRoles(self, userid, roles, REQUEST=[])
Set local roles for a user.
Method manage_addOrderedFolder(self, id, title='', createPublic=0, createUserF=0, REQUEST=None)
Add a new ordered Folder object with id *id*. If the 'createPublic' and 'createUserF' parameters are set to any true value, an 'index_html' and a 'UserFolder' objects are created respectively in the new folder.
Method manage_addPloneFolder(self, id, title='', REQUEST=None)
Adds a new PloneFolder.
Method manage_addProperty(self, id, value, type, REQUEST=None)
Add a new property via the web. Sets a new property with the given id, type, and value.
Method manage_addSiteRoot(self, title='', base='', path='', REQUEST=None, **ignored)
Add a SiteRoot to a container.
Method manage_addUserFolder(self, dtself=None, REQUEST=None, **ignored)
Method manage_afterAdd(self, item, container)
Method manage_afterClone(self, item)
Method manage_beforeDelete(self, item, container)
Method manage_catalogClear(self, REQUEST=None, RESPONSE=None, URL1=None)
Lock   Manage ZCatalog Entries
clears the whole enchilada
Method manage_catalogFoundItems(self, REQUEST, RESPONSE, URL2, URL1, obj_metatypes=None, obj_ids=None, obj_searchterm=None, obj_expr=None, obj_mtime=None, obj_mspec=None, obj_roles=None, obj_permission=None)
Lock   Manage ZCatalog Entries
Find object according to search criteria and Catalog them
Method manage_catalogObject(self, REQUEST, RESPONSE, URL1, urls=None)
Lock   Manage ZCatalog Entries
index Zope object(s) that 'urls' point to
Method manage_catalogReindex(self, REQUEST, RESPONSE, URL1)
Lock   Manage ZCatalog Entries
clear the catalog, then re-index everything
Method manage_changeOwnership(self, userid, recursive=0, REQUEST=None)
Lock   Take ownership
go change the owner to specified user (if found)
Method manage_changeOwnershipType(self, explicit=[], RESPONSE=[], REQUEST=[])
Lock   Take ownership
Change the type (implicit or explicit) of ownership.
Method manage_changePermissions(self, REQUEST)
Lock   Change permissions
Change all permissions settings, called by management screen.
Method manage_changeProperties(self, REQUEST=None, **kw)
Change existing object properties. Change object properties by passing either a REQUEST object or name=value parameters
Method manage_changePropertyTypes(self, old_ids, props, REQUEST=None)
Replace one set of properties with another Delete all properties that have ids in old_ids, then add a property for each item in props. Each item has a new_id, new_value, and new_type. The type of new_value should match new_type.
Method manage_changeStatus(self, wfid, action, REQUEST=None)
Lock   Manage properties
do a workflow transition from the ZMI
Method manage_cleanup(self)
Lock   View management screens
Calls self._cleanup() and reports the result as text.
Method manage_clearIndex(self, ids=None, REQUEST=None, RESPONSE=None, URL1=None)
Lock   Manage ZCatalog Entries
clear an index or some indexes
Method manage_clone(self, ob, id, REQUEST=None)
Clone an object, creating a new object with the given id.
Method manage_copyObjects(self, ids=None, REQUEST=None, RESPONSE=None)
Lock   Copy or Move
Put a reference to the objects named in ids in the clip board
Method manage_cutObjects(self, ids=None, REQUEST=None)
Put a reference to the objects named in ids in the clip board
Method manage_debugDelAttrs(self, attrs, REQUEST=None)
Lock   Change configuration
remove attributes from object
Method manage_defined_roles(self, submit=None, REQUEST=None)
Called by management screen.
Method manage_delColumn(self, names, REQUEST=None, RESPONSE=None, URL1=None)
Lock   Manage ZCatalog Entries
delete a column or some columns
Method manage_delIndex(self, ids=None, REQUEST=None, RESPONSE=None, URL1=None)
Lock   Manage ZCatalog Entries
delete an index or some indexes
Method manage_delLocalRoles(self, userids, REQUEST=[])
Remove all local roles for a user.
Method manage_delObjects(self, ids=[], REQUEST=None)
PloneFolder doesn't want to return properly ...
Method manage_delProperties(self, ids=None, REQUEST=None)
Delete one or more properties specified by 'ids'.
Method manage_edit(self, RESPONSE, URL1, threshold=1000, REQUEST=None)
Lock   Manage ZCatalog Entries
edit the catalog
Method manage_editCatalogReport(self, long_query_time=0.1, REQUEST=None)
Lock   Manage ZCatalog Entries
Edit the long query time.
Method manage_editMetadata(self, title, subject, description, contributors, effective_date, expiration_date, format, language, rights, REQUEST)
Lock   Modify portal content
Update metadata from the ZMI.
Method manage_editProperties(self, REQUEST)
Edit object properties via the web. The purpose of this method is to change all property values, even those not listed in REQUEST; otherwise checkboxes that get turned off will be ignored. Use manage_changeProperties() instead for most situations.
Method manage_editRoles(self, REQUEST, acl_type='A', acl_roles=[])
Method manage_editedDialog(self, REQUEST, **args)
Method manage_exportObject(self, id='', download=None, toxml=None, RESPONSE=None, REQUEST=None)
Exports an object to a file and returns that file.
Method manage_fixCount(self)
Lock   View management screens
Calls self._fixCount() and reports the result as text.
Method manage_fixObjectCreated(self, REQUEST=None)
seems (indexable) stuff not created via _setObject doesn't get some necessary handlers called to setup uuid etc
Method manage_fixupOwnershipAfterAdd(self)
Method manage_forceStatus(self, wfid, state, REQUEST=None)
Lock   Manage properties
force a workflow transition
Method manage_form_title(self, *args, **kw)
Method 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.
Method manage_getUserRolesAndPermissions(self, user_id)
Used for permission/role reporting for a given user_id. Returns a dict mapping 'user_defined_in' -> path where the user account is defined 'roles' -> global roles, 'roles_in_context' -> roles in context of the current object, 'allowed_permissions' -> permissions allowed for the user, 'disallowed_permissions' -> all other permissions
Method manage_hasId(self, REQUEST)
check if the folder has an object with REQUEST['id']
Method manage_importObject(self, upload_file='', REQUEST=None, set_owner=1)
import an object from a local file system
Method manage_moveObjectDown(self, id, REQUEST=None)
move indicated object down one in the order
Method manage_moveObjectToBottom(self, id, REQUEST=None)
move indicated object to bottom of the order
Method manage_moveObjectToTop(self, id, REQUEST=None)
move indicated object to top of the order
Method manage_moveObjectUp(self, id, REQUEST=None)
move indicated object up one the order
Method manage_move_objects_down(self, REQUEST, ids=None, delta=1)
Move specified sub-objects down by delta in container.
Method manage_move_objects_to_bottom(self, REQUEST, ids=None)
Move specified sub-objects to bottom of container.
Method manage_move_objects_to_top(self, REQUEST, ids=None)
Move specified sub-objects to top of container.
Method manage_move_objects_up(self, REQUEST, ids=None, delta=1)
Move specified sub-objects up by delta in container.
Method manage_normalize_paths(self, REQUEST)
Lock   Manage ZCatalog Entries
Ensure that all catalog paths are full physical paths This should only be used with ZCatalogs in which all paths can be resolved with unrestrictedTraverse.
Method manage_object_workspace(self, ids=(), REQUEST=None)
Lock   View management screens
Redirects to the workspace of the first object in the list.
Method manage_oidSearch(self, oid)
Lock   View management screens
search for an OID (usually result of fsrefs) and identify the object
Method manage_pasteObjects(self, cb_copy_data=None, REQUEST=None)
Paste previously copied objects into the current object. If calling manage_pasteObjects from python code, pass the result of a previous call to manage_cutObjects or manage_copyObjects as the first argument. Also sends IObjectCopiedEvent and IObjectClonedEvent or IObjectWillBeMovedEvent and IObjectMovedEvent. If `REQUEST` is None it returns a list of dicts {'id': orig_id, 'new_id': new_id} otherwise it renders a HTML page.
Method manage_permission(self, permission_to_manage, roles=[], acquire=[], REQUEST=[])
Change the settings for the given permission. If optional arg acquire is true, then the roles for the permission are acquired, in addition to the ones specified, otherwise the permissions are restricted to only the designated roles.
Method manage_ploneCatalog(self, REQUEST=None)
Lock   View management screens
add the damned thing into Plone so it appears in navigation ...
Method manage_reindexIndex(self, ids=None, REQUEST=None, RESPONSE=None, URL1=None)
Lock   Manage ZCatalog Entries
Reindex indexe(s) from a ZCatalog
Method manage_removeDuplicates(self, REQUEST=None)
Lock   Change configuration
it seems sometimes profiles have been successfully added multiple times - this is bad ...
Method manage_renameObject(self, id, new_id, REQUEST=None)
Rename a particular sub-object.
Method manage_renameObjects(self, ids=[], new_ids=[], REQUEST=None)
Rename several sub-objects
Method manage_repair(self, REQUEST=None)
Repair objects in folder ...
Method manage_resetCatalogReport(self, REQUEST=None)
Lock   Manage ZCatalog Entries
Resets the catalog report.
Method manage_role(self, role_to_manage, permissions=[], REQUEST=[])
Change the permissions given to the given role.
Method manage_setLocalRoles(self, userid, roles, REQUEST=[])
Set local roles for a user.
Method manage_setPermissionMapping(self, permission_names=[], class_permissions=[], REQUEST=[])
Change the permission mapping
Method manage_setProgress(self, pgthreshold=0, RESPONSE=None, URL1=None)
Lock   Manage ZCatalog Entries
Set parameter to perform logging of reindexing operations very 'pgthreshold' objects
Method manage_set_default_sorting(self, REQUEST, key, reverse)
Set default sorting key and direction.
Method manage_subbingToggle(self, REQUEST, RESPONSE, URL1)
Lock   Manage ZCatalog Entries
toggle subtransactions
Method manage_takeOwnership(self, REQUEST, RESPONSE, recursive=[])
Lock   Take ownership
Take ownership (responsibility) for an object. If 'recursive' is true, then also take ownership of all sub-objects.
Method manage_uncatalogObject(self, REQUEST, RESPONSE, URL1, urls=None)
Lock   Manage ZCatalog Entries
removes Zope object(s) 'urls' from catalog
Method manage_undo_transactions(self, transaction_info=(), REQUEST=None)
Lock   Undo changes
Method manage_workspace(self, REQUEST)
Dispatch to first interface in manage_options
Method manage_zmi_logout(self, REQUEST, RESPONSE)
Logout current user
Method modified(self)
Lock   View
Dublin Core Date element - date resource last modified.
Method moveObject(self, id, position)
Method moveObjectToPosition(self, id, position, suppress_events=False)
Method moveObjectsByDelta(self, ids, delta, subset_ids=None, suppress_events=False)
Method moveObjectsDown(self, ids, delta=1, subset_ids=None)
Method moveObjectsToBottom(self, ids, subset_ids=None)
Method moveObjectsToTop(self, ids, subset_ids=None)
Method moveObjectsUp(self, ids, delta=1, subset_ids=None)
Method notifyModified(self)
Take appropriate action after the resource has been modified. Update creators and modification_date.
Method notifyWorkflowCreated(self)
Notify the workflow that the object was just created.
Method objectCount(self)
Lock   Access contents information
Returns the number of items in the folder.
Method objectIds(self, spec=None)
Lock   Access contents information
Method objectIds_d(self, t=None)
Lock   Access contents information
Method objectItems(self, spec=None)
Lock   Access contents information
Method objectItems_d(self, t=None)
Method objectMap(self)
Lock   Access contents information
Method objectMap_d(self, t=None)
Lock   Access contents information
Method objectValues(self, types=None)
Lock   Access contents information
return sorted objects
Method objectValues_d(self, t=None)
Method opaqueIds(self)
Return opaque ids (subelements that are contained using something that is not an ObjectManager).
Method opaqueItems(self)
Return opaque items (subelements that are contained using something that is not an ObjectManager).
Method opaqueValues(self)
Return opaque values (subelements that are contained using something that is not an ObjectManager).
Method orderObjects(self, key, reverse=None)
Method owner_info(self)
Lock   View management screens
Get ownership info for display
Method permission_settings(self, permission=None)
Return user-role permission settings. If 'permission' is passed to the method then only the settings for 'permission' is returned.
Method permissionsOfRole(self, role)
Returns a role to permission mapping.
Method portalCatalogMe(self, REQUEST=None)
Lock   Modify portal content
stick object in portal catalog (sometimes we just internally catalog stuff but want navigation etc)
Method possible_permissions(self)
Method propdict(self)
Method propertyDescription(self, id)
Method propertyIds(self)
Method propertyItems(self)
Method propertyLabel(self, id)
Method propertyMap(self)
Method propertyValues(self)
Method publishTraverse(self, REQUEST, name)
This is copied from OFS/Application.py and seems strangely necessary since Plone 3.0 (to 4.3 at least) upgrade ... so that containers-as-attributes can be traversed ...
Method raise_standardErrorMessage(self, client=None, REQUEST={}, error_type=None, error_value=None, tb=None, error_tb=None, error_message='', tagSearch=, error_log_url='')
Method refreshCatalog(self, clear=0, pghandler=None)
Lock   Manage ZCatalog Entries
re-index everything we can find
Method reindexIndex(self, name, REQUEST, pghandler=None)
Lock   Manage ZCatalog Entries
Method reindexObject(self, idxs=[])
Lock   Modify portal content
Reindex the object in the portal catalog.
Method reindexObjectSecurity(self, skip_self=False)
Lock   Modify portal content
Reindex security-related indexes on the object.
Method resolve_path(self, path)
Lock   Search ZCatalog
Method resolve_url(self, path, REQUEST)
Lock   Search ZCatalog
Method restrictedTraverse(self, path, default=)
Method rolesOfPermission(self, permission)
Returns a permission to role mapping.
Method schema(self)
Lock   Search ZCatalog
Method search(self, query_request, sort_index=None, reverse=0, limit=None, merge=1)
Lock   Search ZCatalog
Programmatic search interface, use for searching the catalog from scripts. query_request: Dictionary containing catalog query sort_index: Name of sort index reverse: Reverse sort order? limit: Limit sorted result count (optimization hint) merge: Return merged results (like searchResults) or raw results for later merging.
Method searchResults(self, REQUEST=None, used=None, **kw)
Lock   Search ZCatalog
Search the catalog Search terms can be passed in the REQUEST or as keyword arguments. The used argument is now deprecated and ignored
Method setContributors(self, contributors)
Lock   Modify portal content
Set Dublin Core Contributor elements - resource collaborators.
Method setCreators(self, creators)
Lock   Modify portal content
Set Dublin Core Creator elements - resource authors.
Method setDefaultSorting(self, key, reverse)
Method setDescription(self, description)
Lock   Modify portal content
Set Dublin Core Description element - resource summary.
Method setEffectiveDate(self, effective_date)
Lock   Modify portal content
Set Dublin Core Date element - date resource becomes effective.
Method setExpirationDate(self, expiration_date)
Lock   Modify portal content
Set Dublin Core Date element - date resource expires.
Method setFormat(self, format)
Lock   Modify portal content
Set Dublin Core Format element - resource format.
Method setId(self, value)
Lock   Modify portal content
Sets the object id. - this is the Archetypes::BaseObject implementation ...
Method setLanguage(self, language)
Lock   Modify portal content
Set Dublin Core Language element - resource language.
Method setModificationDate(self, modification_date=None)
Lock   Modify portal content
Set the date when the resource was last modified. When called without an argument, sets the date to now.
Method setRights(self, rights)
Lock   Modify portal content
Set Dublin Core Rights element - resource copyright.
Method setSiteManager(self, components)
Method setSubject(self, subject)
Lock   Modify portal content
Set Dublin Core Subject element - resource keywords.
Method setTitle(self, title)
Lock   Modify portal content
Set Dublin Core Title element - resource name.
Method status(self, wftool=None, wf_var='review_state')
Lock   View
return workflow status
Method superValues(self, t)
Method tabs_path_default(self, REQUEST, unquote=)
Method tabs_path_info(self, script, path, quote=)
Method this(self)
Method title_and_id(self)
Return the title if it is not blank and the id otherwise. If the title is not blank, then the id is included in parens.
Method title_or_id(self)
Return the title if it is not blank and the id otherwise.
Method tpURL(self)
Method tpValues(self)
Lock   Access contents information
Ensures the items don't show up in the left pane.
Method uncatalog_object(self, uid)
Lock   Manage ZCatalog Entries
Method undoable_transactions(self, first_transaction=None, last_transaction=None, PrincipiaUndoBatchSize=None)
Lock   Undo changes
Method unindexObject(self, obj)
Lock   Modify portal content
CMFCatalogAware API
Method uniqueValuesFor(self, name)
Lock   Search ZCatalog
Method unrestrictedTraverse(self, path, default=, restricted=False)
Lookup an object by path. path -- The path to the object. May be a sequence of strings or a slash separated string. If the path begins with an empty path element (i.e., an empty string or a slash) then the lookup is performed from the application root. Otherwise, the lookup is relative to self. Two dots (..) as a path element indicates an upward traversal to the acquisition parent. default -- If provided, this is the value returned if the path cannot be traversed for any reason (i.e., no object exists at that path or the object is inaccessible). restricted -- If false (default) then no security checking is performed. If true, then all of the objects along the path are validated with the security machinery. Usually invoked using restrictedTraverse().
Method userCanTakeOwnership(self)
Method userdefined_roles(self)
Return list of user-defined roles.
Method users_with_local_role(self, role)
Method cb_dataValid(self)
Method valid_roles(self)
Return list of valid roles.
Method valid_property_id(self, id)
Method valid_roles(self)
Lock   Search ZCatalog
Return list of valid roles.
Method validate_roles(self, roles)
Return true if all given roles are valid.
Method objectValues(self, spec=None)
Lock   Access contents information
Method virtual_url_path(self)
Return a URL for the object, relative to the site root. If a virtual host is configured, the URL is a path relative to the virtual host's root object. Otherwise, it is the physical path. In either case, the URL does not begin with a slash.
Method wl_clearLocks(self)
Method wl_delLock(self, locktoken)
Method wl_getLock(self, locktoken)
Method wl_hasLock(self, token, killinvalids=0)
Method wl_isLocked(self)
Method wl_lockItems(self, killinvalids=0)
Method wl_lockTokens(self, killinvalids=0)
Method wl_lockValues(self, killinvalids=0)
Method wl_lockmapping(self, killinvalids=0, create=0)
if 'killinvalids' is 1, locks who are no longer valid will be deleted **Monkey patched by** 'plone.protect.monkey.wl_lockmapping'
Method wl_setLock(self, locktoken, lock)
Method workflowHistory(self, workflow)
Lock   View management screens
return the worflow history/transition info (latest first)
Class  class RPMPackageRelease ( PropertyManager , BSimpleItem )
store statistics about a particular version
Method 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. Though we may later try to make a copy appear seamless across namespaces (e.g. from Zope to Apache), COPY is currently only supported within the Zope namespace.
Method DELETE(self, REQUEST, RESPONSE)
Delete a resource. For non-collection resources, DELETE may return either 200 or 204 (No Content) to indicate success.
Method HEAD(self, REQUEST, RESPONSE)
Retrieve resource information without a response body.
Method LOCK(self, REQUEST, RESPONSE)
Lock a resource
Method MKCOL(self, REQUEST, RESPONSE)
Create a new collection resource. If called on an existing resource, MKCOL must fail with 405 (Method Not Allowed).
Method MOVE(self, REQUEST, RESPONSE)
Move a resource to a new location. Though we may later try to make a move appear seamless across namespaces (e.g. from Zope to Apache), MOVE is currently only supported within the Zope namespace.
Method OPTIONS(self, REQUEST, RESPONSE)
Retrieve communication options.
Method PROPFIND(self, REQUEST, RESPONSE)
Retrieve properties defined on the resource.
Method PROPPATCH(self, REQUEST, RESPONSE)
Set and/or remove properties defined on the resource.
Method PUT(self, REQUEST, RESPONSE)
Replace the GET response entity of an existing resource. Because this is often object-dependent, objects which handle PUT should override the default PUT implementation with an object-specific implementation. By default, PUT requests fail with a 405 (Method Not Allowed).
Method TRACE(self, REQUEST, RESPONSE)
Return the HTTP message received back to the client as the entity-body of a 200 (OK) response. This will often usually be intercepted by the web server in use. If not, the TRACE request will fail with a 405 (Method Not Allowed), since it is not often possible to reproduce the HTTP request verbatim from within the Zope environment.
Method UNLOCK(self, REQUEST, RESPONSE)
Remove an existing lock on a resource.
Method InitializeClass(self)
Method wl_lockmapping(self, killinvalids=0, create=0)
if 'killinvalids' is 1, locks who are no longer valid will be deleted
Method absolute_url(self, relative=0)
Return the absolute URL of the object. This a canonical URL based on the object's physical containment path. It is affected by the virtual host configuration, if any, and can be used by external agents, such as a browser, to address the object. If the relative argument is provided, with a true value, then the value of virtual_url_path() is returned. Some Products incorrectly use '/'+absolute_url(1) as an absolute-path reference. This breaks in certain virtual hosting situations, and should be changed to use absolute_url_path() instead.
Method absolute_url_path(self)
Return the path portion of the absolute URL of the object. This includes the leading slash, and can be used as an 'absolute-path reference' as defined in RFC 2396.
Method ac_inherited_permissions(self, all=0)
Method access_debug_info(self)
Return debug info.
Method acquiredRolesAreUsedBy(self, permission)
Method bobobase_modification_time(self)
Method cb_isCopyable(self)
Method cb_isMoveable(self)
Method cb_userHasCopyOrMovePermission(self)
Method changeOwnership(self, user, recursive=0)
Change the ownership to the given user. If 'recursive' is true then also take ownership of all sub-objects, otherwise sub-objects retain their ownership information.
Method dav__init(self, request, response)
Method dav__simpleifhandler(self, request, response, method='PUT', col=0, url=None, refresh=0)
Method dav__validate(self, object, methodname, REQUEST)
Method debugInfo(self)
return tuple of sorted dict key, values
Method filtered_manage_options(self, REQUEST=None)
Method getAttribute(self, name)
Method getAttributeNode(self, name)
Method getAttributes(self)
Method getChildNodes(self)
Method getElementsByTagName(self, tagname)
Method getField(self, fieldname)
Method getFirstChild(self)
Method getId(self)
Return the id of the object as a string. This method should be used in preference to accessing an id attribute of an object directly. The getId method is public.
Method getLastChild(self)
Method getNextSibling(self)
Method getNodeName(self)
Method getNodeType(self)
Method getNodeValue(self)
Method getOwner(self, info=0, aq_get=, UnownableOwner=[], getSecurityManager=)
Get the owner If a true argument is provided, then only the owner path and id are returned. Otherwise, the owner object is returned.
Method getOwnerDocument(self)
Method getOwnerTuple(self)
Return a tuple, (userdb_path, user_id) for the owner. o Ownership can be acquired, but only from the containment path. o If unowned, return None.
Method getParentNode(self)
Method getPath(self)
Method getPhysicalPath(self)
Method getPreviousSibling(self)
Method getProperty(self, id, d=None)
Lock   Access contents information
Method getPropertyType(self, id)
Lock   Access contents information
Method getTagName(self)
Method getURL(self, relative=False)
Method getWrappedOwner(self)
Get the owner, modestly wrapped in the user folder. o If the object is not owned, return None. o If the owner's user database doesn't exist, return Nobody. o If the owner ID does not exist in the user database, return Nobody.
Method get_local_roles(self)
Method get_local_roles_for_userid(self, userid)
Method get_valid_userids(self)
Method hasChildNodes(self)
Method hasProperty(self, id)
Lock   Access contents information
Method has_local_roles(self)
Method http__etag(self, readonly=0)
Method http__parseMatchList(self, REQUEST, header='if-match')
Method http__processMatchHeaders(self, REQUEST=None)
Method http__refreshEtag(self)
Method json(self, only=None, exclude=None, **config)
return JSON representation of item
Method listDAVObjects(self)
Method manage(self, URL1)
Method manage_DAVget(self)
Gets the document source
Method manage_FTPlist(self, REQUEST)
Directory listing for FTP. In the case of non-Foldoid objects, the listing should contain one object, the object itself.
Method manage_FTPstat(self, REQUEST)
Psuedo stat, used by FTP for directory listings.
Method manage_access(self, REQUEST, **kw)
Return an interface for making permissions settings.
Method manage_acquiredPermissions(self, permissions=[], REQUEST=[])
Change the permissions that acquire.
Method manage_addLocalRoles(self, userid, roles, REQUEST=[])
Set local roles for a user.
Method manage_addProperty(self, id, value, type, REQUEST=None)
Lock   Manage properties
Add a new property via the web. Sets a new property with the given id, type, and value.
Method manage_afterAdd(self, item, container)
Method manage_afterClone(self, item)
Method manage_beforeDelete(self, item, container)
Method manage_changeOwnership(self, userid, recursive=0, REQUEST=None)
go change the owner to specified user (if found)
Method manage_changeOwnershipType(self, explicit=[], RESPONSE=[], REQUEST=[])
Change the type (implicit or explicit) of ownership.
Method manage_changePermissions(self, REQUEST)
Change all permissions settings, called by management screen.
Method manage_changeProperties(self, REQUEST=None, **kw)
Lock   Manage properties
Change existing object properties. Change object properties by passing either a REQUEST object or name=value parameters
Method manage_changePropertyTypes(self, old_ids, props, REQUEST=None)
Lock   Manage properties
Replace one set of properties with another Delete all properties that have ids in old_ids, then add a property for each item in props. Each item has a new_id, new_value, and new_type. The type of new_value should match new_type.
Method manage_debugDelAttrs(self, attrs, REQUEST=None)
remove attributes from object
Method manage_defined_roles(self, submit=None, REQUEST=None)
Called by management screen.
Method manage_delLocalRoles(self, userids, REQUEST=[])
Remove all local roles for a user.
Method manage_delProperties(self, ids=None, REQUEST=None)
Lock   Manage properties
Delete one or more properties specified by 'ids'.
Method manage_editProperties(self, REQUEST)
Lock   Manage properties
Edit object properties via the web. The purpose of this method is to change all property values, even those not listed in REQUEST; otherwise checkboxes that get turned off will be ignored. Use manage_changeProperties() instead for most situations.
Method manage_editRoles(self, REQUEST, acl_type='A', acl_roles=[])
Method manage_editedDialog(self, REQUEST, **args)
Method manage_fixupOwnershipAfterAdd(self)
Method 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.
Method manage_getUserRolesAndPermissions(self, user_id)
Used for permission/role reporting for a given user_id. Returns a dict mapping 'user_defined_in' -> path where the user account is defined 'roles' -> global roles, 'roles_in_context' -> roles in context of the current object, 'allowed_permissions' -> permissions allowed for the user, 'disallowed_permissions' -> all other permissions
Method manage_oidSearch(self, oid)
search for an OID (usually result of fsrefs) and identify the object
Method manage_permission(self, permission_to_manage, roles=[], acquire=[], REQUEST=[])
Change the settings for the given permission. If optional arg acquire is true, then the roles for the permission are acquired, in addition to the ones specified, otherwise the permissions are restricted to only the designated roles.
Method manage_ploneCatalog(self, REQUEST=None)
add the damned thing into Plone so it appears in navigation ...
Method manage_repair(self, REQUEST=None)
fix up object upon schema change
Method manage_role(self, role_to_manage, permissions=[], REQUEST=[])
Change the permissions given to the given role.
Method manage_setLocalRoles(self, userid, roles, REQUEST=[])
Set local roles for a user.
Method manage_setPermissionMapping(self, permission_names=[], class_permissions=[], REQUEST=[])
Change the permission mapping
Method manage_takeOwnership(self, REQUEST, RESPONSE, recursive=[])
Take ownership (responsibility) for an object. If 'recursive' is true, then also take ownership of all sub-objects.
Method manage_undo_transactions(self, transaction_info=(), REQUEST=None)
Method manage_workspace(self, REQUEST)
Dispatch to first interface in manage_options
Method objectValues(self, spec=None)
Method objectValues(self, spec=None)
Method objectValues(self, spec=None)
Method owner_info(self)
Get ownership info for display
Method permission_settings(self, permission=None)
Return user-role permission settings. If 'permission' is passed to the method then only the settings for 'permission' is returned.
Method permissionsOfRole(self, role)
Returns a role to permission mapping.
Method possible_permissions(self)
Method propdict(self)
Lock   Access contents information
Method propertyDescription(self, id)
Lock   Access contents information
Method propertyIds(self)
Lock   Access contents information
Method propertyItems(self)
Lock   Access contents information
Method propertyLabel(self, id)
Lock   Access contents information
Method propertyMap(self)
Lock   Access contents information
Method propertyValues(self)
Lock   Access contents information
Method publishTraverse(self, REQUEST, name)
This is copied from OFS/Application.py and seems strangely necessary since Plone 3.0 (to 4.3 at least) upgrade ... so that containers-as-attributes can be traversed ...
Method raise_standardErrorMessage(self, client=None, REQUEST={}, error_type=None, error_value=None, tb=None, error_tb=None, error_message='', tagSearch=, error_log_url='')
Method restrictedTraverse(self, path, default=)
Method rolesOfPermission(self, permission)
Returns a permission to role mapping.
Method tabs_path_default(self, REQUEST, unquote=)
Method tabs_path_info(self, script, path, quote=)
Method this(self)
Method title_and_id(self)
Return the title if it is not blank and the id otherwise. If the title is not blank, then the id is included in parens.
Method title_or_id(self)
Return the title if it is not blank and the id otherwise.
Method tpURL(self)
Method tpValues(self)
Method undoable_transactions(self, first_transaction=None, last_transaction=None, PrincipiaUndoBatchSize=None)
Method unrestrictedTraverse(self, path, default=, restricted=False)
Lookup an object by path. path -- The path to the object. May be a sequence of strings or a slash separated string. If the path begins with an empty path element (i.e., an empty string or a slash) then the lookup is performed from the application root. Otherwise, the lookup is relative to self. Two dots (..) as a path element indicates an upward traversal to the acquisition parent. default -- If provided, this is the value returned if the path cannot be traversed for any reason (i.e., no object exists at that path or the object is inaccessible). restricted -- If false (default) then no security checking is performed. If true, then all of the objects along the path are validated with the security machinery. Usually invoked using restrictedTraverse().
Method userCanTakeOwnership(self)
Method userdefined_roles(self)
Return list of user-defined roles.
Method users_with_local_role(self, role)
Method valid_roles(self)
Return list of valid roles.
Method valid_property_id(self, id)
Lock   Access contents information
Method valid_roles(self)
Return list of valid roles.
Method validate_roles(self, roles)
Return true if all given roles are valid.
Method virtual_url_path(self)
Return a URL for the object, relative to the site root. If a virtual host is configured, the URL is a path relative to the virtual host's root object. Otherwise, it is the physical path. In either case, the URL does not begin with a slash.
Method wl_clearLocks(self)
Method wl_delLock(self, locktoken)
Method wl_getLock(self, locktoken)
Method wl_hasLock(self, token, killinvalids=0)
Method wl_isLocked(self)
Method wl_lockItems(self, killinvalids=0)
Method wl_lockTokens(self, killinvalids=0)
Method wl_lockValues(self, killinvalids=0)
Method wl_lockmapping(self, killinvalids=0, create=0)
if 'killinvalids' is 1, locks who are no longer valid will be deleted **Monkey patched by** 'plone.protect.monkey.wl_lockmapping'
Method wl_setLock(self, locktoken, lock)
Functions
Function adapts (*interfaces)
Declares the types of objects that a multi-adapter adapts.
Function addRPMPackage (ob, event)
Function deleteRPMPackage (ob, event)
Function directlyProvides (object, *interfaces)
Declare interfaces declared directly for an object The arguments after the object are one or more interfaces or interface specifications (`~zope.interface.interfaces.IDeclaration` objects). The interfaces given (including the interfaces in the specifications) replace interfaces previously declared for the object.
Function filter_requires (requires)
remove non-packagey things from buildreqs, like autodeps currently removes everything containing / and all rpmlib() deps
Function getToolByName (obj, name, default=[])
Get the tool, 'toolname', by acquiring it. o Application code should use this method, rather than simply acquiring the tool by name, to ease forward migration (e.g., to Zope3).
Function implements (*interfaces)
Declare interfaces implemented by instances of a class This function is called in a class definition. The arguments are one or more interfaces or interface specifications (`~zope.interface.interfaces.IDeclaration` objects). The interfaces given (including the interfaces in the specifications) are added to any interfaces previously declared. Previous declarations include declarations for base classes unless `implementsOnly` was used. This function is provided for convenience. It provides a more convenient way to call `classImplements`. For example:: implements(I1) is equivalent to calling:: classImplements(C, I1) after the class has been created.
Function isDownloadable (rpmmanager, pkg)
we only allow a package to be downloaded if the user's account status is ok if there is no RPMUser, then that's an automatic fail!
Function manage_addRPMPackage (self, name, version, release, epoch, arch='', REQUEST=None)
Function manage_addRPMPackageFromHeader (self, hdr, REQUEST=None)
Function newline_to_br (v, name='(Unknown name)', md={})
Function notify (event)
Notify all subscribers of ``event``.
Function opcode2str (code)
map rpm opcode to string - these should agree with createrepo ;)
Function rpmFromHdr (id, hdr)
factory to generate an RPMPackage from a header
Function stx2html (aStructuredString, level=1, header=1)

Document Actions