services:
    pim_connector.step.csv_user_group_export.export:
        class: '%pim_connector.step.item_step.class%'
        arguments:
            - 'export'
            - '@event_dispatcher'
            - '@akeneo_batch.job_repository'
            - '@pim_connector.reader.database.user_group'
            - '@pim_connector.processor.normalization.user_group'
            - '@pim_connector.writer.file.csv_user_group'
            - 100
            - '@akeneo_batch.job.job_stopper'

    pim_connector.step.xlsx_user_group_export.export:
        class: '%pim_connector.step.item_step.class%'
        arguments:
            - 'export'
            - '@event_dispatcher'
            - '@akeneo_batch.job_repository'
            - '@pim_connector.reader.database.user_group'
            - '@pim_connector.processor.normalization.user_group'
            - '@pim_connector.writer.file.xlsx_user_group'
            - 100
            - '@akeneo_batch.job.job_stopper'

    pim_connector.step.csv_user_role_export.export:
        class: '%pim_connector.step.item_step.class%'
        arguments:
            - 'export'
            - '@event_dispatcher'
            - '@akeneo_batch.job_repository'
            - '@pim_connector.reader.database.user_role'
            - '@pim_connector.processor.normalization.user_role'
            - '@pim_connector.writer.file.csv_user_role'
            - 100
            - '@akeneo_batch.job.job_stopper'

    pim_connector.step.xlsx_user_role_export.export:
        class: '%pim_connector.step.item_step.class%'
        arguments:
            - 'export'
            - '@event_dispatcher'
            - '@akeneo_batch.job_repository'
            - '@pim_connector.reader.database.user_role'
            - '@pim_connector.processor.normalization.user_role'
            - '@pim_connector.writer.file.xlsx_user_role'
            - 100
            - '@akeneo_batch.job.job_stopper'

    pim_connector.step.csv_user_export.export:
        class: '%pim_connector.step.item_step.class%'
        arguments:
            - 'export'
            - '@event_dispatcher'
            - '@akeneo_batch.job_repository'
            - '@pim_connector.reader.database.user'
            - '@pim_connector.processor.normalization.user'
            - '@pim_connector.writer.file.csv_user'
            - 100
            - '@akeneo_batch.job.job_stopper'

    pim_connector.step.xlsx_user_export.export:
        class: '%pim_connector.step.item_step.class%'
        arguments:
            - 'export'
            - '@event_dispatcher'
            - '@akeneo_batch.job_repository'
            - '@pim_connector.reader.database.user'
            - '@pim_connector.processor.normalization.user'
            - '@pim_connector.writer.file.xlsx_user'
            - 100
            - '@akeneo_batch.job.job_stopper'


    pim_connector.step.csv_user_group_import.import:
        class: '%pim_connector.step.item_step.class%'
        arguments:
            - 'import'
            - '@event_dispatcher'
            - '@akeneo_batch.job_repository'
            - '@pim_connector.reader.file.csv_user_group'
            - '@pim_connector.processor.denormalization.user_group'
            - '@pim_connector.writer.database.user_group'
            - 100
            - '@akeneo_batch.job.job_stopper'

    pim_connector.step.xlsx_user_group_import.import:
        class: '%pim_connector.step.item_step.class%'
        arguments:
            - 'import'
            - '@event_dispatcher'
            - '@akeneo_batch.job_repository'
            - '@pim_connector.reader.file.xlsx_user_group'
            - '@pim_connector.processor.denormalization.user_group'
            - '@pim_connector.writer.database.user_group'
            - 100
            - '@akeneo_batch.job.job_stopper'

    pim_connector.step.csv_user_import.import:
        class: '%pim_connector.step.item_step.class%'
        arguments:
            - 'import'
            - '@event_dispatcher'
            - '@akeneo_batch.job_repository'
            - '@pim_connector.reader.file.csv_user'
            - '@pim_connector.processor.denormalization.user'
            - '@pim_connector.writer.database.user'
            - 100
            - '@akeneo_batch.job.job_stopper'

    pim_connector.step.xlsx_user_import.import:
        class: '%pim_connector.step.item_step.class%'
        arguments:
            - 'import'
            - '@event_dispatcher'
            - '@akeneo_batch.job_repository'
            - '@pim_connector.reader.file.xlsx_user'
            - '@pim_connector.processor.denormalization.user'
            - '@pim_connector.writer.database.user'
            - 100
            - '@akeneo_batch.job.job_stopper'

    pim_connector.step.csv_user_role_import.import:
        class: '%pim_connector.step.item_step.class%'
        arguments:
            - 'import'
            - '@event_dispatcher'
            - '@akeneo_batch.job_repository'
            - '@pim_connector.reader.file.import.csv_user_role'
            - '@pim_connector.processor.denormalization.user_role_with_permissions'
            - '@pim_connector.writer.database.user_role_with_permission'
            - 1
            - '@akeneo_batch.job.job_stopper'

    pim_connector.step.xlsx_user_role_import.import:
        class: '%pim_connector.step.item_step.class%'
        arguments:
            - 'import'
            - '@event_dispatcher'
            - '@akeneo_batch.job_repository'
            - '@pim_connector.reader.file.import.xlsx_user_role'
            - '@pim_connector.processor.denormalization.user_role_with_permissions'
            - '@pim_connector.writer.database.user_role_with_permission'
            - 1
            - '@akeneo_batch.job.job_stopper'
