@Service(value="blEnterpriseStateManager") public class EnterpriseStateManagerImpl extends Object implements org.springframework.context.ApplicationContextAware, EnterpriseStateManager
EnterpriseStateManager
Constructor and Description |
---|
EnterpriseStateManagerImpl() |
Modifier and Type | Method and Description |
---|---|
void |
endAdditionStatusFiltering() |
void |
endCascadePromote() |
void |
endIgnoreCloning()
Any persistence operation performed after this call will resume the default behavior regarding clone generation
|
void |
endIgnoreUnOwnedCollectionHandling() |
void |
endProductionAdminFilterState()
Resume normal filter operation for the admin application, which is to use
com.broadleafcommerce.enterprise.workflow.persistence.filter.SandBoxFilterEnabler . |
void |
endTemplateSite() |
Boolean |
getAdditionStatusFiltering() |
Boolean |
getCascadePromote() |
protected <T> T |
getContextObject(String key,
Class<?> T) |
static EnterpriseStateManager |
getEnterpriseStateManager() |
Boolean |
getIgnoreUnOwnedCollectionHandling() |
Long |
getTemplateSite() |
void |
setApplicationContext(org.springframework.context.ApplicationContext applicationContext) |
void |
startAdditionStatusFiltering() |
void |
startCascadePromote() |
void |
startIgnoreCloning()
Any persistence operation performed after this call will not cause the enterprise backend to generate a clone
|
void |
startIgnoreUnOwnedCollectionHandling() |
void |
startProductionAdminFilterState()
Any operation performed after this call in the admin application will utilize the production Hibernate filter
(
com.broadleafcommerce.enterprise.workflow.persistence.filter.SandBoxProdFilterEnabler ), rather
than the normal sandbox filter (com.broadleafcommerce.enterprise.workflow.persistence.filter.SandBoxFilterEnabler ). |
void |
startTemplateSite(Long siteId) |
public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext) throws org.springframework.beans.BeansException
setApplicationContext
in interface org.springframework.context.ApplicationContextAware
org.springframework.beans.BeansException
public void startIgnoreUnOwnedCollectionHandling()
startIgnoreUnOwnedCollectionHandling
in interface EnterpriseStateManager
public void endIgnoreUnOwnedCollectionHandling()
endIgnoreUnOwnedCollectionHandling
in interface EnterpriseStateManager
public Boolean getIgnoreUnOwnedCollectionHandling()
getIgnoreUnOwnedCollectionHandling
in interface EnterpriseStateManager
public void startAdditionStatusFiltering()
startAdditionStatusFiltering
in interface EnterpriseStateManager
public void endAdditionStatusFiltering()
endAdditionStatusFiltering
in interface EnterpriseStateManager
public Boolean getAdditionStatusFiltering()
getAdditionStatusFiltering
in interface EnterpriseStateManager
public void startCascadePromote()
startCascadePromote
in interface EnterpriseStateManager
public void endCascadePromote()
endCascadePromote
in interface EnterpriseStateManager
public Boolean getCascadePromote()
getCascadePromote
in interface EnterpriseStateManager
public void startTemplateSite(Long siteId)
startTemplateSite
in interface EnterpriseStateManager
public void endTemplateSite()
endTemplateSite
in interface EnterpriseStateManager
public Long getTemplateSite()
getTemplateSite
in interface EnterpriseStateManager
public void startIgnoreCloning()
EnterpriseStateManager
startIgnoreCloning
in interface EnterpriseStateManager
public void endIgnoreCloning()
EnterpriseStateManager
endIgnoreCloning
in interface EnterpriseStateManager
public void startProductionAdminFilterState()
EnterpriseStateManager
com.broadleafcommerce.enterprise.workflow.persistence.filter.SandBoxProdFilterEnabler
), rather
than the normal sandbox filter (com.broadleafcommerce.enterprise.workflow.persistence.filter.SandBoxFilterEnabler
).startProductionAdminFilterState
in interface EnterpriseStateManager
public void endProductionAdminFilterState()
EnterpriseStateManager
com.broadleafcommerce.enterprise.workflow.persistence.filter.SandBoxFilterEnabler
.endProductionAdminFilterState
in interface EnterpriseStateManager
public static EnterpriseStateManager getEnterpriseStateManager()
Copyright © 2019. All rights reserved.