from AccessControl import ClassSecurityInfo from Products.Archetypes.atapi import * import Products..config from appy.gen.plone25.mixins.PodTemplateMixin import PodTemplateMixin from Extensions.appyWrappers import schema = Schema(( ),) fullSchema = BaseSchema.copy() + schema.copy() class PodTemplate(BaseContent, PodTemplateMixin): '''POD template.''' security = ClassSecurityInfo() __implements__ = (getattr(BaseContent,'__implements__',()),) archetype_name = 'PodTemplate' meta_type = 'PodTemplate' portal_type = 'PodTemplate' allowed_content_types = [] filter_content_types = 0 global_allow = 1 #content_icon = 'PodTemplate.gif' immediate_view = '_appy_view' default_view = '_appy_view' suppl_views = () typeDescription = "PodTemplate" typeDescMsgId = '_edit_descr' _at_rename_after_creation = True wrapperClass = schema = fullSchema for elem in dir(PodTemplateMixin): if not elem.startswith('__'): security.declarePublic(elem) registerType(PodTemplate, '')