pyams_content.component.association package¶
-Subpackages¶
- -Submodules¶
-pyams_content.component.association.container module¶
--
-
-
-class
pyams_content.component.association.container.
AssociationContainer
¶
- Bases:
-zope.container.ordered.OrderedContainer
Associations container
--
-
-
-
append
(value, notify=True)¶
-
-
-
-
-
last_id
= 1¶
-
-
-
-
-
-
-class
pyams_content.component.association.container.
AssociationContainerNamespace
(context)¶
- Bases:
-pyams_utils.adapter.ContextAdapter
Associations container ++ass++ namespace
--
-
-
-
traverse
(name, furtherpath=None)¶
-
-
-
-
-
-
-class
pyams_content.component.association.container.
AssociationContainerSublocations
(context)¶
- Bases:
-pyams_utils.adapter.ContextAdapter
Associations container sub-locations adapter
--
-
-
-
sublocations
()¶
-
-
-
-
-
-
-class
pyams_content.component.association.container.
AssociationsContentChecker
(context)¶
- Bases:
-pyams_content.features.checker.BaseContentChecker
Associations content checker
--
-
-
-
inner_check
(request)¶
-
-
-
-
-
label
= 'Associations'¶
-
-
-
-
-
sep
= '\n'¶
-
-
-
-
-
weight
= 100¶
-
-
-
-
-
-
-class
pyams_content.component.association.container.
ContentAssociationsVocabulary
(context=None)¶
- Bases:
-zope.schema.vocabulary.SimpleVocabulary
Content associations vocabulary
-
-
-
-
-
pyams_content.component.association.container.
association_container_factory
(target)¶
- Associations container factory
-
pyams_content.component.association.paragraph module¶
--
-
-
-class
pyams_content.component.association.paragraph.
AssociationParagraph
¶
- Bases:
-pyams_content.component.paragraph.BaseParagraph
Associations paragraph
--
-
-
-
icon_class
= 'fa-link'¶
-
-
-
-
-
icon_hint
= 'Associations paragraph'¶
-
-
-
-
-
-
-class
pyams_content.component.association.paragraph.
AssociationParagraphContentChecker
(context)¶
- Bases:
-pyams_content.component.paragraph.BaseParagraphContentChecker
Associations paragraph content checker
--
-
-
-
inner_check
(request)¶
-
-
-
-
-
label
¶
-
-
-
-
-
-
-class
pyams_content.component.association.paragraph.
AssociationParagraphFactory
¶
- Bases:
-object
Associations paragraph factory
--
-
-
-
content_type
¶
- alias of
-AssociationParagraph
-
-
-
-
name
= 'Associations paragraph'¶
-
-
-
Module contents¶
--
-
-
-class
pyams_content.component.association.
AssociationItem
¶
- Bases:
-persistent.Persistent
,zope.container.contained.Contained
Base association item persistent class
--
-
-
-
get_url
(request=None, view_name=None)¶
-
-
-
-
-
icon_class
= ''¶
-
-
-
-
-
icon_hint
= ''¶
-
-
-
-
-
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.
-
-
-
-
-
-
-class
pyams_content.component.association.
AssociationItemPermissionChecker
(context)¶
- Bases:
-pyams_utils.adapter.ContextAdapter
Association item permission checker
--
-
-
-
edit_permission
¶
-
-
-
-
-
-
-
pyams_content.component.association.
handle_added_association
(event)¶
- Handle added association item
-
-
-
-
-
pyams_content.component.association.
handle_modified_association
(event)¶
- Handle modified association item
-
-
-
-
-
pyams_content.component.association.
handle_removed_association
(event)¶
- Handle removed association item
-