Class PermissionScopeDataInitializer

java.lang.Object
com.broadleafcommerce.auth.data.PermissionScopeDataInitializer
All Implemented Interfaces:
DataInitializer

@Deprecated(forRemoval=true, since="1.9.0") public class PermissionScopeDataInitializer extends Object implements DataInitializer
Deprecated, for removal: This API element is subject to removal in a future version.
Deprecated in favor of liquibase insert pattern (see auth.starter.required.data.changelog.xml)
Author:
Nick Crum (ncrum)
  • Constructor Details

    • PermissionScopeDataInitializer

      public PermissionScopeDataInitializer(com.broadleafcommerce.common.extension.TypeFactory typeFactory, PermissionRepository permissionScopeRepository, ScopeRepository scopeRepository)
      Deprecated, for removal: This API element is subject to removal in a future version.
  • Method Details

    • initialize

      @Transactional public void initialize()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Description copied from interface: DataInitializer
      Initialize seed data for the application.
      Specified by:
      initialize in interface DataInitializer
    • createPermissionScopesIfMissing

      protected void createPermissionScopesIfMissing()
      Deprecated, for removal: This API element is subject to removal in a future version.
    • createCustomerUserPermissionScopesIfMissing

      protected void createCustomerUserPermissionScopesIfMissing()
      Deprecated, for removal: This API element is subject to removal in a future version.
    • removePermissionScopeIfAvailable

      protected void removePermissionScopeIfAvailable(String id, String scopeId, boolean permissionRoot)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • createPermissionScopeIfMissing

      protected void createPermissionScopeIfMissing(String id, String scopeId, String permission, boolean permissionRoot)
      Deprecated, for removal: This API element is subject to removal in a future version.