src/pyams_content/shared/common/types.py
changeset 1384 cdf63a1c7dc9
parent 1354 1816388f2887
child 1446 952fcf8af9f9
equal deleted inserted replaced
1383:2cfeb340dacf 1384:cdf63a1c7dc9
    85 
    85 
    86     edit_permission = MANAGE_TOOL_PERMISSION
    86     edit_permission = MANAGE_TOOL_PERMISSION
    87 
    87 
    88 
    88 
    89 @implementer(ITypedSharedTool)
    89 @implementer(ITypedSharedTool)
    90 class TypedSharedTool(SharedTool):
    90 class TypedSharedToolMixin(object):
    91     """Typed shared tool"""
    91     """Typed shared tool"""
    92 
    92 
    93     shared_content_types_fields = None
    93     shared_content_types_fields = None
    94 
    94 
    95 
    95 
   119 #
   119 #
   120 # Typed shared content
   120 # Typed shared content
   121 #
   121 #
   122 
   122 
   123 @implementer(IWfTypedSharedContent)
   123 @implementer(IWfTypedSharedContent)
   124 class WfTypedSharedContent(WfSharedContent):
   124 class WfTypedSharedContentMixin(object):
   125     """Typed shared content"""
   125     """Typed shared content"""
   126 
   126 
   127     data_type = FieldProperty(IWfTypedSharedContent['data_type'])
   127     data_type = FieldProperty(IWfTypedSharedContent['data_type'])
   128 
   128 
   129     def get_data_type(self):
   129     def get_data_type(self):