src/ztfy/utils/interfaces.py
branchZTK-1.1
changeset 176 a7275e2a9252
parent 174 380f23a1587e
child 177 b9ad5a9614c4
--- a/src/ztfy/utils/interfaces.py	Mon Sep 24 19:42:40 2012 +0200
+++ b/src/ztfy/utils/interfaces.py	Mon Sep 24 19:42:56 2012 +0200
@@ -24,7 +24,7 @@
 
 # import Zope3 packages
 from zope.interface import Interface
-from zope.schema import TextLine, Int, Password
+from zope.schema import TextLine, Int, Password, Bool
 
 # import local packages
 
@@ -179,6 +179,16 @@
                             description=_("Realm name on ZEO server"),
                             required=False)
 
+    blob_dir = TextLine(title=_("BLOBs directory"),
+                        description=_("Directory path for blob data"),
+                        required=False)
+
+    shared_blob_dir = Bool(title=_("Shared BLOBs directory ?"),
+                           description=_("""Flag whether the blob_dir is a server-shared filesystem """
+                                         """that should be used instead of transferring blob data over zrpc."""),
+                           required=True,
+                           default=False)
+
     def getSettings(self):
         """Get ZEO connection setting as a JSON dict"""