Package Products ::
Package CMFCore ::
Module PortalContent ::
Class PortalContent
|
|
Type PortalContent
CMFCatalogAware
--+
|
DynamicType
--+
|
SimpleItem
--+
|
PortalContent
Base class for portal objects.
Provides hooks for reviewing, indexing, and CMF UI.
Derived classes must implement the interface described in
interfaces/DublinCore.py.
Method Summary |
|
__call__ (self)
Invokes the default view. |
|
__roles__ (...)
PermissionRole |
|
failIfLocked (self)
Check if isLocked via webDav |
|
inheritedAttribute (class,
name)
Get an attribute that would be inherited if the given (extension)
class did not define it. |
|
SearchableText (self)
Returns a concatination of all searchable text. |
|
view (self)
Returns the default view even if index_html is overridden. |
__call__(self)
(Call operator)
Invokes the default view.
-
|
__roles__(...)
PermissionRole
-
|
failIfLocked(self)
Check if isLocked via webDav
-
|
SearchableText(self)
Returns a concatination of all searchable text.
Should be overriden by portal objects.
-
|
view(self)
Returns the default view even if index_html is overridden.
-
|
__init__
-
- Type:
-
str
- Value:
|
__ac_permissions__
-
- Type:
-
tuple
- Value:
(('FTP access', ('manage_FTPlist', 'manage_FTPstat', 'manage_FTPget'))\
,
('View', ('', 'SearchableText', 'view')))
|
|
__delattr__
-
- Type:
-
str
- Value:
|
__getattr__
-
- Type:
-
str
- Value:
|
__implements__
-
- Type:
-
tuple
- Value:
(<Interface webdav.WriteLockInterface.WriteLockInterface at b790cc4c>,
<Interface Products.CMFCore.interfaces.Contentish.Contentish at b766c\
6ac>,
<Interface Products.CMFCore.interfaces.Dynamic.DynamicType at b76b160\
c>)
|
|
__setattr__
-
- Type:
-
str
- Value:
|
index_html
-
- Type:
-
NoneType
- Value:
|
isPortalContent
-
- Type:
-
int
- Value:
|
manage_options
-
- Type:
-
tuple
- Value:
({'action': 'manage_metadata', 'label': 'Dublin Core'},
{'action': 'manage_edit', 'label': 'Edit'},
{'action': 'view', 'label': 'View'},
{'action': 'manage_workflowsTab', 'label': 'Workflows'},
{'action': 'manage_UndoForm', 'help': ('OFSP', 'Undo.stx'), 'label': \
'Undo'},
{'action': 'manage_owner',
'filter': <function ownableFilter at 0xb790617c>,
...
|
|