Commit 48ba5da4 authored by Julien Muchembled's avatar Julien Muchembled

Move ERP5Type.getTypeClass method elsewhere so that above comment remains useful

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@38851 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 485455d0
......@@ -414,6 +414,12 @@ class ERP5TypeInformation(XMLObject,
"""Getter for 'type_property_sheet' property"""
return list(self.property_sheet_list)
security.declareProtected(Permissions.AccessContentsInformation,
'getTypeBaseCategoryList')
def getTypeBaseCategoryList(self):
"""Getter for 'type_base_category' property"""
return list(self.base_category_list)
security.declareProtected(Permissions.AccessContentsInformation,
'getTypeClass')
def getTypeClass(self):
......@@ -429,12 +435,6 @@ class ERP5TypeInformation(XMLObject,
self.setTypeClass(base)
return base
security.declareProtected(Permissions.AccessContentsInformation,
'getTypeBaseCategoryList')
def getTypeBaseCategoryList(self):
"""Getter for 'type_base_category' property"""
return list(self.base_category_list)
security.declareProtected(Permissions.AccessContentsInformation,
'getInstanceBaseCategoryList')
def getInstanceBaseCategoryList(self):
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment