Пример #1
0
 def __init__(self, domainId, repositoryId):
     SaharaObject.__init__(self, [
         'repositoryGroupId', 'baseurl', 'set',
         'collection', 'metadataPrefix', 'use',
         'targetId', 'mappingId', 'action',
         'complete', 'maximumIgnore', 'continuous'], ['shopclosed'])
     self.domainId = domainId
     self.id = repositoryId
     self.mockUploader = None
     self.uploadfulltext = True
Пример #2
0
 def __init__(self, id):
     SaharaObject.__init__(self, ['baseurl', 'name', 'username', 'password',
                             'port', 'path', 'targetType', 'privateKey', 'command', 'hostname', 'oaiEnvelope'], ['delegate'])
     self.id = id
Пример #3
0
 def __init__(self, mappingId):
     SaharaObject.__init__(self,['name', 'description', 'code'])
     Observable.__init__(self)
     self.id = mappingId