Package com.broadleafcommerce.auth.data
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 Summary
ConstructorDescriptionPermissionScopeDataInitializer
(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 Summary
Modifier and TypeMethodDescriptionprotected void
Deprecated, for removal: This API element is subject to removal in a future version.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.protected void
Deprecated, for removal: This API element is subject to removal in a future version.void
Deprecated, for removal: This API element is subject to removal in a future version.Initialize seed data for the application.protected void
removePermissionScopeIfAvailable
(String id, String scopeId, boolean permissionRoot) Deprecated, for removal: This API element is subject to removal in a future version.
-
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 interfaceDataInitializer
-
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
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.
-