Пример #1
0
 def __init__(self, task_id):
     """
     :param task_id: identifies the task being performed
     :type  task_id: str
     """
     StatusMixin.__init__(self, task_id, ContentSourcesConduitException)
     PublishReportMixin.__init__(self)
Пример #2
0
 def __init__(self, task_id):
     """
     :param task_id: identifies the task being performed
     :type  task_id: str
     """
     StatusMixin.__init__(self, task_id, ContentSourcesConduitException)
     PublishReportMixin.__init__(self)
Пример #3
0
    def __init__(self, group_id, distributor_id):
        RepoGroupDistributorScratchPadMixin.__init__(self, group_id, distributor_id)
        StatusMixin.__init__(self, distributor_id, DistributorConduitException)
        MultipleRepoUnitsMixin.__init__(self, DistributorConduitException)
        PublishReportMixin.__init__(self)

        self.group_id = group_id
        self.distributor_id = distributor_id
Пример #4
0
    def __init__(self, group_id, distributor_id):
        RepoGroupDistributorScratchPadMixin.__init__(self, group_id, distributor_id)
        StatusMixin.__init__(self, distributor_id, DistributorConduitException)
        MultipleRepoUnitsMixin.__init__(self, DistributorConduitException)
        PublishReportMixin.__init__(self)
        RepoScratchpadReadMixin.__init__(self, DistributorConduitException)

        self.group_id = group_id
        self.distributor_id = distributor_id
Пример #5
0
    def __init__(self, group_id, distributor):
        distributor_id = distributor.get("id")
        RepoGroupDistributorScratchPadMixin.__init__(self, group_id, distributor_id)
        StatusMixin.__init__(self, distributor.get("distributor_type_id"), DistributorConduitException)
        MultipleRepoUnitsMixin.__init__(self, DistributorConduitException)
        PublishReportMixin.__init__(self)
        RepoScratchpadReadMixin.__init__(self, DistributorConduitException)

        self.group_id = group_id
        self.distributor_id = distributor_id
Пример #6
0
    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)

        self._association_manager = manager_factory.repo_unit_association_manager()

        self._removed_count = 0
Пример #7
0
    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
Пример #8
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
Пример #9
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
Пример #10
0
    def __init__(self, repo_id, distributor_id):
        """
        @param repo_id: identifies the repo being published
        @type  repo_id: str

        @param distributor_id: identifies the distributor being published
        @type  distributor_id: str
        """
        RepoScratchPadMixin.__init__(self, repo_id, DistributorConduitException)
        DistributorScratchPadMixin.__init__(self, repo_id, distributor_id)
        StatusMixin.__init__(self, distributor_id, DistributorConduitException)
        SingleRepoUnitsMixin.__init__(self, repo_id, DistributorConduitException)
        PublishReportMixin.__init__(self)

        self.repo_id = repo_id
        self.distributor_id = distributor_id
Пример #11
0
    def __init__(self, repo_id, distributor_id):
        """
        @param repo_id: identifies the repo being published
        @type  repo_id: str

        @param distributor_id: identifies the distributor being published
        @type  distributor_id: str
        """
        RepoScratchPadMixin.__init__(self, repo_id, DistributorConduitException)
        DistributorScratchPadMixin.__init__(self, repo_id, distributor_id)
        StatusMixin.__init__(self, distributor_id, DistributorConduitException)
        SingleRepoUnitsMixin.__init__(self, repo_id, DistributorConduitException)
        PublishReportMixin.__init__(self)

        self.repo_id = repo_id
        self.distributor_id = distributor_id
Пример #12
0
 def __init__(self, report_id):
     """
     :param report_id: identifies the task being performed
     :type  report_id: str
     """
     StatusMixin.__init__(self, report_id, LazyStatusConduitException)
Пример #13
0
 def __init__(self, report_id):
     """
     :param report_id: identifies the task being performed
     :type  report_id: str
     """
     StatusMixin.__init__(self, report_id, LazyStatusConduitException)