Back to index

plone3  3.1.7
Public Member Functions
ZopeVersionControl.IVersionControl.INonVersionedData Class Reference
Inheritance diagram for ZopeVersionControl.IVersionControl.INonVersionedData:
Inheritance graph
[legend]
Collaboration diagram for ZopeVersionControl.IVersionControl.INonVersionedData:
Collaboration graph
[legend]

List of all members.

Public Member Functions

def listNonVersionedObjects
def removeNonVersionedData
def getNonVersionedData
def restoreNonVersionedData

Detailed Description

Controls what parts of an object fall outside version control.

Containerish objects implement this interface to allow the items they
contain to be versioned independently of the container.

Definition at line 232 of file IVersionControl.py.


Member Function Documentation

Returns an opaque object containing the non-versioned data.

The version repository uses this method before reverting an
object to a revision.

Definition at line 255 of file IVersionControl.py.

00255 
00256     def getNonVersionedData():
00257         """Returns an opaque object containing the non-versioned data.
00258 
00259         The version repository uses this method before reverting an
00260         object to a revision.
00261         """

Here is the caller graph for this function:

Controls what parts of an object fall outside version control.

Containerish objects implement this interface to allow the items they
contain to be versioned independently of the container.
Returns a list of subobjects that should not be pickled.

The objects in the list must not be wrapped, because only the
identity of the objects will be considered.  The version
repository uses this method to avoid cloning subobjects that
will soon be removed by removeNonVersionedData.

Definition at line 239 of file IVersionControl.py.

00239 
00240     def listNonVersionedObjects():
00241         """Returns a list of subobjects that should not be pickled.
00242 
00243         The objects in the list must not be wrapped, because only the
00244         identity of the objects will be considered.  The version
00245         repository uses this method to avoid cloning subobjects that
00246         will soon be removed by removeNonVersionedData.
00247         """

Removes the non-versioned data from this object.

The version repository uses this method before storing an
object in the version repository.

Definition at line 248 of file IVersionControl.py.

00248 
00249     def removeNonVersionedData():
00250         """Removes the non-versioned data from this object.
00251 
00252         The version repository uses this method before storing an
00253         object in the version repository.
00254         """

Restores non-versioned data to this object.

The version repository uses this method after reverting an
object to a revision.

Definition at line 262 of file IVersionControl.py.

00262 
00263     def restoreNonVersionedData(dict):
00264         """Restores non-versioned data to this object.
00265 
00266         The version repository uses this method after reverting an
00267         object to a revision.
00268         """


The documentation for this class was generated from the following file: