org.jasig.portal.layout.dlm
Class LayoutCachingService
java.lang.Object
org.jasig.portal.layout.dlm.LayoutCachingService
- All Implemented Interfaces:
- EventListener, ILayoutCachingService, ApplicationListener
public class LayoutCachingService
- extends Object
- implements ApplicationListener, ILayoutCachingService
Provides API for layout caching service
|
Field Summary |
protected org.apache.commons.logging.Log |
logger
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
logger
protected final org.apache.commons.logging.Log logger
LayoutCachingService
public LayoutCachingService()
getLayoutCache
public Map<Serializable,Document> getLayoutCache()
- Returns:
- the layoutCache
setLayoutCache
public void setLayoutCache(Map<Serializable,Document> layoutCache)
- Parameters:
layoutCache - the layoutCache to set
onApplicationEvent
public void onApplicationEvent(ApplicationEvent event)
- Specified by:
onApplicationEvent in interface ApplicationListener
cacheLayout
public void cacheLayout(IPerson owner,
UserProfile profile,
Document layout)
- Specified by:
cacheLayout in interface ILayoutCachingService
getCachedLayout
public Document getCachedLayout(IPerson owner,
UserProfile profile)
- Specified by:
getCachedLayout in interface ILayoutCachingService
removeCachedLayout
public void removeCachedLayout(IPerson owner,
UserProfile profile)
- Specified by:
removeCachedLayout in interface ILayoutCachingService
getCacheKey
protected Serializable getCacheKey(IPerson owner,
UserProfile profile)
Copyright © 2010 Jasig. All Rights Reserved.