eu.europa.tmsearch.services.dao
Class CacheableJpaDaoSupport

java.lang.Object
  extended by org.springframework.dao.support.DaoSupport
      extended by org.springframework.orm.jpa.support.JpaDaoSupport
          extended by eu.europa.tmsearch.services.dao.CacheableJpaDaoSupport
All Implemented Interfaces:
Cacheable, org.springframework.beans.factory.InitializingBean

public class CacheableJpaDaoSupport
extends org.springframework.orm.jpa.support.JpaDaoSupport
implements Cacheable


Field Summary
 
Fields inherited from class org.springframework.dao.support.DaoSupport
logger
 
Constructor Summary
CacheableJpaDaoSupport()
           
 
Method Summary
 java.util.Date getExpires(java.lang.String applicationNumber)
           
 java.util.Date getLastModified(java.lang.String applicationNumber)
           
 
Methods inherited from class org.springframework.orm.jpa.support.JpaDaoSupport
checkDaoConfig, createJpaTemplate, createJpaTemplate, getJpaTemplate, setEntityManager, setEntityManagerFactory, setJpaTemplate
 
Methods inherited from class org.springframework.dao.support.DaoSupport
afterPropertiesSet, initDao
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CacheableJpaDaoSupport

public CacheableJpaDaoSupport()
Method Detail

getLastModified

public java.util.Date getLastModified(java.lang.String applicationNumber)
                               throws ResourceNotFoundException
Specified by:
getLastModified in interface Cacheable
Throws:
ResourceNotFoundException

getExpires

public java.util.Date getExpires(java.lang.String applicationNumber)
Specified by:
getExpires in interface Cacheable


Copyright © 2009. All Rights Reserved.