wiki:PloneSMS/ShortMessage/Products.CMFCore.PortalContent.PortalContent-class.html

Products.CMFCore.PortalContent?.PortalContent?

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.

Class Variable Summary
str __init__ = '<Not Accessible>'
tuple __ac_permissions__ = (('FTP access', ('manage_FTPlist', ...
str __delattr__ = '<Not Accessible>'
str __getattr__ = '<Not Accessible>'
tuple __implements__ = (<Interface webdav.WriteLockInterface.W...
str __setattr__ = '<Not Accessible>'
NoneType index_html = None                                                                  
int isPortalContent = 1                                                                     
tuple manage_options = ({'action': 'manage_metadata', 'label':...

Method Details

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


Class Variable Details

__init__

Type:
str
Value:
'<Not Accessible>'                                                     

__ac_permissions__

Type:
tuple
Value:
(('FTP access', ('manage_FTPlist', 'manage_FTPstat', 'manage_FTPget'))\
,
 ('View', ('', 'SearchableText', 'view')))                             

__delattr__

Type:
str
Value:
'<Not Accessible>'                                                     

__getattr__

Type:
str
Value:
'<Not Accessible>'                                                     

__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:
'<Not Accessible>'                                                     

index_html

Type:
NoneType
Value:
None                                                                  

isPortalContent

Type:
int
Value:
1                                                                     

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

Generated by Epydoc 2.1 on Fri Dec 23 14:49:35 2005 http://epydoc.sf.net
Last modified 14 years ago Last modified on Dec 23, 2005 2:55:18 PM