From e90f2dd55e6d54adfd0de68c70275574cdf7b361 Mon Sep 17 00:00:00 2001
From: Jean-Paul Smets <jp@nexedi.com>
Date: Mon, 19 Oct 2009 18:16:24 +0000
Subject: [PATCH] Added getStandardFileName method

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@29818 20353a03-c40f-0410-a6d1-a30d3c3de9de
---
 product/ERP5/interfaces/downloadable.py | 10 ++++++++--
 1 file changed, 8 insertions(+), 2 deletions(-)

diff --git a/product/ERP5/interfaces/downloadable.py b/product/ERP5/interfaces/downloadable.py
index 80337b2b75..2de4acaf96 100644
--- a/product/ERP5/interfaces/downloadable.py
+++ b/product/ERP5/interfaces/downloadable.py
@@ -33,7 +33,7 @@ class IDownloadable(Interface):
   """
   Downloadable interface specification
 
-  Documents which implement the IDownloadable can be downloaded
+  Documents which implement IDownloadable can be downloaded
   directly from their URL using any format specified as a parameter.
   """
 
@@ -51,4 +51,10 @@ class IDownloadable(Interface):
 
     kw -- optional conversion parameters
     """
- 
\ No newline at end of file
+
+  def getStandardFileName():
+    """
+    Returns a standard file name for the document to download.
+    This method is the reverse of
+    IMetadataDiscoverable.getPropertyDictFromFileName.
+    """ 
\ No newline at end of file
-- 
2.30.9