Esempio n. 1
0
    def __init__(self,
                 id,
                 title='',
                 description='',
                 effective_date=None,
                 expiration_date=None,
                 start_date=None,
                 end_date=None,
                 location='',
                 contact_name='',
                 contact_email='',
                 contact_phone='',
                 event_url=''):
        DefaultDublinCoreImpl.__init__(self)
        self.id = id
        self.setTitle(title)
        self.setDescription(description)
        self.effective_date = effective_date
        self.expiration_date = expiration_date
        self.setStartDate(start_date)

        if start_date is None:
            start_date = DateTime()
        if end_date is None:
            end_date = start_date

        if end_date < start_date:
            end_date = start_date

        self.setEndDate(end_date)
        self.location = location
        self.contact_name = contact_name
        self.contact_email = contact_email
        self.contact_phone = contact_phone
        self.event_url = event_url
Esempio n. 2
0
 def __init__(self, id, title=''):
     """__init__(self, id, title='')"""
     DefaultDublinCoreImpl.__init__(self)
     self.id = id
     self.title = title
     self.description = ""
     return
Esempio n. 3
0
    def __init__(self,
                 id,
                 title='',
                 file='',
                 content_type='',
                 precondition='',
                 subject=(),
                 description='',
                 contributors=(),
                 effective_date=None,
                 expiration_date=None,
                 format=None,
                 language='en-US',
                 rights=''):
        OFS.Image.File.__init__(self, id, title, file, content_type,
                                precondition)
        self._setId(id)
        delattr(self, '__name__')

        # If no file format has been passed in, rely on what OFS.Image.File
        # detected.
        if format is None:
            format = self.content_type

        DefaultDublinCoreImpl.__init__(self, title, subject, description,
                                       contributors, effective_date,
                                       expiration_date, format, language,
                                       rights)
    def __init__(self, id, title=''):
        """__init__(self, id, title='')"""
        # NOTA : We shouldn't call parent's __init__ method as it would link to PortalFolder.__init__ and this
        # method sets 'self.id' and 'self.title' which is unuseful for us.

        DefaultDublinCoreImpl.__init__(self)
        self._internalVersion = 2
        self._subscribersCount = 0
        self.id = id
        self.default_format = 'HTML'
        self.title = title
        self.description = ''
        self.testEmail = ''
        self.authorEmail = ''
        self.replyto = ''
        self.notify = False
        self.renderTemplate = ''
        self._v_renderTemplate = None
        self.extraRecipients = ''
        self._v_extraRecipients = None
        self.subscriber_folder_id = ''
        self._new_object = True
        self.alternative_portal_url = None
        self.text_format=''
        self.text=''
        self.activationMailSubject = ''
        self.activationMailTemplate = ''
        self.newsletterFooter = ''
Esempio n. 5
0
 def __init__(self, id, title="", remote_url="", description=""):
     DefaultDublinCoreImpl.__init__(self)
     self.id = id
     self.title = title
     self.description = description
     self._edit(remote_url)
     self.format = self.URL_FORMAT
Esempio n. 6
0
    def __init__(self, id=None, **kwargs):
        OFSContainer.__init__(self, id, **kwargs)
        PortalFolderBase.__init__(self, id, **kwargs)
        DefaultDublinCoreImpl.__init__(self, **kwargs)

        if id is not None:
            self.id = id
Esempio n. 7
0
 def __init__(self, id, title='', remote_url='', description=''):
     DefaultDublinCoreImpl.__init__(self)
     self.id = id
     self.title = title
     self.description = description
     self._edit(remote_url)
     self.format = self.URL_FORMAT
Esempio n. 8
0
File: File.py Progetto: goschtl/zope
    def __init__( self
                , id
                , title=''
                , file=''
                , content_type=''
                , precondition=''
                , subject=()
                , description=''
                , contributors=()
                , effective_date=None
                , expiration_date=None
                , format=None
                , language='en-US'
                , rights=''
                ):
        OFS.Image.File.__init__( self, id, title, file
                               , content_type, precondition )
        self._setId(id)
        delattr(self, '__name__')

        # If no file format has been passed in, rely on what OFS.Image.File
        # detected. Unlike Images, which have code to try and pick the content
        # type out of the binary data, File objects only provide the correct
        # type if a "hint" in the form of a filename extension is given.
        if format is None:
            format = self.content_type 

        DefaultDublinCoreImpl.__init__( self, title, subject, description
                               , contributors, effective_date, expiration_date
                               , format, language, rights )
 def __init__(self, id, title=''):
     """__init__(self, id, title='')"""
     DefaultDublinCoreImpl.__init__(self)
     self.id = id
     self.title = title
     self.description = ""
     return
Esempio n. 10
0
    def __init__(self, id=None, **kwargs):
        OFSContainer.__init__(self, id, **kwargs)
        PortalFolderBase.__init__(self, id, **kwargs)
        DefaultDublinCoreImpl.__init__(self, **kwargs)

        if id is not None:
            self.id = id
Esempio n. 11
0
 def __init__(self, id, title='', description='', text_format='', text=''):
     DefaultDublinCoreImpl.__init__(self)
     self.id = id
     self.title = title
     self.description = description
     self.setFormat(text_format)
     self._edit(text)
Esempio n. 12
0
    def __init__(self, id, title=''):
        """__init__(self, id, title='')"""
        # NOTA : We shouldn't call parent's __init__ method as it would link to PortalFolder.__init__ and this
        # method sets 'self.id' and 'self.title' which is unuseful for us.

        global DEFAULT_ACTIVATION_TEMPLATE
        DefaultDublinCoreImpl.__init__(self)
        self._internalVersion = 2
        self._subscribersCount = 0
        self.id = id
        self.format_list = ['HTML', 'Text']
        self.default_format = 'HTML'
        self.title = title
        self.description = ''
        self.testEmail = ''
        self.authorEmail = ''
        self.replyto = ''
        self.activationMailSubject = DEFAULT_ACTIVATION_SUBJECT
        self.activationMailTemplate = DEFAULT_ACTIVATION_TEMPLATE
        self.newsletterHeader = DEFAULT_NEWSLETTER_HEADER
        self.newsletterFooter = DEFAULT_NEWSLETTER_FOOTER
        self.newsletterStyle = DEFAULT_NEWSLETTER_STYLE
        self.notify = False
        self.renderTemplate = ''
        self._v_renderTemplate = None
        self.extraRecipients = ''
        self._v_extraRecipients = None
        self.subscriber_folder_id = ''
        self._new_object = True
        self.alternative_portal_url = None
        return
Esempio n. 13
0
    def __init__(self
                 , id
                 , title=''
                 , description=''
                 , effective_date = None 
                 , expiration_date = None 
                 , start_date = DateTime()
                 , end_date = DateTime()
                 , location=''
                 , contact_name=''
                 , contact_email=''
                 , contact_phone=''
                 , event_url=''
                ):
        DefaultDublinCoreImpl.__init__(self)
        self.id=id
        self.setTitle(title)
        self.setDescription(description)
        self.effective_date = effective_date
        self.expiration_date = expiration_date
        self.setStartDate(start_date)
        
        if end_date < start_date:
            end_date = start_date

        self.setEndDate(end_date)
        self.location=location
        self.contact_name=contact_name
        self.contact_email=contact_email
        self.contact_phone=contact_phone
        self.event_url=event_url
Esempio n. 14
0
    def __init__( self
                , id
                , title=''
                , file=''
                , content_type=''
                , precondition=''
                , subject=()
                , description=''
                , contributors=()
                , effective_date=None
                , expiration_date=None
                , format=None
                , language='en-US'
                , rights=''
                ):
        OFS.Image.File.__init__( self, id, title, file
                               , content_type, precondition )
        self._setId(id)
        delattr(self, '__name__')

        # If no file format has been passed in, rely on what OFS.Image.File
        # detected.
        if format is None:
            format = self.content_type

        DefaultDublinCoreImpl.__init__( self, title, subject, description
                               , contributors, effective_date, expiration_date
                               , format, language, rights )
    def __init__(self, id, title=""):
        """__init__(self, id, title='')"""
        # NOTA : We shouldn't call parent's __init__ method as it would link to PortalFolder.__init__ and this
        # method sets 'self.id' and 'self.title' which is unuseful for us.

        global DEFAULT_ACTIVATION_TEMPLATE
        DefaultDublinCoreImpl.__init__(self)
        self._internalVersion = 2
        self._subscribersCount = 0
        self.id = id
        self.format_list = ["HTML", "Text"]
        self.default_format = "HTML"
        self.title = title
        self.description = ""
        self.testEmail = ""
        self.authorEmail = ""
        self.replyto = ""
        self.activationMailSubject = DEFAULT_ACTIVATION_SUBJECT
        self.activationMailTemplate = DEFAULT_ACTIVATION_TEMPLATE
        self.newsletterHeader = DEFAULT_NEWSLETTER_HEADER
        self.newsletterFooter = DEFAULT_NEWSLETTER_FOOTER
        self.newsletterStyle = DEFAULT_NEWSLETTER_STYLE
        self.notify = False
        self.renderTemplate = ""
        self._v_renderTemplate = None
        self.extraRecipients = ""
        self._v_extraRecipients = None
        self.subscriber_folder_id = ""
        self._new_object = True
        self.alternative_portal_url = None
        return
Esempio n. 16
0
    def __init__(self,
                 id,
                 title='',
                 file='',
                 content_type='',
                 precondition='',
                 subject=(),
                 description='',
                 contributors=(),
                 effective_date=None,
                 expiration_date=None,
                 format=None,
                 language='en-US',
                 rights=''):
        OFS.Image.File.__init__(self, id, title, file, content_type,
                                precondition)
        self._setId(id)
        delattr(self, '__name__')

        # If no file format has been passed in, rely on what OFS.Image.File
        # detected. Unlike Images, which have code to try and pick the content
        # type out of the binary data, File objects only provide the correct
        # type if a "hint" in the form of a filename extension is given.
        if format is None:
            format = self.content_type

        DefaultDublinCoreImpl.__init__(self, title, subject, description,
                                       contributors, effective_date,
                                       expiration_date, format, language,
                                       rights)
Esempio n. 17
0
 def __init__(self, id, title='', description='', text_format='', text=''):
     DefaultDublinCoreImpl.__init__(self)
     self.id = id
     self.title = title
     self.description = description
     self.setFormat(text_format)
     self._edit(text)
Esempio n. 18
0
    def __init__(self,
                 id, container, 
                 title='', description='',
                 submitter_id=None, submitter_name=None,
                 submitter_email=None,
                 kibitzers=None,
                 security_related=0,
                 topic=None, classification=None, importance=None, 
                 resolution=None,
                 version_info=None,
                 creation_date=None, modification_date=None,
                 effective_date=None, expiration_date=None,
                 assignees=None,
                 file=None, fileid=None, filetype=None,
                 invisible=0):
        """ """

        self.invisible = invisible
        SkinnedFolder.__init__(self, id, title)
        self._set_collector_path(container)

        mbtool = getToolByName(container, 'portal_membership')
        user = mbtool.getAuthenticatedMember()
        if submitter_id is None:
            submitter_id = str(user)
        self.submitter_id = submitter_id
        self.__of__(container)._set_submitter_specs(submitter_id,
                                                    submitter_name,
                                                    submitter_email)

        if kibitzers is None:
            kibitzers = ()
        self.kibitzers = kibitzers

        self.topic = topic
        self.classification = classification
        self.security_related = (security_related and 1) or 0
        self.importance = importance
        self.resolution = resolution
        self.version_info = version_info

        self.portal_type = 'Collector Issue'
        # 'contained' is for stuff that needs collector acquisition wrapping.
        container._setObject(id, self)
        contained = container._getOb(id)
        contained._setPortalTypeName('Collector Issue')
        DefaultDublinCoreImpl.__init__(contained,
                                       title=title, description=description,
                                       effective_date=effective_date,
                                       expiration_date=expiration_date)

        if modification_date:
            self._setModificationDate(DateTime(modification_date))
        wf = getToolByName(self, 'portal_workflow', None)
        if wf is not None:
            wf.notifyCreated(contained)
Esempio n. 19
0
    def __init__(self,
                 id, container, 
                 title='', description='',
                 submitter_id=None, submitter_name=None,
                 submitter_email=None,
                 kibitzers=None,
                 security_related=0,
                 topic=None, classification=None, importance=None, 
                 resolution=None,
                 version_info=None,
                 creation_date=None, modification_date=None,
                 effective_date=None, expiration_date=None,
                 assignees=None,
                 file=None, fileid=None, filetype=None,
                 invisible=0):
        """ """

        self.invisible = invisible
        SkinnedFolder.__init__(self, id, title)
        self._set_collector_path(container)

        mbtool = getToolByName(container, 'portal_membership')
        user = mbtool.getAuthenticatedMember()
        if submitter_id is None:
            submitter_id = str(user)
        self.submitter_id = submitter_id
        self.__of__(container)._set_submitter_specs(submitter_id,
                                                    submitter_name,
                                                    submitter_email)

        if kibitzers is None:
            kibitzers = ()
        self.kibitzers = kibitzers

        self.topic = topic
        self.classification = classification
        self.security_related = (security_related and 1) or 0
        self.importance = importance
        self.resolution = resolution
        self.version_info = version_info

        self.portal_type = 'Collector Issue'
        # 'contained' is for stuff that needs collector acquisition wrapping.
        container._setObject(id, self)
        contained = container._getOb(id)
        contained._setPortalTypeName('Collector Issue')
        DefaultDublinCoreImpl.__init__(contained,
                                       title=title, description=description,
                                       effective_date=effective_date,
                                       expiration_date=expiration_date)

        if modification_date:
            self._setModificationDate(DateTime(modification_date))
        wf = getToolByName(self, 'portal_workflow', None)
        if wf is not None:
            wf.notifyCreated(contained)
Esempio n. 20
0
 def __init__(self, id, title=''):
     """ChangeSet constructor"""
     DefaultDublinCoreImpl.__init__(self)
     self.id = id
     self.title = title
     self._diffs = []
     self._added = []
     self._removed = []
     self.ob1_path = []
     self.ob2_path = []
     self.recursive = 0
Esempio n. 21
0
 def __init__(self, id, title=''):
     """ChangeSet constructor"""
     DefaultDublinCoreImpl.__init__(self)
     self.id = id
     self.title = title
     self._diffs = []
     self._added = []
     self._removed = []
     self.ob1_path = []
     self.ob2_path = []
     self.recursive = 0
Esempio n. 22
0
 def __init__( self
             , id
             , title=''
             , remote_url=''
             , description=''
             ):
     DefaultDublinCoreImpl.__init__(self)
     self.id=id
     self.title=title
     self.remote_url=remote_url
     self.description = description
Esempio n. 23
0
 def __init__( self
             , id
             , title=''
             , remote_url=''
             , description=''
             ):
     DefaultDublinCoreImpl.__init__(self)
     self.id=id
     self.title=title
     self.remote_url=remote_url
     self.description = description
Esempio n. 24
0
    def __init__(self, id=None, **kwargs):
        dublin_kw = {}
        for arg in [ "title", "subject", "description", "contributors",
                     "effective_date", "expiration_date", "format", "language",
                     "rights"]:
            if arg in kwargs:
                dublin_kw[arg] = kwargs.pop(arg)

        CMFOrderedBTreeFolderBase.__init__(self, id)
        DefaultDublinCoreImpl.__init__(self, **dublin_kw)

        for (k,v) in kwargs.items():
            setattr(self, k, v)
Esempio n. 25
0
    def __init__(self, id, title=''):
        """__init__(self, id, title='')"""

        DefaultDublinCoreImpl.__init__(self)
        self.id = id
        self.title = title
        self.description = ''
        self.meta_types = []
        self.subjects = []
        self.sort_on = 'id'
        self.reverse = 0
        self.only_review_state = ''
        self.max_objects = None
        return
Esempio n. 26
0
    def __init__(self, id, title=''):
        """__init__(self, id, title='')"""

        DefaultDublinCoreImpl.__init__(self)
        self.id = id
        self.title = title
        self.description = ''
        self.meta_types = []
        self.subjects = []
        self.sort_on = 'id'
        self.reverse = 0
        self.only_review_state = ''
        self.max_objects = None
        return
Esempio n. 27
0
    def __init__(self, id=None, **kwargs):
        dublin_kw = {}
        for arg in [
                "title", "subject", "description", "contributors",
                "effective_date", "expiration_date", "format", "language",
                "rights"
        ]:
            if arg in kwargs:
                dublin_kw[arg] = kwargs.pop(arg)

        CMFOrderedBTreeFolderBase.__init__(self, id)
        DefaultDublinCoreImpl.__init__(self, **dublin_kw)

        for (k, v) in kwargs.items():
            setattr(self, k, v)
Esempio n. 28
0
    def __init__(self, id, title=''):
        """__init__(self, id, title='')"""
        # NOTE : We shouldn't call parent's __init__ method as it would link to PortalFolder.__init__ and this
        # method sets 'self.id' and 'self.title' which is unuseful for us.

        global DEFAULT_ACTIVATION_TEMPLATE
        global DEFAULT_UNSUBSCRIBE_TEMPLATE
        DefaultDublinCoreImpl.__init__(self)
        self._internalVersion = 2
        self._subscribersCount = 0
        self.id = id
        self.format_list = ['HTML', 'Text']
        self.default_format = 'HTML'
        self.title = title
        self.description = ''
        self.testEmail = ''
        self.authorEmail = ''
        self.replyto = ''
        self.activationMailSubject = DEFAULT_ACTIVATION_SUBJECT
        self.activationMailTemplate = DEFAULT_ACTIVATION_TEMPLATE
        self.newsletterFooter = DEFAULT_NEWSLETTER_FOOTER
        self.notify = False
        self.renderTemplate = ''
        self._v_renderTemplate = None
        self.extraRecipients = ''
        self._v_extraRecipients = None
        self.subscriber_folder_id = ''
        self.unsubscribeMailSubject = "You have been unsubscribed from this newsletter"
        self.unsubscribeMailTemplate = DEFAULT_UNSUBSCRIBE_TEMPLATE
        self.confirmMailSubject = "Please confirm your unsubscribe."
        self.confirmMailTemplate = DEFAULT_CONFIRM_TEMPLATE
        self._new_object = True
        self.alternative_portal_url = None
        self.utm_source = ''
        self.utm_medium = 'email'

        #bouncing subscribers support
        self.extra_filters = u""
        self.verp_prefix = u""
        self.automatic_cleanup = False
        self.removeNoticeMailSubject = "You have been automatically removed from this newsletter"
        self.removeNoticeTemplate = DEFAULT_REMOVE_NOTICE_TEMPLATE
        return
Esempio n. 29
0
    def __init__(self,
                 id,
                 title='',
                 description='',
                 effective_date=None,
                 expiration_date=None,
                 start_date=None,
                 end_date=None,
                 location='',
                 contact_name='',
                 contact_email='',
                 contact_phone='',
                 event_url=''):
        DefaultDublinCoreImpl.__init__(self)
        self.id = id
        self.setTitle(title)
        self.setDescription(description)
        self.effective_date = effective_date
        self.expiration_date = expiration_date

        if start_date is None:
            # Round time to a value that exists in buildTimes().
            dt = DateTime((int(DateTime()) / 1800 + 1) * 1800)
            # Parse time the same way as in edit(). The result is offset-naive.
            start_date = DateTime(str(dt).rsplit(' ', 1)[0])
        else:
            start_date = self._datify(start_date)

        if end_date is None:
            end_date = start_date
        else:
            end_date = self._datify(end_date)
        if end_date < start_date:
            end_date = start_date

        self.setStartDate(start_date)
        self.setEndDate(end_date)
        self.location = location
        self.contact_name = contact_name
        self.contact_email = contact_email
        self.contact_phone = contact_phone
        self.event_url = event_url
Esempio n. 30
0
    def __init__(self,
                 id,
                 title='',
                 description='',
                 effective_date=None,
                 expiration_date=None,
                 start_date=None,
                 end_date=None,
                 location='',
                 contact_name='',
                 contact_email='',
                 contact_phone='',
                 event_url=''):
        DefaultDublinCoreImpl.__init__(self)
        self.id = id
        self.setTitle(title)
        self.setDescription(description)
        self.effective_date = effective_date
        self.expiration_date = expiration_date

        if start_date is None:
            # Round time to a value that exists in buildTimes().
            dt = DateTime((int(DateTime()) / 1800 + 1) * 1800)
            # Parse time the same way as in edit(). The result is offset-naive.
            start_date = DateTime(str(dt).rsplit(' ', 1)[0])
        else:
            start_date = self._datify(start_date)

        if end_date is None:
            end_date = start_date
        else:
            end_date = self._datify(end_date)
        if end_date < start_date:
            end_date = start_date

        self.setStartDate(start_date)
        self.setEndDate(end_date)
        self.location = location
        self.contact_name = contact_name
        self.contact_email = contact_email
        self.contact_phone = contact_phone
        self.event_url = event_url
    def __init__(self, 
            id, 
            title='',
            description='',
            topics='',
            mailFrom='',
            nameFrom='',
            disclaimer='',
            signature='',
            ):

        """ Initialize an instance of the class """		
        ## parents constructors 
        DefaultDublinCoreImpl.__init__(self, title, description = description)
        self.id = id
        self.topics = string.split(topics,'\n')
        self.disclaimer = disclaimer		
        self.mailer = Mailer(None, mailFrom, nameFrom, signature)
        self.spool = Spool()
        self.users = {}
Esempio n. 32
0
 def __init__(self,
              id,
              title='',
              description='',
              effective_date=DateTime(),
              expiration_date=DateTime(),
              location='',
              contact_name='',
              contact_email='',
              contact_phone='',
              event_url=''):
     DefaultDublinCoreImpl.__init__(self)
     self.id = id
     self.setTitle(title)
     self.setDescription(description)
     self.setEffectiveDate(effective_date)
     self.setExpirationDate(expiration_date)
     self.location = location
     self.contact_name = contact_name
     self.contact_email = contact_email
     self.contact_phone = contact_phone
     self.event_url = event_url
Esempio n. 33
0
 def __init__(self
              , id
              , title=''
              , description=''
              , effective_date = DateTime() 
              , expiration_date = DateTime() 
              , location=''
              , contact_name=''
              , contact_email=''
              , contact_phone=''
              , event_url=''
             ):
     DefaultDublinCoreImpl.__init__(self)
     self.id=id
     self.setTitle(title)
     self.setDescription(description)
     self.setEffectiveDate(effective_date)
     self.setExpirationDate(expiration_date)
     self.location=location
     self.contact_name=contact_name
     self.contact_email=contact_email
     self.contact_phone=contact_phone
     self.event_url=event_url
Esempio n. 34
0
 def __init__(self, id=None, **kwargs):
     DefaultDublinCoreImpl.__init__(self, **kwargs)
     if id is not None:
         self.id = id
Esempio n. 35
0
 def __init__(self, data=''):
     ImageBase.__init__(self, data)
     DefaultDublinCoreImpl.__init__(self)
 def __init__(self, id, desc):
     """Workgroup constructor"""
     DefaultDublinCoreImpl.__init__(self)
     self.id = id
Esempio n. 37
0
 def __init__(self, id, bar='', baz=''):
     DefaultDublinCoreImpl.__init__(self)
     self.id = id
     self.bar = bar
     self.baz = baz
Esempio n. 38
0
 def __init__(self, id=None, **kwargs):
     DefaultDublinCoreImpl.__init__(self, **kwargs)
     if id is not None:
         self.id = id
Esempio n. 39
0
 def __init__(self, data=''):
     ImageBase.__init__(self, data)
     DefaultDublinCoreImpl.__init__(self)
Esempio n. 40
0
 def __init__(self, id, title=''):
     DefaultDublinCoreImpl.__init__(self)
     self.id = id
     self.title = title
Esempio n. 41
0
 def __init__(self, id, title=''):
     PortalObjectBase.__init__(self, id, title)
     DefaultDublinCoreImpl.__init__(self)
Esempio n. 42
0
 def __init__( self, id, title='' ):
     PortalObjectBase.__init__( self, id, title )
     DefaultDublinCoreImpl.__init__( self )
Esempio n. 43
0
 def __init__(self, id, title=''):
     DefaultDublinCoreImpl.__init__(self)
     self.id = id
     self.title = title
Esempio n. 44
0
 def __init__(self, id, bar='', baz=''):
     DefaultDublinCoreImpl.__init__(self)
     self.id = id
     self.bar = bar
     self.baz = baz
Esempio n. 45
0
 def __init__(self, id):
     DefaultDublinCoreImpl.__init__(self)
     self.id = id
     self._raw = ""
     self._raw_as_html = ""
     self._raw_language = None
Esempio n. 46
0
 def __init__(self, id, title=""):
     BaseChangeSet.__init__(self, id, title="")
     DefaultDublinCoreImpl.__init__(self)
Esempio n. 47
0
 def __init__(self, id, desc):
     """Workgroup constructor"""
     DefaultDublinCoreImpl.__init__(self)
     self.id = id