@Component(value="blIncognitoFilterStateHelper") public class IncognitoFilterStateHelperImpl extends Object implements IncognitoFilterStateHelper
IncognitoFilterStateHelper
Modifier and Type | Field and Description |
---|---|
protected IncognitoEnvironmentDetector |
detector |
protected javax.persistence.EntityManager |
em |
static String |
INCOGNITO |
static String |
INCOGNITO_ID |
static String |
NON_INCOGNITO |
protected org.springframework.transaction.PlatformTransactionManager |
transactionManager |
protected org.broadleafcommerce.common.util.StreamingTransactionCapableUtil |
transUtil |
Constructor and Description |
---|
IncognitoFilterStateHelperImpl() |
Modifier and Type | Method and Description |
---|---|
protected void |
disable(String key) |
protected void |
enable(String key,
String id) |
Object |
execute(boolean enabled,
IncognitoFilterOperation operation) |
void |
init() |
public static final String INCOGNITO
public static final String NON_INCOGNITO
public static final String INCOGNITO_ID
protected IncognitoEnvironmentDetector detector
protected org.springframework.transaction.PlatformTransactionManager transactionManager
protected org.broadleafcommerce.common.util.StreamingTransactionCapableUtil transUtil
protected javax.persistence.EntityManager em
@PostConstruct public void init()
public Object execute(boolean enabled, IncognitoFilterOperation operation) throws Throwable
execute
in interface IncognitoFilterStateHelper
Throwable
protected void disable(String key)
Copyright © 2017. All rights reserved.