pyams_content.shared.site package¶
+Subpackages¶
+-
+
- pyams_content.shared.site.interfaces package + +
- pyams_content.shared.site.zmi package + +
Submodules¶
+pyams_content.shared.site.container module¶
+ + +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.link module¶
+-
+
-
+class
pyams_content.shared.site.link.
ContentLink
¶
+ Bases:
+persistent.Persistent
,zope.container.contained.Contained
Content link persistent class
+A ‘content link’ is a link to another content, which may be stored anywhere (same site, +another site or in any shared tool).
+-
+
-
+
alt_title
¶
+ 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.
+
-
+
-
+
get_target
()¶
+
-
+
-
+
is_deletable
()¶
+
-
+
-
+
reference
¶
+ 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.
+
-
+
-
+
visible
¶
+ 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.
+
-
+
-
+
-
+
pyams_content.shared.site.link.
content_link_publication_info
(context)¶
+ Content link publication info
+
-
+
-
+
pyams_content.shared.site.link.
content_link_sequence_info
(context)¶
+
-
+
-
+
pyams_content.shared.site.link.
content_link_state_info
(context)¶
+ Content link workflow state info
+
-
+
-
+
pyams_content.shared.site.link.
content_link_workflow_info
(context)¶
+ Content link workflow info
+
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
+ + +-
+
-
+
is_deletable
()¶
+
-
+
-
+
-
+class
pyams_content.shared.site.
WfTopic
¶
+ Bases:
+pyams_content.shared.common.WfSharedContent
Base topic
+-
+
-
+
content_name
= 'Topic'¶
+
-
+
-
+
content_type
= 'topic'¶
+
-
+