org.broadleafcommerce.core.search.redirect.dao
Class SearchRedirectDaoImpl

java.lang.Object
  extended by org.broadleafcommerce.core.search.redirect.dao.SearchRedirectDaoImpl
All Implemented Interfaces:
SearchRedirectDao

@Repository(value="blSearchRedirectDao")
public class SearchRedirectDaoImpl
extends Object
implements SearchRedirectDao

Created by ppatel.


Field Summary
protected  Date cachedDate
           
protected  Long currentDateResolution
           
protected  javax.persistence.EntityManager em
           
 
Constructor Summary
SearchRedirectDaoImpl()
           
 
Method Summary
 SearchRedirect findSearchRedirectBySearchTerm(String searchTerm)
           
protected  Date getCurrentDateAfterFactoringInDateResolution()
           
 Long getCurrentDateResolution()
           
 void setCurrentDateResolution(Long currentDateResolution)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

em

protected javax.persistence.EntityManager em

currentDateResolution

protected Long currentDateResolution

cachedDate

protected Date cachedDate
Constructor Detail

SearchRedirectDaoImpl

public SearchRedirectDaoImpl()
Method Detail

getCurrentDateAfterFactoringInDateResolution

protected Date getCurrentDateAfterFactoringInDateResolution()

findSearchRedirectBySearchTerm

public SearchRedirect findSearchRedirectBySearchTerm(String searchTerm)
Specified by:
findSearchRedirectBySearchTerm in interface SearchRedirectDao

getCurrentDateResolution

public Long getCurrentDateResolution()

setCurrentDateResolution

public void setCurrentDateResolution(Long currentDateResolution)


Copyright © 2013. All Rights Reserved.