def __init__(self, source_repo_id, dest_repo_id, source_importer_id, dest_importer_id, association_owner_type, association_owner_id): """ :param source_repo_id: ID of the repository from which units are being copied :type source_repo_id: str :param dest_repo_id: ID of the repository into which units are being copied :type dest_repo_id: str :param source_importer_id: ID of the importer on the source repository :type source_importer_id: str :param dest_importer_id: ID of the importer on the destination repository :type dest_importer_id: str :param association_owner_type: distinguishes the owner when creating an association through this conduit :type association_owner_type: str :param association_owner_id: specific ID of the owner when creating an association through this conduit :type association_owner_id: str """ ImporterScratchPadMixin.__init__(self, dest_repo_id, dest_importer_id) RepoScratchPadMixin.__init__(self, dest_repo_id, ImporterConduitException) SearchUnitsMixin.__init__(self, ImporterConduitException) AddUnitMixin.__init__(self, dest_repo_id, dest_importer_id, association_owner_type, association_owner_id) self.source_repo_id = source_repo_id self.dest_repo_id = dest_repo_id self.source_importer_id = source_importer_id self.dest_importer_id = dest_importer_id self.association_owner_type = association_owner_type self.association_owner_id = association_owner_id self.__association_manager = manager_factory.repo_unit_association_manager() self.__association_query_manager = manager_factory.repo_unit_association_query_manager() self.__importer_manager = manager_factory.repo_importer_manager()
def __init__(self, source_repo_id, dest_repo_id, source_importer_id, dest_importer_id): """ :param source_repo_id: ID of the repository from which units are being copied :type source_repo_id: str :param dest_repo_id: ID of the repository into which units are being copied :type dest_repo_id: str :param source_importer_id: ID of the importer on the source repository :type source_importer_id: str :param dest_importer_id: ID of the importer on the destination repository :type dest_importer_id: str """ ImporterScratchPadMixin.__init__(self, dest_repo_id, dest_importer_id) RepoScratchPadMixin.__init__(self, dest_repo_id, ImporterConduitException) SearchUnitsMixin.__init__(self, ImporterConduitException) AddUnitMixin.__init__(self, dest_repo_id, dest_importer_id) self.source_repo_id = source_repo_id self.dest_repo_id = dest_repo_id self.source_importer_id = source_importer_id self.dest_importer_id = dest_importer_id self.__association_manager = manager_factory.repo_unit_association_manager() self.__association_query_manager = manager_factory.repo_unit_association_query_manager() self.__importer_manager = manager_factory.repo_importer_manager()
def __init__(self, source_repo_id, dest_repo_id, source_importer_id, dest_importer_id): """ :param source_repo_id: ID of the repository from which units are being copied :type source_repo_id: str :param dest_repo_id: ID of the repository into which units are being copied :type dest_repo_id: str :param source_importer_id: ID of the importer on the source repository :type source_importer_id: str :param dest_importer_id: ID of the importer on the destination repository :type dest_importer_id: str """ ImporterScratchPadMixin.__init__(self, dest_repo_id, dest_importer_id) RepoScratchPadMixin.__init__(self, dest_repo_id, ImporterConduitException) SearchUnitsMixin.__init__(self, ImporterConduitException) AddUnitMixin.__init__(self, dest_repo_id, dest_importer_id) self.source_repo_id = source_repo_id self.dest_repo_id = dest_repo_id self.source_importer_id = source_importer_id self.dest_importer_id = dest_importer_id self.__association_manager = manager_factory.repo_unit_association_manager( ) self.__association_query_manager = manager_factory.repo_unit_association_query_manager( ) self.__importer_manager = manager_factory.repo_importer_manager()
def __init__(self, repo_id, importer_id, association_owner_type, association_owner_id): RepoScratchPadMixin.__init__(self, repo_id, ImporterConduitException) ImporterScratchPadMixin.__init__(self, repo_id, importer_id) AddUnitMixin.__init__(self, repo_id, importer_id, association_owner_type, association_owner_id) SingleRepoUnitsMixin.__init__(self, repo_id, ImporterConduitException) StatusMixin.__init__(self, importer_id, ImporterConduitException) SearchUnitsMixin.__init__(self, ImporterConduitException) self._association_manager = manager_factory.repo_unit_association_manager() self._removed_count = 0
def __init__(self, repo_id, importer_id, importer_object_id): RepoScratchPadMixin.__init__(self, repo_id, ImporterConduitException) ImporterScratchPadMixin.__init__(self, repo_id, importer_id) AddUnitMixin.__init__(self, repo_id, importer_id) SingleRepoUnitsMixin.__init__(self, repo_id, ImporterConduitException) StatusMixin.__init__(self, importer_id, ImporterConduitException) SearchUnitsMixin.__init__(self, ImporterConduitException) self.importer_object_id = importer_object_id self._association_manager = manager_factory.repo_unit_association_manager() self._content_query_manager = manager_factory.content_query_manager() self._removed_count = 0
def __init__(self, source_repo_id, dest_repo_id, source_importer_id, dest_importer_id, association_owner_type, association_owner_id): """ :param source_repo_id: ID of the repository from which units are being copied :type source_repo_id: str :param dest_repo_id: ID of the repository into which units are being copied :type dest_repo_id: str :param source_importer_id: ID of the importer on the source repository :type source_importer_id: str :param dest_importer_id: ID of the importer on the destination repository :type dest_importer_id: str :param association_owner_type: distinguishes the owner when creating an association through this conduit :type association_owner_type: str :param association_owner_id: specific ID of the owner when creating an association through this conduit :type association_owner_id: str """ ImporterScratchPadMixin.__init__(self, dest_repo_id, dest_importer_id) RepoScratchPadMixin.__init__(self, dest_repo_id, ImporterConduitException) SearchUnitsMixin.__init__(self, ImporterConduitException) AddUnitMixin.__init__(self, dest_repo_id, dest_importer_id, association_owner_type, association_owner_id) self.source_repo_id = source_repo_id self.dest_repo_id = dest_repo_id self.source_importer_id = source_importer_id self.dest_importer_id = dest_importer_id self.association_owner_type = association_owner_type self.association_owner_id = association_owner_id self.__association_manager = manager_factory.repo_unit_association_manager( ) self.__association_query_manager = manager_factory.repo_unit_association_query_manager( ) self.__importer_manager = manager_factory.repo_importer_manager()
def __init__(self, repo_id, importer_id, association_owner_type, association_owner_id): AddUnitMixin.__init__(self, repo_id, importer_id, association_owner_type, association_owner_id) SingleRepoUnitsMixin.__init__(self, repo_id, ImporterConduitException) SearchUnitsMixin.__init__(self, ImporterConduitException)