2009-06-29 07:06:01 -05:00
|
|
|
<!codeHeader!>
|
|
|
|
from AccessControl import ClassSecurityInfo
|
2009-11-11 13:22:13 -06:00
|
|
|
from DateTime import DateTime
|
2009-06-29 07:06:01 -05:00
|
|
|
from Products.Archetypes.atapi import *
|
|
|
|
import Products.<!applicationName!>.config
|
2011-01-14 02:06:25 -06:00
|
|
|
from Products.CMFCore.utils import UniqueObject
|
2010-10-14 07:43:56 -05:00
|
|
|
from appy.gen.plone25.mixins import BaseMixin
|
2011-01-14 02:06:25 -06:00
|
|
|
from appy.gen.plone25.mixins.ToolMixin import ToolMixin
|
|
|
|
from Extensions.appyWrappers import <!genClassName!>_Wrapper
|
2009-06-29 07:06:01 -05:00
|
|
|
<!imports!>
|
|
|
|
class <!genClassName!>(<!parents!>):
|
|
|
|
'''<!classDoc!>'''
|
|
|
|
security = ClassSecurityInfo()
|
|
|
|
__implements__ = <!implements!>
|
|
|
|
archetype_name = '<!genClassName!>'
|
|
|
|
meta_type = '<!genClassName!>'
|
|
|
|
portal_type = '<!genClassName!>'
|
2011-01-14 02:06:25 -06:00
|
|
|
allowed_content_types = ()
|
2009-06-29 07:06:01 -05:00
|
|
|
filter_content_types = 0
|
2011-01-14 02:06:25 -06:00
|
|
|
global_allow = <!global_allow!>
|
2009-10-18 07:52:27 -05:00
|
|
|
immediate_view = 'skyn/view'
|
|
|
|
default_view = 'skyn/view'
|
2009-06-29 07:06:01 -05:00
|
|
|
suppl_views = ()
|
|
|
|
typeDescription = '<!genClassName!>'
|
2011-09-06 14:46:57 -05:00
|
|
|
typeDescMsgId = '<!genClassName!>'
|
2009-06-29 07:06:01 -05:00
|
|
|
i18nDomain = '<!applicationName!>'
|
|
|
|
wrapperClass = <!genClassName!>_Wrapper
|
2011-09-26 14:19:34 -05:00
|
|
|
schema = <!baseSchema!>.copy()
|
2011-01-14 02:06:25 -06:00
|
|
|
for elem in dir(<!baseMixin!>):
|
2009-08-11 04:01:17 -05:00
|
|
|
if not elem.startswith('__'): security.declarePublic(elem)
|
2011-01-14 02:06:25 -06:00
|
|
|
<!static!>
|
2009-06-29 07:06:01 -05:00
|
|
|
<!commonMethods!>
|
|
|
|
<!methods!>
|
|
|
|
<!register!>
|