Back to index

plone3  3.1.7
Public Member Functions
Archetypes.interfaces._referenceengine.IContentReference Class Reference
Inheritance diagram for Archetypes.interfaces._referenceengine.IContentReference:
Inheritance graph
[legend]
Collaboration diagram for Archetypes.interfaces._referenceengine.IContentReference:
Collaboration graph
[legend]

List of all members.

Public Member Functions

def getContentObject
def UID
def getSourceObject
def getTargetObject
def targetId
def targetTitle
def addHook
def delHook
def beforeTargetDeleteInformSource
 OFS Operations Policy Hooks These Hooks are experimental and subject to change.
def beforeSourceDeleteInformTarget

Detailed Description

Subclass of Reference to support contentish objects inside references 

Definition at line 48 of file _referenceengine.py.


Member Function Documentation

def Archetypes.interfaces._referenceengine.IReference.addHook (   tool,
  sourceObject = None,
  targetObject = None 
) [inherited]
gets called after reference object has been annotated to the object
to reject the reference being added raise a ReferenceException 

Definition at line 25 of file _referenceengine.py.

00025 
00026     def addHook(tool, sourceObject=None, targetObject=None):
00027         """gets called after reference object has been annotated to the object
00028         to reject the reference being added raise a ReferenceException """

called when the refering source Object is
about to be deleted

Definition at line 40 of file _referenceengine.py.

00040 
00041     def beforeSourceDeleteInformTarget():
00042         """called when the refering source Object is
00043         about to be deleted"""

OFS Operations Policy Hooks These Hooks are experimental and subject to change.

called before target object is deleted so
the source can have a say

Definition at line 36 of file _referenceengine.py.

00036 
00037     def beforeTargetDeleteInformSource():
00038         """called before target object is deleted so
00039         the source can have a say"""

def Archetypes.interfaces._referenceengine.IReference.delHook (   tool,
  sourceObject = None,
  targetObject = None 
) [inherited]
gets called before reference object gets deleted
to reject the delete raise a ReferenceException 

Definition at line 29 of file _referenceengine.py.

00029 
00030     def delHook(tool, sourceObject=None, targetObject=None):
00031         """gets called before reference object gets deleted
00032         to reject the delete raise a ReferenceException """

Subclass of Reference to support contentish objects inside references 
gives the contentish object attached to the reference

Definition at line 51 of file _referenceengine.py.

00051 
00052     def getContentObject():
00053         """ gives the contentish object attached to the reference"""

returns the source end as object 

Definition at line 10 of file _referenceengine.py.

00010 
00011     def getSourceObject():
00012         """ returns the source end as object """

Here is the caller graph for this function:

returns the source end as object 

Definition at line 13 of file _referenceengine.py.

00013 
00014     def getTargetObject():
00015         """ returns the source end as object """

Here is the caller graph for this function:

gives the id of the target object 

Definition at line 17 of file _referenceengine.py.

00017 
00018     def targetId():
00019         """ gives the id of the target object """

gives the title of the target object 

Definition at line 20 of file _referenceengine.py.

00020 
00021     def targetTitle():
00022         """ gives the title of the target object """
00023 

Reference 
the uid method for compat

Definition at line 6 of file _referenceengine.py.

00006 
00007     def UID():
00008         """the uid method for compat"""

Here is the caller graph for this function:


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