|
||||||||||
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,
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 |
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(ContentFragment fragment, String principal) throws FailedToCreateWindowException, FailedToRetrievePortletWindow, PortletEntityNotStoredException
fragment
- principal
-
FailedToCreateWindowException
FailedToRetrievePortletWindow
PortletEntityNotStoredException
InconsistentWindowStateException
- If the window references a non-existsent PortletEntityorg.apache.pluto.om.window.PortletWindow getPortletWindow(String windowId)
windowId
-
org.apache.pluto.om.window.PortletWindow createPortletWindow(org.apache.pluto.om.entity.PortletEntity entity, String windowId)
entity
- windowId
-
org.apache.pluto.om.window.PortletWindow createPortletWindow(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
- 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 |