Package Products :: Package CMFCore :: Module CMFCatalogAware :: Class CMFCatalogAware
[show private | hide private]
[frames | no frames]

Type CMFCatalogAware

object --+    
         |    
      Base --+
             |
            CMFCatalogAware

Known Subclasses:
CPSBaseBTreeDocument, CPSBaseBTreeDocument, CPSBaseDocument, CPSBaseDocument, CPSDocument, CPSDocument, Dummy, PortalContent, PortalFolder, SkinnedFolder, TheClass

Mix-in for notifying portal_catalog and portal_workflow
Method Summary
  _cps_old_manage_afterAdd(self, item, container)
Add self to the catalog.
  _cps_old_manage_beforeDelete(self, item, container)
Remove self from the catalog.
  indexObject(self)
Index the object in the portal catalog.
  manage_afterAdd(self, *args, **kw)
manage_afterAdd patched
  manage_afterClone(self, item)
Add self to the workflow.
  manage_afterCMFAdd(self, item, container)
Notify object and event service of CMF add finalization.
  manage_beforeDelete(self, *args, **kw)
manage_beforeDelete patched for
  manage_workflowsTab(self, REQUEST, manage_tabs_message)
Tab displaying the current workflows for the content object.
  notifyWorkflowCreated(self)
Notify the workflow that self was just created.
  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).
  reindexObject(self, idxs)
Reindex the object in the portal catalog.
  reindexObjectSecurity(self, skip_self)
Reindex security-related indexes on the object (and its descendants).
  unindexObject(self)
Unindex the object from the portal catalog.
    Inherited from Base
  __getattribute__(...)
x.__getattribute__('name') <==> x.name
  __getnewargs__(...)
Get arguments to be passed to __new__
  __getstate__(...)
Get the object serialization state
  __new__(T, S, ...)
T.__new__(S, ...) -> a new object with type S, a subtype of T
  __reduce__(...)
Reduce an object to contituent parts for serialization
  __setstate__(...)
Set the object serialization state The state should be in one of 3 forms: - None Ignored - A dictionary In this case, the object's instance dictionary will be cleared and updated with the new state.
    Inherited from object
  __init__(...)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
  __delattr__(...)
x.__delattr__('name') <==> del x.name
  __hash__(x)
x.__hash__() <==> hash(x)
  __reduce_ex__(...)
helper for pickle
  __repr__(x)
x.__repr__() <==> repr(x)
  __setattr__(...)
x.__setattr__('name', value) <==> x.name = value
  __str__(x)
x.__str__() <==> str(x)

Class Variable Summary
tuple __ac_permissions__ = (('Access contents information', ('...
PermissionRole indexObject__roles__ = <PermissionRole object at 0xb7453...
tuple manage_afterAdd__roles__ = ('Manager',)
tuple manage_afterClone__roles__ = ('Manager',)
tuple manage_beforeDelete__roles__ = ('Manager',)
tuple manage_options = ({'action': 'manage_workflowsTab', 'lab...
PermissionRole manage_workflowsTab__roles__ = <PermissionRole object at...
tuple notifyWorkflowCreated__roles__ = ()
PermissionRole opaqueIds__roles__ = <PermissionRole object at 0xb74539f...
PermissionRole opaqueItems__roles__ = <PermissionRole object at 0xb7453...
PermissionRole opaqueValues__roles__ = <PermissionRole object at 0xb745...
PermissionRole reindexObject__roles__ = <PermissionRole object at 0xb74...
PermissionRole reindexObjectSecurity__roles__ = <PermissionRole object ...
PermissionRole unindexObject__roles__ = <PermissionRole object at 0xb74...

Method Details

_cps_old_manage_afterAdd(self, item, container)

Add self to the catalog. (Called when the object is created or moved.)

_cps_old_manage_beforeDelete(self, item, container)

Remove self from the catalog. (Called when the object is deleted or moved.)

indexObject(self)

Index the object in the portal catalog.

manage_afterAdd(self, *args, **kw)

manage_afterAdd patched

o for event service notification. o for repository objects

manage_afterClone(self, item)

Add self to the workflow. (Called when the object is cloned.)

manage_afterCMFAdd(self, item, container)

Notify object and event service of CMF add finalization.

manage_beforeDelete(self, *args, **kw)

manage_beforeDelete patched for

o event service notification. o for repository objects

manage_workflowsTab(self, REQUEST, manage_tabs_message=None)

Tab displaying the current workflows for the content object.

notifyWorkflowCreated(self)

Notify the workflow that self was just created.

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).

reindexObject(self, idxs=[])

Reindex the object in the portal catalog. If idxs is present, only those indexes are reindexed. The metadata is always updated.

Also update the modification date of the object, unless specific indexes were requested.

reindexObjectSecurity(self, skip_self=False)

Reindex security-related indexes on the object (and its descendants).

unindexObject(self)

Unindex the object from the portal catalog.

Class Variable Details

__ac_permissions__

Type:
tuple
Value:
(('Access contents information', ('opaqueItems', 'opaqueIds', 'opaqueV\
alues')),
 ('Manage portal', ('manage_workflowsTab',)),
 ('Modify portal content',
  ('reindexObjectSecurity', 'indexObject', 'reindexObject', 'unindexOb\
ject')))                                                               

indexObject__roles__

Type:
PermissionRole
Value:
<PermissionRole object at 0xb74534b8>                                  

manage_afterAdd__roles__

Type:
tuple
Value:
('Manager',)                                                           

manage_afterClone__roles__

Type:
tuple
Value:
('Manager',)                                                           

manage_beforeDelete__roles__

Type:
tuple
Value:
('Manager',)                                                           

manage_options

Type:
tuple
Value:
({'action': 'manage_workflowsTab', 'label': 'Workflows'},)             

manage_workflowsTab__roles__

Type:
PermissionRole
Value:
<PermissionRole object at 0xb7453c08>                                  

notifyWorkflowCreated__roles__

Type:
tuple
Value:
()                                                                     

opaqueIds__roles__

Type:
PermissionRole
Value:
<PermissionRole object at 0xb74539f8>                                  

opaqueItems__roles__

Type:
PermissionRole
Value:
<PermissionRole object at 0xb74539f8>                                  

opaqueValues__roles__

Type:
PermissionRole
Value:
<PermissionRole object at 0xb74539f8>                                  

reindexObject__roles__

Type:
PermissionRole
Value:
<PermissionRole object at 0xb74534b8>                                  

reindexObjectSecurity__roles__

Type:
PermissionRole
Value:
<PermissionRole object at 0xb74534b8>                                  

unindexObject__roles__

Type:
PermissionRole
Value:
<PermissionRole object at 0xb74534b8>                                  

Generated by Epydoc 2.1 on Mon Jun 27 12:48:05 2005 http://epydoc.sf.net