equal
deleted
inserted
replaced
185 def download_file_name(self): |
185 def download_file_name(self): |
186 """return file name of the downloadable content""" |
186 """return file name of the downloadable content""" |
187 raise NotImplementedError |
187 raise NotImplementedError |
188 |
188 |
189 def download_data(self): |
189 def download_data(self): |
190 """return actual data of the downloadable content""" |
190 """return actual data (bytes) of the downloadable content""" |
191 raise NotImplementedError |
191 raise NotImplementedError |
192 |
192 |
193 # XXX should propose to use two different relations for children/parent |
193 # XXX should propose to use two different relations for children/parent |
194 class ITreeAdapter(view.EntityAdapter): |
194 class ITreeAdapter(view.EntityAdapter): |
195 """This adapter provides a tree interface. |
195 """This adapter provides a tree interface. |