Class NewSyncRestrictionsTest.TestCustomCatalogVersionSyncJob

All Implemented Interfaces:
TriggerableJob, Serializable, Comparable
Enclosing class:
NewSyncRestrictionsTest

public static class NewSyncRestrictionsTest.TestCustomCatalogVersionSyncJob extends CatalogVersionSyncJob
The sample custom CatalogVersionSyncJob which adds some restriction to the SyncSessionContext(PLA-8677).
See Also:
  • Constructor Details

    • TestCustomCatalogVersionSyncJob

      public TestCustomCatalogVersionSyncJob()
  • Method Details

    • createSyncSessionContext

      protected SessionContext createSyncSessionContext(SyncItemCronJob cronJob)
      Description copied from class: SyncItemJob
      Returns a new SessionContext with the following settings.
      • LANGUAGE: null
      • DISABLE_RESTRICTIONS: false
      • DISABLE_RESTRICTION_GROUP_INHERITANCE: false
      • USE_FAST_ALGORITHMS: true
      • DISABLE_ATTRIBUTE_CHECK: true
      • DISABLE_SUBCATEGORY_REMOVALCHECK: true
      • DISABLE_SETALLOWEDPRINCIPAL_RECURSIVELY: true
      • LANGUAGE_FALLBACK_ENABLED: false
      • TRANSACTION_4_ALLATTRIBUTES: false
      Overrides:
      createSyncSessionContext in class CatalogVersionSyncJob
      Parameters:
      cronJob - the assigned SyncItemCronJob
      Returns:
      new SessionContext instance: