Package Products ::
Package CMFCore ::
Module PortalFolder ::
Class PortalFolder
|
|
Type PortalFolder
CMFCatalogAware
--+
|
DynamicType
--+
|
Folder
--+
|
PortalFolder
Implements portal content management, but not UI details.
Method Summary |
|
__init__(self,
id,
title)
|
|
allowedContentTypes (self)
List type info objects for types which can be added in
this folder. |
|
checkIdAvailable(self,
id)
|
|
content_type (self)
WebDAV needs this to do the Right Thing (TM). |
|
contentIds (self,
spec,
filter)
Provide a filtered view onto 'objectIds', allowing only
PortalFolders and PortalContent-derivatives to show through. |
|
contentItems (self,
spec,
filter)
Provide a filtered view onto 'objectItems', allowing only
PortalFolders and PortalContent-derivatives to show through. |
|
contentValues (self,
spec,
filter)
Provide a filtered view onto 'objectValues', allowing only
PortalFolders and PortalContent-derivatives to show through. |
|
decodeFolderFilter (self,
encoded)
Parse cookie string for using variables in dtml. |
|
Description (self)
Implement dublin core Description |
|
edit (self,
title,
description)
Edit the folder title (and possibly other attributes later) |
|
encodeFolderFilter (self,
REQUEST)
Parse cookie string for using variables in dtml. |
|
indexObject(self)
|
|
inheritedAttribute (class,
name)
Get an attribute that would be inherited if the given (extension)
class did not define it. |
|
invokeFactory (self,
type_name,
id,
RESPONSE,
*args,
**kw)
Invokes the portal_types tool. |
|
listFolderContents (self,
spec,
contentFilter)
Hook around 'contentValues' to let 'folder_contents'
be protected. |
|
manage_addFolder (self,
id,
title,
REQUEST)
Add a new folder-like object with id id. |
|
manage_addPortalFolder (self,
id,
title,
REQUEST)
Add a new PortalFolder object with id id. |
|
MKCOL_handler (self,
id,
REQUEST,
RESPONSE)
Handle WebDAV MKCOL. |
|
PUT_factory (self,
name,
typ,
body)
Dispatcher for PUT requests to non-existent IDs. |
|
reindexObject(self,
idxs)
|
|
setDescription (self,
description)
Edit the folder description. |
|
setTitle (self,
title)
Edit the folder title. |
|
Title (self)
Implement dublin core Title |
|
Type (self)
Implement dublin core type |
|
unindexObject(self)
|
allowedContentTypes(self)
List type info objects for types which can be added in
this folder.
-
|
content_type(self)
WebDAV needs this to do the Right Thing (TM).
-
|
contentIds(self,
spec=None,
filter=None)
Provide a filtered view onto 'objectIds', allowing only
PortalFolders and PortalContent-derivatives to show through.
If 'kw' passed, use them to filter the results further,
qua the standard Zope filter interface.
-
|
contentItems(self,
spec=None,
filter=None)
Provide a filtered view onto 'objectItems', allowing only
PortalFolders and PortalContent-derivatives to show through.
-
|
contentValues(self,
spec=None,
filter=None)
Provide a filtered view onto 'objectValues', allowing only
PortalFolders and PortalContent-derivatives to show through.
-
|
decodeFolderFilter(self,
encoded)
Parse cookie string for using variables in dtml.
-
|
Description(self)
Implement dublin core Description
-
|
edit(self,
title='',
description='')
Edit the folder title (and possibly other attributes later)
-
|
encodeFolderFilter(self,
REQUEST)
Parse cookie string for using variables in dtml.
-
|
invokeFactory(self,
type_name,
id,
RESPONSE=None,
*args,
**kw)
Invokes the portal_types tool.
-
|
listFolderContents(self,
spec=None,
contentFilter=None)
Hook around 'contentValues' to let 'folder_contents'
be protected. Duplicating skip_unauthorized behavior of dtml-in.
-
|
manage_addFolder(self,
id,
title='',
REQUEST=None)
Add a new folder-like object with id id. IF present,
use the parent object's 'mkdir' action; otherwise, just
add a PortalFolder.
to take control of the process by checking for a 'mkdir'
action.
-
|
manage_addPortalFolder(self,
id,
title='',
REQUEST=None)
Add a new PortalFolder object with id id.
-
|
MKCOL_handler(self,
id,
REQUEST=None,
RESPONSE=None)
Handle WebDAV MKCOL.
-
|
PUT_factory(self,
name,
typ,
body)
Dispatcher for PUT requests to non-existent IDs. Returns
an object of the appropriate type (or None, if we don't
know what to do).
-
|
setDescription(self,
description)
Edit the folder description.
-
|
setTitle(self,
title)
Edit the folder title.
-
|
Title(self)
Implement dublin core Title
-
|
Type(self)
Implement dublin core type
-
|
__ac_permissions__
-
- Type:
-
tuple
- Value:
(('Add portal content',
('invokeFactory', 'checkIdAvailable'),
('Owner', 'Manager')),
('Add portal folders',
('manage_addPortalFolder', 'manage_addFolder'),
('Owner', 'Manager')),
('List folder contents', ('listFolderContents',)),
('Manage properties', ('setDescription', 'edit', 'setTitle')),
...
|
|
__call__
-
- Type:
-
str
- Value:
|
__delattr__
-
- Type:
-
str
- Value:
|
__getattr__
-
- Type:
-
str
- Value:
|
__implements__
-
- Type:
-
tuple
- Value:
(<Interface Products.CMFCore.interfaces.Dynamic.DynamicType at b76fd60\
c>,
(<Interface webdav.WriteLockInterface.WriteLockInterface at b7958c4c>\
,))
|
|
__setattr__
-
- Type:
-
str
- Value:
|
allowedContentTypes__roles__
-
- Type:
-
NoneType
- Value:
|
contentIds__roles__
-
- Type:
-
NoneType
- Value:
|
contentItems__roles__
-
- Type:
-
NoneType
- Value:
|
contentValues__roles__
-
- Type:
-
NoneType
- Value:
|
decodeFolderFilter__roles__
-
- Type:
-
NoneType
- Value:
|
description
-
- Type:
-
str
- Value:
|
encodeFolderFilter__roles__
-
- Type:
-
NoneType
- Value:
|
manage_options
-
- Type:
-
tuple
- Value:
({'action': 'manage_main',
'help': ('OFSP', 'ObjectManager_Contents.stx'),
'label': 'Contents'},
{'action': '', 'help': ('OFSP', 'Folder_View.stx'), 'label': 'View'},
{'action': 'manage_propertiesForm',
'help': ('OFSP', 'Properties.stx'),
'label': 'Properties'},
{'action': 'manage_access',
...
|
|
meta_type
-
- Type:
-
str
- Value:
|
meta_types
-
- Type:
-
tuple
- Value:
|
portal_type
-
- Type:
-
str
- Value:
|