Back to index

plone3  3.1.7
Public Member Functions | Public Attributes | Static Public Attributes
plone.app.iterate.relation.CheckinCheckoutReferenceAdapter Class Reference
Collaboration diagram for plone.app.iterate.relation.CheckinCheckoutReferenceAdapter:
Collaboration graph
[legend]

List of all members.

Public Member Functions

def __init__
def checkout
def checkin

Public Attributes

 context

Static Public Attributes

string storage_key = "coci.references"
 checkoutBackReferences = checkinBackReferencescheckin

Detailed Description

default adapter for references.

on checkout

forward refs on baseline are copied to wc
backward refs on baseline are ignored on wc

on checkin

forward refs on wc are kept
backwards refs on wc are kept

forward refs on baseline get removed
backward refs on baseline are kept by virtue of UID transferance

Definition at line 49 of file relation.py.


Constructor & Destructor Documentation

Definition at line 73 of file relation.py.

00073 
00074     def __init__(self, context ):
00075         self.context = context
    

Here is the caller graph for this function:


Member Function Documentation

Definition at line 80 of file relation.py.

00080 
00081     def checkin( self, *args ):
00082         pass

def plone.app.iterate.relation.CheckinCheckoutReferenceAdapter.checkout (   self,
  baseline,
  wc,
  refs,
  storage 
)

Definition at line 76 of file relation.py.

00076 
00077     def checkout( self, baseline, wc, refs, storage ):
00078         for ref in refs:
00079             wc.addReference( ref.targetUID, ref.relationship, referenceClass=ref.__class__ )
            

Member Data Documentation

Definition at line 83 of file relation.py.

Definition at line 74 of file relation.py.

Definition at line 71 of file relation.py.


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