Commit bc7bc15c authored by Jérome Perrin's avatar Jérome Perrin

this experimental way of doing has been dropped in favour of IArrowBase


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@28772 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent bb28724c
......@@ -1104,33 +1104,3 @@ class Movement(XMLObject, Amount):
"""
return (self, )
# Experimental Arrow Interface (will be improved in the future)
security.declareProtected(Permissions.AccessContentsInformation, 'getSourceArrowList')
def getSourceArrowList(self, context=None):
# Naive implementation - XXX
return self._getCategoryMembershipList(self, ('source', 'source_section', 'source_project',
'source_trade', 'source_function', ))
security.declareProtected(Permissions.AccessContentsInformation, 'getDestinationArrowList')
def getDestinationArrowList(self, context=None):
# Naive implementation - XXX
return self._getCategoryMembershipList(self, ('destination', 'destination_section',
'destination_project',
'destination_trade', 'destination_function', ))
security.declareProtected(Permissions.ModifyPortalContent, 'setSourceArrowList')
def setSourceArrowList(self, path):
# Naive implementation - XXX
self.setCategoryMembership(('source', 'source_section', 'source_project',
'source_trade', 'source_function', ),
path)
security.declareProtected(Permissions.ModifyPortalContent, 'setDestinationArrowList')
def setDestinationArrowList(self, path):
# Naive implementation - XXX
self.setCategoryMembership(('destination', 'destination_section',
'destination_project',
'destination_trade', 'destination_function', ),
path)
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