public class CachingDegreeProgressDao extends Object implements IDegreeProgressDao
IDegreeProgressDao implementation decorates one or more other DAOs and
adds caching features to them. Whatever data the underlying DAOs provide
will be stored in cache according to parameters specified in ehcache.xml.
All caching is per-user.| Constructor and Description |
|---|
CachingDegreeProgressDao() |
| Modifier and Type | Method and Description |
|---|---|
WhatIfRequest |
createWhatIfRequest(javax.portlet.PortletRequest request)
Returns a
WhatIfRequest pre-populated with things only the
concrete IDegreeProgressDao should know about. |
DegreeProgressReport |
getProgressReport(javax.portlet.PortletRequest request) |
Boolean |
getWebEnabled(javax.portlet.PortletRequest request) |
DegreeProgressReport |
getWhatIfReport(WhatIfRequest whatIfRequest) |
void |
setEnclosedDegreeProgressDao(IDegreeProgressDao enclosedDegreeProgressDao) |
void |
setProgressReportCache(net.sf.ehcache.Cache progressReportCache) |
public void setEnclosedDegreeProgressDao(IDegreeProgressDao enclosedDegreeProgressDao)
public void setProgressReportCache(net.sf.ehcache.Cache progressReportCache)
public DegreeProgressReport getProgressReport(javax.portlet.PortletRequest request)
getProgressReport in interface IDegreeProgressDaopublic Boolean getWebEnabled(javax.portlet.PortletRequest request)
getWebEnabled in interface IDegreeProgressDaopublic WhatIfRequest createWhatIfRequest(javax.portlet.PortletRequest request)
IDegreeProgressDaoWhatIfRequest pre-populated with things only the
concrete IDegreeProgressDao should know about.createWhatIfRequest in interface IDegreeProgressDaopublic DegreeProgressReport getWhatIfReport(WhatIfRequest whatIfRequest)
getWhatIfReport in interface IDegreeProgressDaoCopyright © 2016 Jasig. All Rights Reserved.