+ +
+

pyams_content.shared.site package

+ +
+

Submodules

+
+
+

pyams_content.shared.site.container module

+
+
+class pyams_content.shared.site.container.SiteContainerMixin
+

Bases: object

+

Site container mixin class

+
+
+get_folders_tree(selected=None, permission=None)
+
+ +
+ +
+
+

pyams_content.shared.site.folder module

+
+
+class pyams_content.shared.site.folder.SiteFolder
+

Bases: pyams_content.shared.site.container.SiteContainerMixin, zope.container.ordered.OrderedContainer, pyams_content.shared.common.manager.BaseSharedTool

+

Site folder persistent class

+
+
+is_deletable()
+
+ +
+
+notepad
+

Computed attributes based on schema fields

+

Field properties provide default values, data validation and error messages +based on data found in field meta-data.

+

Note that FieldProperties cannot be used with slots. They can only +be used for attributes stored in instance dictionaries.

+
+ +
+
+roles_interface = <InterfaceClass pyams_content.shared.site.interfaces.ISiteFolderRoles>
+
+ +
+
+sequence_name = ''
+
+ +
+
+sequence_prefix = ''
+
+ +
+ +
+
+class pyams_content.shared.site.folder.SiteFolderPermissionChecker(context)
+

Bases: pyams_utils.adapter.ContextAdapter

+

Site folder edit permission checker

+
+
+edit_permission = 'pyams.ManageSite'
+
+ +
+ +
+
+class pyams_content.shared.site.folder.SiteManagerFoldersVocabulary(context)
+

Bases: zope.schema.vocabulary.SimpleVocabulary

+

Site manager folders vocabulary

+
+ +
+ +
+

pyams_content.shared.site.manager module

+
+
+class pyams_content.shared.site.manager.SiteManager
+

Bases: pyams_content.shared.site.container.SiteContainerMixin, zope.container.ordered.OrderedContainer, pyams_content.shared.common.manager.BaseSharedTool, pyams_skin.skin.UserSkinnableContent

+

Site manager persistent class

+
+
+allowed_paragraphs
+

Computed attributes based on schema fields

+

Field properties provide default values, data validation and error messages +based on data found in field meta-data.

+

Note that FieldProperties cannot be used with slots. They can only +be used for attributes stored in instance dictionaries.

+
+ +
+
+auto_created_paragraphs
+

Computed attributes based on schema fields

+

Field properties provide default values, data validation and error messages +based on data found in field meta-data.

+

Note that FieldProperties cannot be used with slots. They can only +be used for attributes stored in instance dictionaries.

+
+ +
+
+folder_factory
+

alias of SiteFolder

+
+ +
+
+is_deletable()
+
+ +
+
+sequence_name = ''
+
+ +
+
+sequence_prefix = ''
+
+ +
+
+topic_content_factory
+

alias of Topic

+
+ +
+
+topic_content_type = 'topic'
+
+ +
+ +
+
+class pyams_content.shared.site.manager.SiteManagerPermissionChecker(context)
+

Bases: pyams_utils.adapter.ContextAdapter

+

Site manager edit permission checker

+
+
+edit_permission = 'pyams.ManageSite'
+
+ +
+ +
+
+class pyams_content.shared.site.manager.SiteManagerVocabulary(context)
+

Bases: zope.schema.vocabulary.SimpleVocabulary

+

Site manager vocabulary

+
+
+interface = <InterfaceClass pyams_content.shared.site.interfaces.ISiteManager>
+
+ +
+ +
+
+pyams_content.shared.site.manager.handle_added_site_manager(event)
+

Register site manager when added

+
+ +
+
+pyams_content.shared.site.manager.handle_deleted_site_manager(event)
+

Un-register site manager when deleted

+
+ +
+
+

Module contents

+
+
+class pyams_content.shared.site.Topic
+

Bases: pyams_content.shared.common.SharedContent

+

WOrkflow managed topic class

+
+
+content_class
+

alias of WfTopic

+
+ +
+
+is_deletable()
+
+ +
+ +
+
+class pyams_content.shared.site.WfTopic
+

Bases: pyams_content.shared.common.WfSharedContent

+

Base topic

+
+
+content_name = 'Topic'
+
+ +
+
+content_type = 'topic'
+
+ +
+ +
+
+ + +