@Repository(value="blWorkflowProductDaoExtensionHandler")
public class WorkflowProductDaoExtensionHandler
extends org.broadleafcommerce.core.catalog.dao.AbstractProductDaoExtensionHandler
implements org.broadleafcommerce.core.catalog.dao.ProductDaoExtensionHandler
ProductDao methods for performance improvements on large
catalogs.| Modifier and Type | Field and Description |
|---|---|
protected Date |
cachedDate |
protected Long |
currentDateResolution |
protected org.broadleafcommerce.common.util.DialectHelper |
dialectHelper |
protected javax.persistence.EntityManager |
em |
protected org.broadleafcommerce.core.catalog.dao.ProductDaoExtensionManager |
extensionManager |
| Constructor and Description |
|---|
WorkflowProductDaoExtensionHandler() |
| Modifier and Type | Method and Description |
|---|---|
org.broadleafcommerce.common.extension.ExtensionResultStatusType |
findProductByURI(String uri,
org.broadleafcommerce.common.extension.ExtensionResultHolder resultHolder) |
protected Date |
getCurrentDateAfterFactoringInDateResolution() |
Long |
getCurrentDateResolution() |
void |
init() |
void |
setCurrentDateResolution(Long currentDateResolution) |
getPriority, isEnabled, setEnabled, setPriorityprotected javax.persistence.EntityManager em
protected org.broadleafcommerce.core.catalog.dao.ProductDaoExtensionManager extensionManager
protected org.broadleafcommerce.common.util.DialectHelper dialectHelper
protected Long currentDateResolution
protected Date cachedDate
protected Date getCurrentDateAfterFactoringInDateResolution()
@PostConstruct public void init()
public org.broadleafcommerce.common.extension.ExtensionResultStatusType findProductByURI(String uri, org.broadleafcommerce.common.extension.ExtensionResultHolder resultHolder)
findProductByURI in interface org.broadleafcommerce.core.catalog.dao.ProductDaoExtensionHandlerfindProductByURI in class org.broadleafcommerce.core.catalog.dao.AbstractProductDaoExtensionHandlerpublic Long getCurrentDateResolution()
getCurrentDateResolution in interface org.broadleafcommerce.core.catalog.dao.ProductDaoExtensionHandlerpublic void setCurrentDateResolution(Long currentDateResolution)
setCurrentDateResolution in interface org.broadleafcommerce.core.catalog.dao.ProductDaoExtensionHandlerCopyright © 2019. All rights reserved.