--- a/src/pyams_content/shared/resource/__init__.py Wed Nov 06 16:54:59 2019 +0100
+++ b/src/pyams_content/shared/resource/__init__.py Tue Nov 19 16:39:10 2019 +0100
@@ -10,31 +10,33 @@
# FOR A PARTICULAR PURPOSE.
#
-__docformat__ = 'restructuredtext'
-
from persistent import Persistent
from zope.container.contained import Contained
from zope.interface import implementer, provider
from zope.schema.fieldproperty import FieldProperty
-from pyams_content.component.illustration.interfaces import IIllustrationTarget, ILinkIllustrationTarget
+from pyams_content.component.illustration.interfaces import IIllustrationTarget, \
+ ILinkIllustrationTarget
from pyams_content.component.paragraph.interfaces import IParagraphContainerTarget
from pyams_content.component.theme.interfaces import ICollectionsTarget, ITagsTarget, IThemesTarget
from pyams_content.features.preview.interfaces import IPreviewTarget
from pyams_content.features.review.interfaces import IReviewTarget
-from pyams_content.shared.common import SharedContent, register_content_type
+from pyams_content.shared.common import SharedContent, WfSharedContent, register_content_type
from pyams_content.shared.common.interfaces import IWfSharedContentFactory
-from pyams_content.shared.common.types import WfTypedSharedContent
-from pyams_content.shared.resource.interfaces import IResource, IResourceInfo, IWfResource, IWfResourceFactory, \
- RESOURCE_CONTENT_NAME, RESOURCE_CONTENT_TYPE, RESOURCE_INFO_ANNOTATIONS_KEY
+from pyams_content.shared.common.types import WfTypedSharedContentMixin
+from pyams_content.shared.resource.interfaces import IResource, IResourceInfo, IWfResource, \
+ IWfResourceFactory, RESOURCE_CONTENT_NAME, RESOURCE_CONTENT_TYPE, RESOURCE_INFO_ANNOTATIONS_KEY
from pyams_content.shared.resource.schema import IAgeRange
from pyams_utils.adapter import adapter_config, get_annotation_adapter
from pyams_utils.factory import factory_config
+__docformat__ = 'restructuredtext'
+
+
@implementer(IWfResource, IIllustrationTarget, ILinkIllustrationTarget, IParagraphContainerTarget,
ITagsTarget, ICollectionsTarget, IThemesTarget, IPreviewTarget, IReviewTarget)
-class WfResource(WfTypedSharedContent):
+class WfResource(WfSharedContent, WfTypedSharedContentMixin):
"""Resource class"""
content_type = RESOURCE_CONTENT_TYPE