[Zope3-checkins] CVS: Zope3/src/zope/app/interfaces - fssync.py:1.6

Fred L. Drake, Jr. fred at zope.com
Tue Jan 13 14:32:53 EST 2004


Update of /cvs-repository/Zope3/src/zope/app/interfaces
In directory cvs.zope.org:/tmp/cvs-serv19335/src/zope/app/interfaces

Modified Files:
	fssync.py 
Log Message:
rename z.a.fssync.classes to z.fssync.entryadapter


=== Zope3/src/zope/app/interfaces/fssync.py 1.5 => 1.6 ===
--- Zope3/src/zope/app/interfaces/fssync.py:1.5	Sun Aug 17 02:07:02 2003
+++ Zope3/src/zope/app/interfaces/fssync.py	Tue Jan 13 14:32:22 2004
@@ -19,71 +19,6 @@
 from zope.interface import Interface
 
 
-class IObjectEntry(Interface):
-    """File-system object representation."""
-
-    def extra():
-        """Return extra data for the entry.
-
-        The data are returned as a mapping object that allows *both*
-        data retrieval and setting.  The mapping is from names to
-        objects that will be serialized to or from the file system.
-        """
-
-    def annotations():
-        """Returns annotations data for the entry.
-
-        This behaves similar to extra().  The default implementation
-        might return queryAdapter(obj, IAnnotations).
-        """
-
-    def typeIdentifier():
-        """Return a dotted name that identifies the object type.
-
-        This is typically a dotted class name.
-
-        This is used when synchronizing from the file system to the
-        database to decide whether the existing object and the new
-        object are of the same type.
-        """
-
-    def factory():
-        """Return the dotted name of a factory to recreate an empty entry.
-
-        The factory will be called with no arguments. It is usually
-        the dotted name of the object class.
-        """
-
-
-class IObjectFile(IObjectEntry):
-    """File-system object representation for file-like objects."""
-
-    def getBody():
-        """Return the file body."""
-
-    def setBody(body):
-        """Change the file body."""
-
-
-class IObjectDirectory(IObjectEntry):
-    """File-system object representation for directory-like objects."""
-
-    def contents():
-        """Return the contents.
-
-        A sequence of name, value object are returned. The value in each
-        pair will be syncronized.
-        """
-
-
-class IContentDirectory(IObjectDirectory):
-    """Marker interface for synchronization of content containers.
-
-    Any container type object should implement this interface
-    verifying if the objects are of container types.
-    """
-
-
 class IFSSyncService(Interface):
     """Lookup file-system representation adapters."""
 




More information about the Zope3-Checkins mailing list