|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface PortletWindowCache
org.apache.jetspeed.cache.impl.PortletWindowCache is an abstraction of a caching mechanism for use
within org.apache.jetspeed.container.window.impl.PortletWindowAccessorImpl.
PortletWindowAccessorImpl,
EhPortletWindowCache| Method Summary | |
|---|---|
Set |
getAllPortletWindows()
|
org.apache.pluto.om.window.PortletWindow |
getPortletWindow(String windowId)
Gets a PortletWindow from the cache. |
org.apache.pluto.om.window.PortletWindow |
getPortletWindowByEntityId(String portletEntityId)
Gets a PortletWindow from the cache whose PortletEntity's (PortletWindow.getPortletEntity())
equals portletEntityId. |
void |
putPortletWindow(org.apache.pluto.om.window.PortletWindow window)
Stores a PortletWindow in the cache using the PortletWindow#getId()#toString()
as the key for the cache. |
void |
removePortletWindow(String windowId)
Removes a PortletWindow from cache using the windowId
as the cache key. |
void |
removePortletWindowByPortletEntityId(String portletEntityId)
Removes a PortletWindow from the cache whose PortletEntity's id
matches portletEntityId. |
| Method Detail |
|---|
org.apache.pluto.om.window.PortletWindow getPortletWindow(String windowId)
PortletWindow from the cache.
windowId - Id of the window to get from the cache.
PortletWindow whose id to
PortletWindow.getId() or null if no window exists that matches
windowId.org.apache.pluto.om.window.PortletWindow getPortletWindowByEntityId(String portletEntityId)
PortletWindow from the cache whose PortletEntity's (PortletWindow.getPortletEntity())
equals portletEntityId.
portletEntityId - id of PortletEntity whose window want want to retrieve from cache.
PortletWindow whose PortletEntity's id equals portletEntityId
or null if no windows exists in the cache that match said criteria.void putPortletWindow(org.apache.pluto.om.window.PortletWindow window)
PortletWindow in the cache using the PortletWindow#getId()#toString()
as the key for the cache.
window - PortletWindow to put into the cache.void removePortletWindow(String windowId)
PortletWindow from cache using the windowId
as the cache key.
windowId - Id of the PortletWindow we want to remove from the cache.void removePortletWindowByPortletEntityId(String portletEntityId)
PortletWindow from the cache whose PortletEntity's id
matches portletEntityId.
portletEntityId - id of the PortletEntity whose parent PortletWindow
is to be removed from the cache.Set getAllPortletWindows()
List of all the PortletWindows in the cache. If no cache
entries exist an empty list is returned. Never returns null.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||