from zExceptions import BadRequest from Products.ExternalMethod.ExternalMethod import ExternalMethod from Products.Archetypes.Extensions.utils import installTypes from Products.Archetypes.Extensions.utils import install_subskin from Products.Archetypes.config import TOOL_NAME as ARCHETYPETOOLNAME from Products.Archetypes.atapi import listTypes from Products..config import applicationRoles,defaultAddRoles from Products..config import product_globals as GLOBALS import appy.gen from appy.gen.plone25.installer import PloneInstaller catalogMap = {} appClasses = appClassNames = [] allClassNames = [] workflows = {} showPortlet = # ------------------------------------------------------------------------------ def install(self, reinstall=False): '''Installation of product ""''' ploneInstaller = PloneInstaller(reinstall, "", self, , appClasses, appClassNames, allClassNames, catalogMap, applicationRoles, defaultAddRoles, workflows, , showPortlet, globals()) return ploneInstaller.install() # ------------------------------------------------------------------------------ def uninstall(self, reinstall=False): '''Uninstallation of product ""''' ploneInstaller = PloneInstaller(reinstall, "", self, , appClasses, appClassNames, allClassNames, catalogMap, applicationRoles, defaultAddRoles, workflows, , showPortlet, globals()) return ploneInstaller.uninstall() # ------------------------------------------------------------------------------