rubygem-racc-1.8.1-100.lbn36.x86_64
Nov 20, 2024
rubygem-nokogiri-doc-1.16.7-1.lbn36.x86_64
Nov 20, 2024
rubygem-nokogiri-1.16.7-1.lbn36.x86_64
Nov 20, 2024
prometheus-postgresql-exporter-0.16.0-0.1.gita324fe3.lbn36.x86_64
Nov 20, 2024
python3-pulp-rpm-client-3.27.2-1.lbn36.noarch
Nov 20, 2024
python3-pulp-rpm-3.27.2-1.lbn36.noarch
Nov 20, 2024
python3-pulp-python-client-3.12.5-1.lbn36.noarch
Nov 20, 2024
python3-pulp-python-3.12.5-1.lbn36.noarch
Nov 20, 2024
python3-pulp-deb-client-3.4.0-1.lbn36.noarch
Nov 20, 2024
python3-pulp-deb-3.4.0-1.lbn36.noarch
Nov 20, 2024
Info
Products.RPMManager.Registration
Up one level
Classes
class Registration
(
LargePortalFolder
,
ZCatalog
)
Handles users and their system information(s)
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.
Contributors (self)
Deprecated alias of listContributors.
CreationDate (self, zone=None )
Dublin Core Date element - date resource created.
Creator (self)
Dublin Core Creator element - resource author.
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.
Date (self, zone=None )
Dublin Core Date element - default date.
Description (self)
Dublin Core Description element - resource summary.
EffectiveDate (self, zone=None )
ExpirationDate (self, zone=None )
Format (self)
Dublin Core Format element - resource format.
HEAD (self, REQUEST, RESPONSE)
Retrieve resource information without a response body.
Identifier (self)
Dublin Core Identifier element - resource ID.
LOCK (self, REQUEST, RESPONSE)
Lock a resource
Language (self)
Dublin Core Language element - resource language.
MKCOL (self, REQUEST, RESPONSE)
Create a new collection resource. If called on an existing
resource, MKCOL must fail with 405 (Method Not Allowed).
MKCOL_handler (self, id, REQUEST=None , RESPONSE=None )
Handle WebDAV MKCOL.
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.
ModificationDate (self, zone=None )
Dublin Core Date element - date resource last modified.
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.
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).
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)
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
Publisher (self)
Dublin Core Publisher element - resource publisher.
Rights (self)
Dublin Core Rights element - resource copyright.
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.
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
Subject (self)
Dublin Core Subject element - resource keywords.
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.
Title (self)
Dublin Core Title element - resource name.
Type (self)
UNLOCK (self, REQUEST, RESPONSE)
Remove an existing lock on a resource.
ZQueryIds (self)
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
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='' )
InitializeClass (self)
manage_FTPlist (self, REQUEST)
Directory listing for FTP.
getPortalTypeName (self)
needed for the portal type view mechanism ...
wl_lockmapping (self, killinvalids=0 , create=0 )
if 'killinvalids' is 1, locks who are no longer valid
will be deleted
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.
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.
ac_inherited_permissions (self, all=0 )
access_debug_info (self)
Return debug info.
acquiredRolesAreUsedBy (self, permission)
actions (self)
return a list of valid transitions for the object
addColumn (self, name, default_value=None )
addCreator (self, creator=None )
Add creator to Dublin Core creators.
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.
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.
addIndex (self, name, type, extra=None )
add_hw_profile (self, systemId, hardwareList, REQUEST=None )
RPMManager: Register Users
add a hardware profile
add_packages (self, systemId, packageList, REQUEST=None )
RPMManager: Register Users
accept package info from client system (note we are
expecting extended package info ...)
additional_buttons (self)
agents (self)
return a list of valid agent member_ids
all_meta_types (self)
allowedContentTypes (self)
List type info objects for types which can be added in
this folder.
authenticate (self, username, password, REQUEST=None )
authenticate the user
bobobase_modification_time (self)
catalog_object (self, obj, uid=None , idxs=None , update_metadata=1 , pghandler=None )
cb_dataItems (self)
cb_dataValid (self)
cb_isCopyable (self)
cb_isMoveable (self)
cb_userHasCopyOrMovePermission (self)
chains (self, wftool=None )
return workflow chains
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.
channels (self)
View management screens
return list of available channel names
checkIdAvailable (self, id)
check_id (self, id, required=0 , alternative_id=None , contained_by=None )
override script which barfs (Plone 4.1.3)...
clearIndex (self, name)
contentIds (self, filter=None )
contentItems (self, filter=None )
contentValues (self, filter=None , sort_on=None , reverse=0 )
content_type (self)
WebDAV needs this to do the Right Thing (TM).
created (self)
Dublin Core Date element - date resource created.
dav__init (self, request, response)
dav__simpleifhandler (self, request, response, method='PUT' , col=0 , url=None , refresh=0 )
dav__validate (self, object, methodname, REQUEST)
debugInfo (self)
return tuple of sorted dict key, values
decodeFolderFilter (self, encoded)
Parse cookie string for using variables in dtml.
delColumn (self, name)
delIndex (self, name)
delete_packages (self, systemId, packageList, REQUEST=None )
RPMManager: Download RPMS
remove packages from a system - ie in response to an upgrade ...
edit (self, title='' , description='' )
Edit the folder title (and possibly other attributes later)
editMetadata (self, title='' , subject=() , description='' , contributors=() , effective_date=None , expiration_date=None , format='text/html' , language='en-US' , rights='' )
Need to add check for webDAV locked resource for TTW methods.
effective (self)
Dublin Core Date element - date resource becomes effective.
emptyContent (self)
initially dupe kupu into setting a blank field
encodeFolderFilter (self, REQUEST)
Parse cookie string for using variables in dtml.
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.
expires (self)
Dublin Core Date element - date resource expires.
EditLink (self, object, borrow_lock=0 , skip_data=0 )
Insert the external editor link to an object if appropriate
filtered_manage_options (self, REQUEST=None )
filtered_meta_types (self, user=None )
finish_message (self, systemId='' , REQUEST=None , **kw)
RPMManager: Register Users
return the 'successful completion' message to the client
folderlistingFolderContents (self, contentFilter=None , suppressHiddenFiles=0 )
generateId (self, prefix='item' , suffix='' , rand_ceiling=999999999 )
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.
get (self, name, default=None )
getActionInfo (self, action_chain, check_visibility=0 , check_condition=0 )
Get an Action info mapping specified by a chain of actions.
getActionsFor (self, workflow)
return a list of valid transition states
getAllStatusIdsOf (self, workflow)
return a list of valid state (ids) for the workflow
getAttribute (self, name)
getAttributeNode (self, name)
getAttributes (self)
getBastionDomain (self)
return a BastionDomain - DNS info for anything within a hosting
context
getBatchObjectListing (self, REQUEST=None )
Return a structure for a page template to show the list of objects.
getIdsSubset (self, objs)
getCatalogPlan (self)
Get a string representation of a query plan
getCatalogReport (self)
Query time reporting.
getChildNodes (self)
getContentType (self, fieldname)
kupu get's confused with our non-AT types ...
getDefaultSorting (self)
getDefaultStatusOf (self, workflow)
return the initial state of the workflow
getElementsByTagName (self, tagname)
getField (self, fieldname)
getFirstChild (self)
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.
getIconURL (self)
Get the absolute URL of the icon for the object.
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.
getIdsSubset (self, objs)
getIndexDataForRID (self, rid)
getIndexDataForUID (self, uid)
getIndexObjects (self)
getLastChild (self)
getMetadataForRID (self, rid)
getMetadataForUID (self, uid)
getMetadataHeaders (self)
Return RFC-822-style headers.
getNextSibling (self)
getNodeName (self)
getNodeType (self)
getNodeValue (self)
getObjectPosition (self, id)
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.
getOwnerDocument (self)
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.
getParentNode (self)
getPath (self)
getPhysicalPath (self)
getPortalTypeName (self)
needed for the portal type view mechanism ...
getPreviousSibling (self)
getProperty (self, id, d=None )
getPropertyType (self, id)
getSiteManager (self)
getSize (self, ob=None )
getStatusOf (self, workflow, wftool=None , variable=None )
return the status of ourselves in the context of this workflow (the corresponding
WorkflowTool function is strangely declared private ...
getSystem (self, systemid)
RPMManager: RHNSD
a handle from which to retrieve a system ....
getSystemCompliance (self, systemid, on_date=None )
RPMManager: RHNSD
getSystemInfo (self, systemid)
RPMManager: RHNSD
xml-rpc helper to collate and return system/entitlement info
getTagName (self)
getTypeInfo (self)
Get the TypeInformation object specified by the portal type.
getURL (self, relative=False )
getUser (self, id)
RPMManager: RHNSD
a handle from which to retrieve a system ....
getUserInfo (self, id)
RPMManager: RHNSD
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.
get_lexicons (self)
return all available lexicons
get_local_roles (self)
get_local_roles_for_userid (self, userid)
get_parsers (self)
return all available parsers
get_ranking_methods (self)
return all available parsers
get_splitters (self)
return all available splitters
get_storages (self)
return all available storages
get_valid_userids (self)
getobject (self, rid, REQUEST=None )
getpath (self, rid)
getrid (self, path, default=None )
hasChildNodes (self)
has_key (self, id)
Indicates whether the folder has an item by ID.
hasProperty (self, id)
has_key (self, id)
Indicates whether the folder has an item by ID.
has_local_roles (self)
html2pdf (self, html, encode=True )
return a pdf-representation of the html document, encode is to base64-encode
http__etag (self, readonly=0 )
http__parseMatchList (self, REQUEST, header='if-match' )
http__processMatchHeaders (self, REQUEST=None )
http__refreshEtag (self)
indexObject (self)
Index the object in the portal catalog.
index_objects (self)
indexes (self)
invokeFactory (self, type_name, id, RESPONSE=None , *args, **kw)
isEffective (self, date)
Is the date within the resource's effective range?
objectItems (self, spec=None )
json (self, only=None , exclude=None , **config)
return JSON representation of item
objectIds (self, spec=None )
listContributors (self)
Dublin Core Contributor elements - resource collaborators.
listCreators (self)
List Dublin Core Creator elements - resource authors.
listDAVObjects (self)
listFolderContents (self, contentFilter=None , suppressHiddenFiles=0 )
list_imports (self)
list_packages (self, systemid, REQUEST=None )
RPMManager: Download RPMS
maintain_zodb_cache (self)
manage_CopyContainerAllItems (self, REQUEST)
manage_CopyContainerFirstItem (self, REQUEST)
manage_DAVget (self)
Gets the document source
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.
manage_FTPstat (self, REQUEST)
Psuedo stat, used by FTP for directory listings.
manage_access (self, REQUEST, **kw)
Return an interface for making permissions settings.
manage_acquiredPermissions (self, permissions=[] , REQUEST=[] )
Change the permissions that acquire.
manage_addColumn (self, name, REQUEST=None , RESPONSE=None , URL1=None )
add a column
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.
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.
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.
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'
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.
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'.
manage_addIndex (self, name, type, extra=None , REQUEST=None , RESPONSE=None , URL1=None )
add an index
manage_addLocalRoles (self, userid, roles, REQUEST=[] )
Set local roles for a user.
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.
manage_addPloneFolder (self, id, title='' , REQUEST=None )
Adds a new PloneFolder.
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.
manage_addSiteRoot (self, title='' , base='' , path='' , REQUEST=None , **ignored)
Add a SiteRoot to a container.
manage_addUserFolder (self, dtself=None , REQUEST=None , **ignored)
manage_afterAdd (self, item, container)
manage_afterClone (self, item)
manage_beforeDelete (self, item, container)
manage_billUsers (self, effective=None , REQUEST=None )
Change configuration
go do monthly user subscription charging if appropriate ...
this is designed to be wrapped in a ZScheduleEvent
manage_catalogClear (self, REQUEST=None , RESPONSE=None , URL1=None )
clears the whole enchilada
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 )
Find object according to search criteria and Catalog them
manage_catalogObject (self, REQUEST, RESPONSE, URL1, urls=None )
index Zope object(s) that 'urls' point to
manage_catalogReindex (self, REQUEST, RESPONSE, URL1)
clear the catalog, then re-index everything
manage_changeOwnership (self, userid, recursive=0 , REQUEST=None )
go change the owner to specified user (if found)
manage_changeOwnershipType (self, explicit=[] , RESPONSE=[] , REQUEST=[] )
Change the type (implicit or explicit) of ownership.
manage_changePermissions (self, REQUEST)
Change all permissions settings, called by management screen.
manage_changeProperties (self, REQUEST=None , **kw)
Change existing object properties.
Change object properties by passing either a REQUEST object or
name=value parameters
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.
manage_changeStatus (self, wfid, action, REQUEST=None )
do a workflow transition from the ZMI
manage_cleanup (self)
Calls self._cleanup() and reports the result as text.
manage_clearIndex (self, ids=None , REQUEST=None , RESPONSE=None , URL1=None )
clear an index or some indexes
manage_clone (self, ob, id, REQUEST=None )
Clone an object, creating a new object with the given id.
manage_copyObjects (self, ids=None , REQUEST=None , RESPONSE=None )
Put a reference to the objects named in ids in the clip board
manage_cutObjects (self, ids=None , REQUEST=None )
Put a reference to the objects named in ids in the clip board
manage_debugDelAttrs (self, attrs, REQUEST=None )
remove attributes from object
manage_defined_roles (self, submit=None , REQUEST=None )
Called by management screen.
manage_delColumn (self, names, REQUEST=None , RESPONSE=None , URL1=None )
delete a column or some columns
manage_delIndex (self, ids=None , REQUEST=None , RESPONSE=None , URL1=None )
delete an index or some indexes
manage_delLocalRoles (self, userids, REQUEST=[] )
Remove all local roles for a user.
manage_delObjects (self, ids=[] , REQUEST=None )
PloneFolder doesn't want to return properly ...
manage_delProperties (self, ids=None , REQUEST=None )
Delete one or more properties specified by 'ids'.
manage_edit (self, RESPONSE, URL1, threshold=1000 , REQUEST=None )
edit the catalog
manage_editCatalogReport (self, long_query_time=0.1 , REQUEST=None )
Edit the long query time.
manage_editMetadata (self, title, subject, description, contributors, effective_date, expiration_date, format, language, rights, REQUEST)
Update metadata from the ZMI.
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.
manage_editRoles (self, REQUEST, acl_type='A' , acl_roles=[] )
manage_editedDialog (self, REQUEST, **args)
manage_exportObject (self, id='' , download=None , toxml=None , RESPONSE=None , REQUEST=None )
Exports an object to a file and returns that file.
manage_finish (self, REQUEST)
manage_fixCount (self)
Calls self._fixCount() and reports the result as text.
manage_fixObjectCreated (self, REQUEST=None )
seems (indexable) stuff not created via _setObject doesn't get some necessary
handlers called to setup uuid etc
manage_fixupOwnershipAfterAdd (self)
manage_forceStatus (self, wfid, state, REQUEST=None )
force a workflow transition
manage_form_title (self, *args, **kw)
manage_generateCerts (self, REQUEST=None )
Change configuration
generate/regenerate user certificates
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_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
manage_hasId (self, REQUEST)
check if the folder has an object with REQUEST['id']
manage_importObject (self, upload_file='' , REQUEST=None , set_owner=1 )
import an object from a local file system
manage_moveObjectDown (self, id, REQUEST=None )
move indicated object down one in the order
manage_moveObjectToBottom (self, id, REQUEST=None )
move indicated object to bottom of the order
manage_moveObjectToTop (self, id, REQUEST=None )
move indicated object to top of the order
manage_moveObjectUp (self, id, REQUEST=None )
move indicated object up one the order
manage_move_objects_down (self, REQUEST, ids=None , delta=1 )
Move specified sub-objects down by delta in container.
manage_move_objects_to_bottom (self, REQUEST, ids=None )
Move specified sub-objects to bottom of container.
manage_move_objects_to_top (self, REQUEST, ids=None )
Move specified sub-objects to top of container.
manage_move_objects_up (self, REQUEST, ids=None , delta=1 )
Move specified sub-objects up by delta in container.
manage_normalize_paths (self, REQUEST)
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.
manage_object_workspace (self, ids=() , REQUEST=None )
Redirects to the workspace of the first object in
the list.
manage_oidSearch (self, oid)
search for an OID (usually result of fsrefs) and identify the object
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.
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.
manage_ploneCatalog (self, REQUEST=None )
add the damned thing into Plone so it appears in navigation ...
manage_privacy (self, REQUEST)
View management screens
manage_reindexIndex (self, ids=None , REQUEST=None , RESPONSE=None , URL1=None )
Reindex indexe(s) from a ZCatalog
manage_removeOrphans (self, REQUEST=None )
Change configuration
remove User's for which we've no associated member, and clean up any
OrderBook references
manage_renameObject (self, id, new_id, REQUEST=None )
Rename a particular sub-object.
manage_renameObjects (self, ids=[] , new_ids=[] , REQUEST=None )
Rename several sub-objects
manage_repair (self, REQUEST=None )
Repair objects in folder ...
manage_resetCatalogReport (self, REQUEST=None )
Resets the catalog report.
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.
manage_setPermissionMapping (self, permission_names=[] , class_permissions=[] , REQUEST=[] )
Change the permission mapping
manage_setProgress (self, pgthreshold=0 , RESPONSE=None , URL1=None )
Set parameter to perform logging of reindexing operations very
'pgthreshold' objects
manage_set_default_sorting (self, REQUEST, key, reverse)
Set default sorting key and direction.
manage_subbingToggle (self, REQUEST, RESPONSE, URL1)
toggle subtransactions
manage_takeOwnership (self, REQUEST, RESPONSE, recursive=[] )
Take ownership (responsibility) for an object.
If 'recursive' is true, then also take ownership of all sub-objects.
manage_terms (self, REQUEST)
View management screens
manage_uncatalogObject (self, REQUEST, RESPONSE, URL1, urls=None )
removes Zope object(s) 'urls' from catalog
manage_undo_transactions (self, transaction_info=() , REQUEST=None )
manage_updateFromMembers (self, REQUEST=None )
Change configuration
scan members looking for any missing, but with channel roles
and add an RPMUser for them
manage_welcome (self, REQUEST)
View management screens
manage_workspace (self, REQUEST)
Dispatch to first interface in manage_options
manage_zmi_logout (self, REQUEST, RESPONSE)
Logout current user
modified (self)
Dublin Core Date element - date resource last modified.
moveObject (self, id, position)
moveObjectToPosition (self, id, position, suppress_events=False )
moveObjectsByDelta (self, ids, delta, subset_ids=None , suppress_events=False )
moveObjectsDown (self, ids, delta=1 , subset_ids=None )
moveObjectsToBottom (self, ids, subset_ids=None )
moveObjectsToTop (self, ids, subset_ids=None )
moveObjectsUp (self, ids, delta=1 , subset_ids=None )
new_entitlement (self, org, systemid, serial, certificate, key, description='' , activation_keys=[] , channels=[] )
RPMManager: RHNSD
subscription_manager new entitlement
note serial is an int; but may be expressed as a string because of xml-rpc proto limits on int size
new_system (self, auth_dict, packages=[] , REQUEST=None , *args, **kw)
RPMManager: Register Users
saves a new system and returns our generated id (well actually
we fudge this and use their generated one ...)
new_system_consumer (self, org, systemid, serial, certificate, key, profile_name='' , arch='' , release='' , release_name='' )
RPMManager: RHNSD
subscription manager new system - with consumer certificate
new_user (self, username, password=None , email=None , currency=None , REQUEST=None , *args, **kw)
RPMManager: Register Users
go stick this baby into our user folder and
put the rest of the stuff in our member tool shite ???
notifyModified (self)
Take appropriate action after the resource has been modified.
Update creators and modification_date.
notifyWorkflowCreated (self)
Notify the workflow that the object was just created.
objectCount (self)
Returns the number of items in the folder.
objectIds (self, spec=None )
objectIds_d (self, t=None )
objectItems (self, spec=None )
objectItems_d (self, t=None )
objectMap (self)
objectMap_d (self, t=None )
objectValues (self, spec=None )
objectValues_d (self, t=None )
opaqueIds (self)
Return opaque ids (subelements that are contained
using something that is not an ObjectManager).
opaqueItems (self)
Return opaque items (subelements that are contained
using something that is not an ObjectManager).
opaqueValues (self)
Return opaque values (subelements that are contained
using something that is not an ObjectManager).
orderObjects (self, key, reverse=None )
owner_info (self)
Get ownership info for display
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.
permissionsOfRole (self, role)
Returns a role to permission mapping.
pkgContributors (self, pkg)
View management screens
return a list of all the user objects who are actively maintaining the pkg
portalCatalogMe (self, REQUEST=None )
stick object in portal catalog (sometimes we just internally catalog
stuff but want navigation etc)
possible_permissions (self)
propdict (self)
propertyDescription (self, id)
propertyIds (self)
propertyItems (self)
propertyLabel (self, id)
propertyMap (self)
propertyValues (self)
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 ...
raise_standardErrorMessage (self, client=None , REQUEST={} , error_type=None , error_value=None , tb=None , error_tb=None , error_message='' , tagSearch= , error_log_url='' )
refreshCatalog (self, clear=0 , pghandler=None )
re-index everything we can find
refresh_hw_profile (self, systemId, hardwareList, REQUEST=None )
RPMManager: Register Users
overwrite a hardware profile
register_product (self, systemid, productInfo, REQUEST=None )
RPMManager: Register Users
we're actually going to store product info with the user ...
reindexIndex (self, name, REQUEST, pghandler=None )
reindexObject (self, idxs=[] )
Reindex the object in the portal catalog.
reindexObjectSecurity (self, skip_self=False )
Reindex security-related indexes on the object.
remaining_subscriptions (self, username, password, target_arch='' , release='' , REQUEST=None )
RPMManager: Register Users
return remaining subscription details for user
Note target_arch is <chipset>-<distro>-<arch>
if we return -1, it means unlimited remaining subs ...
reserve_user (self, username, password, csi='' , REQUEST=None )
RPMManager: Register Users
csi is some bollicks from Oracle ...
resolve_path (self, path)
resolve_url (self, path, REQUEST)
restrictedTraverse (self, path, default= )
roles (self)
View management screens
Plone roles assignable to User
rolesOfPermission (self, permission)
Returns a permission to role mapping.
schema (self)
search (self, query_request, sort_index=None , reverse=0 , limit=None , merge=1 )
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.
searchResults (self, REQUEST=None , used=None , **kw)
Search the catalog
Search terms can be passed in the REQUEST or as keyword
arguments.
The used argument is now deprecated and ignored
send_serial (self, systemId, num, oemId=None , REQUEST=None )
RPMManager: Register Users
setContributors (self, contributors)
Set Dublin Core Contributor elements - resource collaborators.
setCreators (self, creators)
Set Dublin Core Creator elements - resource authors.
setDefaultSorting (self, key, reverse)
setDescription (self, description)
Set Dublin Core Description element - resource summary.
setEffectiveDate (self, effective_date)
Set Dublin Core Date element - date resource becomes effective.
setExpirationDate (self, expiration_date)
Set Dublin Core Date element - date resource expires.
setFormat (self, format)
Set Dublin Core Format element - resource format.
setId (self, value)
Sets the object id. - this is the Archetypes::BaseObject implementation ...
setLanguage (self, language)
Set Dublin Core Language element - resource language.
setModificationDate (self, modification_date=None )
Set the date when the resource was last modified.
When called without an argument, sets the date to now.
setRights (self, rights)
Set Dublin Core Rights element - resource copyright.
setSiteManager (self, components)
setSubject (self, subject)
Set Dublin Core Subject element - resource keywords.
setTitle (self, title)
Set Dublin Core Title element - resource name.
status (self, wftool=None , wf_var='review_state' )
return workflow status
superValues (self, t)
tabs_path_default (self, REQUEST, unquote= )
tabs_path_info (self, script, path, quote= )
this (self)
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.
title_or_id (self)
Return the title if it is not blank and the id otherwise.
tpURL (self)
tpValues (self)
Ensures the items don't show up in the left pane.
uncatalog_object (self, uid)
undoable_transactions (self, first_transaction=None , last_transaction=None , PrincipiaUndoBatchSize=None )
unindexObject (self)
Unindex the object from the portal catalog.
uniqueValuesFor (self, name)
unregister_system (self, systemid)
RPMManager: RHNSD
subscription manager unregister a system
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().
update_contact_info (self, REQUEST=None )
RPMManager: Register Users
update_packages (self, systemId, packageList, REQUEST=None )
RPMManager: RHNSD
update the indicated system to reflect this packageList
update_transactions (self, systemId, time, transactions, REQUEST=None )
RPMManager: Download RPMS
upgrade_version (self, systemId, systemVer, REQUEST=None )
RPMManager: Download RPMS
userCanTakeOwnership (self)
userdefined_roles (self)
Return list of user-defined roles.
users_with_local_role (self, role)
cb_dataValid (self)
valid_roles (self)
Return list of valid roles.
validSystem (self, id)
Access contents information
valid_property_id (self, id)
valid_roles (self)
Return list of valid roles.
validate_reg_num (self, regNum, REQUEST=None )
return whether or not this subscription number is valid ie we've got it
registered on our system
validate_roles (self, roles)
Return true if all given roles are valid.
objectValues (self, spec=None )
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.
wl_clearLocks (self)
wl_delLock (self, locktoken)
wl_getLock (self, locktoken)
wl_hasLock (self, token, killinvalids=0 )
wl_isLocked (self)
wl_lockItems (self, killinvalids=0 )
wl_lockTokens (self, killinvalids=0 )
wl_lockValues (self, killinvalids=0 )
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'
wl_setLock (self, locktoken, lock)
workflowHistory (self, workflow)
return the worflow history/transition info (latest first)
Functions
getSecurityManager
()
Get a security manager, for the current thread.
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).
jsonResponse
(obj, request)
manage_addRPMPackage
(self, name, version, release, epoch, arch='' , REQUEST=None )
rpmuserSecurityPolicy
(user, channels)
security policy for a RPMUser - making them owner ...
To see exactly what is included in BastionLinux™ , visit our online
Builder .