|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Portlet Window Accessor
Method Summary | |
org.apache.pluto.om.window.PortletWindow |
createPortletWindow(org.apache.pluto.om.entity.PortletEntity entity,
String windowId)
Given a portlet entity, create a portlet window for that entity. |
org.apache.pluto.om.window.PortletWindow |
createPortletWindow(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(ContentFragment fragment,
String principal)
Get the portlet window for a fragment and given principal |
org.apache.pluto.om.window.PortletWindow |
getPortletWindow(String windowId)
Lookup a portlet window in the cache If not found, return null |
void |
removeWindow(org.apache.pluto.om.window.PortletWindow window)
removeWindow |
void |
removeWindows(org.apache.pluto.om.entity.PortletEntity portletEntity)
removeWindows |
Method Detail |
public org.apache.pluto.om.window.PortletWindow getPortletWindow(ContentFragment fragment) throws FailedToRetrievePortletWindow, PortletEntityNotStoredException
fragment
-
FailedToRetrievePortletWindow
PortletEntityNotStoredException
InconsistentWindowStateException
- If the window references a non-existsent PortletEntitypublic org.apache.pluto.om.window.PortletWindow getPortletWindow(ContentFragment fragment, String principal) throws FailedToCreateWindowException, FailedToRetrievePortletWindow, PortletEntityNotStoredException
fragment
- principal
-
FailedToCreateWindowException
FailedToRetrievePortletWindow
PortletEntityNotStoredException
InconsistentWindowStateException
- If the window references a non-existsent PortletEntitypublic org.apache.pluto.om.window.PortletWindow getPortletWindow(String windowId)
windowId
-
public org.apache.pluto.om.window.PortletWindow createPortletWindow(org.apache.pluto.om.entity.PortletEntity entity, String windowId)
entity
- windowId
-
public org.apache.pluto.om.window.PortletWindow createPortletWindow(String windowId)
windowId
-
public void removeWindows(org.apache.pluto.om.entity.PortletEntity portletEntity)
removeWindows
Removes allPortletWindow
s associated with this
PortletEntity
portletEntity
- public void removeWindow(org.apache.pluto.om.window.PortletWindow window)
removeWindow
Removes aPortletWindow
from the window cache.
window
-
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |