@Component(value="blImportProcessExecutor")
public class ImportProcessExecutor
extends com.broadleafcommerce.process.execution.executor.AbstractProcessExecutor
ImportService
Modifier and Type | Field and Description |
---|---|
static String |
ADMIN_USER_ID |
protected org.broadleafcommerce.openadmin.server.security.service.AdminSecurityService |
adminSecurityService |
protected com.broadleafcommerce.enterprise.common.extension.EnterpriseStateManager |
enterpriseStateManager |
protected org.broadleafcommerce.common.file.service.BroadleafFileService |
fileService |
static String |
IMPORT_PROCESS |
static String |
IMPORT_TYPE |
static String |
LOCALE_CODE |
protected org.springframework.context.MessageSource |
messageSource |
static String |
ORIGIN_SITE_ID |
protected org.broadleafcommerce.openadmin.server.service.persistence.PersistenceThreadManager |
persistenceManager |
static String |
PROCESS_ID |
protected List<FileImportProcessor> |
registeredProcessors |
static String |
RESOURCE_URL |
static String |
SANDBOX_ID |
protected com.broadleafcommerce.enterprise.workflow.dao.WorkflowSandBoxItemDao |
sandboxItemDao |
protected com.broadleafcommerce.enterprise.workflow.service.WorkflowSandBoxItemService |
sandboxItemService |
protected org.broadleafcommerce.common.sandbox.service.SandBoxService |
sandboxService |
protected org.broadleafcommerce.common.site.service.SiteService |
siteService |
static String |
SPECIFICATION |
static String |
TIMEZONE |
static String |
TOTAL_RECORDS |
protected org.broadleafcommerce.common.util.StreamingTransactionCapableUtil |
transUtil |
protected org.springframework.security.core.userdetails.UserDetailsService |
userDetailsService |
protected com.broadleafcommerce.enterprise.workflow.persistence.WorkflowStateManager |
workflowStateManager |
Constructor and Description |
---|
ImportProcessExecutor() |
Modifier and Type | Method and Description |
---|---|
protected com.broadleafcommerce.enterprise.workflow.domain.WorkflowSandBoxItem |
addContainerSandboxItem(org.broadleafcommerce.common.web.BroadleafRequestContext brc,
String className) |
void |
execute(Long processId,
Map<String,String> processParams) |
protected org.broadleafcommerce.common.util.Tuple<org.broadleafcommerce.openadmin.server.security.domain.AdminUser,org.springframework.security.core.userdetails.UserDetails> |
getAdminUserForSite(org.broadleafcommerce.common.site.domain.Site site,
Map<String,String> processParams) |
String |
getProcessType() |
List<FileImportProcessor> |
getRegisteredProcessors() |
protected void |
initializeRequestContext(org.broadleafcommerce.common.web.BroadleafRequestContext brc,
Map<String,String> processParams)
Initializes the given context.
|
protected boolean |
isChangesetsModulePresent() |
void |
setRegisteredProcessors(List<FileImportProcessor> registeredProcessors) |
boolean |
shouldCreateSandboxContainer() |
public static final String IMPORT_PROCESS
public static final String PROCESS_ID
public static final String SPECIFICATION
public static final String IMPORT_TYPE
public static final String TOTAL_RECORDS
public static final String RESOURCE_URL
public static final String TIMEZONE
public static final String LOCALE_CODE
public static final String ADMIN_USER_ID
public static final String SANDBOX_ID
public static final String ORIGIN_SITE_ID
protected List<FileImportProcessor> registeredProcessors
protected org.broadleafcommerce.common.file.service.BroadleafFileService fileService
protected org.broadleafcommerce.openadmin.server.security.service.AdminSecurityService adminSecurityService
protected org.springframework.security.core.userdetails.UserDetailsService userDetailsService
protected org.broadleafcommerce.common.site.service.SiteService siteService
protected org.broadleafcommerce.common.sandbox.service.SandBoxService sandboxService
@Autowired(required=false) protected com.broadleafcommerce.enterprise.workflow.persistence.WorkflowStateManager workflowStateManager
@Autowired(required=false) protected com.broadleafcommerce.enterprise.common.extension.EnterpriseStateManager enterpriseStateManager
@Autowired(required=false) protected com.broadleafcommerce.enterprise.workflow.service.WorkflowSandBoxItemService sandboxItemService
protected org.broadleafcommerce.openadmin.server.service.persistence.PersistenceThreadManager persistenceManager
@Autowired @Lazy @Qualifier(value="blWorkflowSandBoxItemDao") protected com.broadleafcommerce.enterprise.workflow.dao.WorkflowSandBoxItemDao sandboxItemDao
protected org.broadleafcommerce.common.util.StreamingTransactionCapableUtil transUtil
protected org.springframework.context.MessageSource messageSource
protected com.broadleafcommerce.enterprise.workflow.domain.WorkflowSandBoxItem addContainerSandboxItem(org.broadleafcommerce.common.web.BroadleafRequestContext brc, String className)
protected void initializeRequestContext(org.broadleafcommerce.common.web.BroadleafRequestContext brc, Map<String,String> processParams) throws Exception
brc
- event
- Exception
protected org.broadleafcommerce.common.util.Tuple<org.broadleafcommerce.openadmin.server.security.domain.AdminUser,org.springframework.security.core.userdetails.UserDetails> getAdminUserForSite(org.broadleafcommerce.common.site.domain.Site site, Map<String,String> processParams) throws org.springframework.security.core.userdetails.UsernameNotFoundException
org.springframework.security.core.userdetails.UsernameNotFoundException
protected boolean isChangesetsModulePresent()
public String getProcessType()
public List<FileImportProcessor> getRegisteredProcessors()
public void setRegisteredProcessors(List<FileImportProcessor> registeredProcessors)
public boolean shouldCreateSandboxContainer()
Copyright © 2020. All rights reserved.