Commit 90e36bef authored by Jérome Perrin's avatar Jérome Perrin

add acquired membership method in the interface


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@26555 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 8a77c8b4
......@@ -33,9 +33,12 @@ class ICategoryAccessProvider(Interface):
This interface defines the methods which must be implemented
by a class in order to support Category accessors.
"""
def _getCategoryMembershipList(category, spec=(), filter=None, portal_type=(), base=0,
keep_default=1, checked_permission=None, **kw):
def _getAcquiredCategoryMembershipList(category, spec=(), filter=None,
portal_type=(), base=0, keep_default=1, checked_permission=None, **kw):
"""
Returns the membership for this category, with acquired membership.
spec --
filter --
......@@ -49,7 +52,20 @@ class ICategoryAccessProvider(Interface):
kw --
"""
def _getCategoryMembershipList(category, spec=(), filter=None, portal_type=(), base=0,
keep_default=1, checked_permission=None, **kw):
"""
Returns the membership for this category, without acquired membership.
"""
def _getDefaultCategoryMembership(category, spec=(), filter=None, portal_type=(), base=0,
checked_permission=None, **kw):
"""
Returns the default membership for this category, without acquisition.
"""
def _getDefaultAcquiredCategoryMembership(category, spec=(), filter=None, portal_type=(), base=0,
checked_permission=None, **kw):
"""
Returns the default membership for this category, with acquisition.
"""
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