Ignore:
Timestamp:
Jan 29, 2010 12:47:24 PM (14 years ago)
Author:
mylan
Message:

Updated constructor section for possibility to construct not only CMF objects, registered in fti

File:
1 edited

Legend:

Unmodified
Added
Removed
  • quintagroup.transmogrifier/branches/ofs/quintagroup/transmogrifier/interfaces.py

    r277 r1604  
    1616        """ Correct data given in 'data' argument and return it. 
    1717        """ 
     18 
     19class IFTIConstructor4MetaType(Interface): 
     20    """FTI utility analogy for constuct instance for not CMF objects""" 
     21 
     22    def _constructInstance(self, container, id, *args, **kw): 
     23        """Build a bare instance of the appropriate type. 
     24        Does not do any security checks. 
     25        Returns the object without calling _finishConstruction(). 
     26        """ 
     27 
     28    def _finishConstruction(obj): 
     29        """Finish the construction of a content object. 
     30        Set its portal_type, insert it into the workflows. 
     31        """ 
Note: See TracChangeset for help on using the changeset viewer.