Back to index

plone3  3.1.7
Public Member Functions | Static Public Attributes
wicked.interfaces.IATBacklinkManager Class Reference
Inheritance diagram for wicked.interfaces.IATBacklinkManager:
Inheritance graph
[legend]
Collaboration diagram for wicked.interfaces.IATBacklinkManager:
Collaboration graph
[legend]

List of all members.

Public Member Functions

def manageLinks
def addLinks
def getLinks
def set
def remove
def removeLinks

Static Public Attributes

tuple relation = Attribute( """Name of Archetype relationship. Used to retrievebacklinks from reference engine""")

Detailed Description

A manager for Archetypes reference (aka smart pointer) based backlinka 

Definition at line 96 of file interfaces.py.


Member Function Documentation

def wicked.interfaces.IBacklinkManager.addLinks (   links,
  scope,
  dups = [] 
) [inherited]
retrieves brains, and sets backlinks for a colletion
wicked links.  will filter against identifiers(UIDs)
in dups (this allow chaining with removelinks, which
returns duplicate links)

Definition at line 64 of file interfaces.py.

00064 
00065     def addLinks(links, scope, dups=[]):
00066         """
00067         retrieves brains, and sets backlinks for a colletion
00068         wicked links.  will filter against identifiers(UIDs)
00069         in dups (this allow chaining with removelinks, which
00070         returns duplicate links)
00071         """
        
returns all current backlinks

Definition at line 72 of file interfaces.py.

00072 
00073     def getLinks():
00074         """
00075         returns all current backlinks
00076         """
        

Here is the caller graph for this function:

removes old links adds new

Definition at line 59 of file interfaces.py.

00059 
00060     def manageLinks():
00061         """
00062         removes old links adds new
00063         """

def wicked.interfaces.IBacklinkManager.remove (   brain) [inherited]
does the actual backlink removal and cache unsetting

Definition at line 83 of file interfaces.py.

00083 
00084     def remove(brain):
00085         """
00086         does the actual backlink removal and cache unsetting
00087         """

def wicked.interfaces.IBacklinkManager.removeLinks (   exclude = tuple()) [inherited]
iterates over a list of brain representing existing backlink
and executes backlink deletion if not included in exclude

@exclude: list of strings 'links' not to erase

Definition at line 88 of file interfaces.py.

00088 
00089     def removeLinks(exclude=tuple()):
00090         """
00091         iterates over a list of brain representing existing backlink
00092         and executes backlink deletion if not included in exclude
00093         
00094         @exclude: list of strings 'links' not to erase
00095         """

def wicked.interfaces.IBacklinkManager.set (   brain,
  link 
) [inherited]
creates a backlink(a smart pointer pointing for the links target)
and caches link

Definition at line 77 of file interfaces.py.

00077 
00078     def set(brain, link):
00079         """
00080         creates a backlink(a smart pointer pointing for the links target)
00081         and caches link
00082         """
        

Here is the caller graph for this function:


Member Data Documentation

tuple wicked.interfaces.IATBacklinkManager.relation = Attribute( """Name of Archetype relationship. Used to retrievebacklinks from reference engine""") [static]
A manager for Archetypes reference (aka smart pointer) based backlinka 

Definition at line 100 of file interfaces.py.


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