|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface PortletWindowAccessor
Portlet Window Accessor
Method Summary | |
---|---|
org.apache.pluto.om.window.PortletWindow |
createPortletWindow(org.apache.pluto.om.entity.PortletEntity entity,
java.lang.String windowId)
Given a portlet entity, create a portlet window for that entity. |
org.apache.pluto.om.window.PortletWindow |
createPortletWindow(java.lang.String windowId)
Create a temporary portlet window This window does not have an entity associated with it. |
org.apache.pluto.om.window.PortletWindow |
getPortletWindow(ContentFragment fragment)
Get a portlet window for the given fragment |
org.apache.pluto.om.window.PortletWindow |
getPortletWindow(java.lang.String windowId)
Lookup a portlet window in the cache If not found, return null |
java.util.Set |
getPortletWindows()
Gets a Set of currently available PortletWindow s within
the current engine instance. |
void |
removeWindow(org.apache.pluto.om.window.PortletWindow window)
removeWindow |
void |
removeWindows(org.apache.pluto.om.entity.PortletEntity portletEntity)
removeWindows |
Method Detail |
---|
org.apache.pluto.om.window.PortletWindow getPortletWindow(ContentFragment fragment) throws FailedToRetrievePortletWindow, PortletEntityNotStoredException
fragment
-
FailedToRetrievePortletWindow
PortletEntityNotStoredException
InconsistentWindowStateException
- If the window references a non-existsent PortletEntityorg.apache.pluto.om.window.PortletWindow getPortletWindow(java.lang.String windowId)
windowId
-
org.apache.pluto.om.window.PortletWindow createPortletWindow(org.apache.pluto.om.entity.PortletEntity entity, java.lang.String windowId)
entity
- windowId
-
org.apache.pluto.om.window.PortletWindow createPortletWindow(java.lang.String windowId)
windowId
-
void removeWindows(org.apache.pluto.om.entity.PortletEntity portletEntity)
removeWindows
Removes allPortletWindow
s associated with this
PortletEntity
portletEntity
- void removeWindow(org.apache.pluto.om.window.PortletWindow window)
removeWindow
Removes aPortletWindow
from the window cache.
window
- java.util.Set getPortletWindows()
Set
of currently available PortletWindow
s within
the current engine instance.
Set
of PortletWindow
s, never returns null
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |