|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
Interface defines a page with portlets.
| Method Summary | |
void |
addPortlet(PortletKey portletKey)
Add an portlet to the page. |
void |
addPortlet(PortletKey portletKey,
java.lang.String instanceKey)
Add an portlet to the page and set the ID of this portlet on the page to the given value. |
java.lang.String |
getMaximizedPortletInstanceKey()
Get the instance key of the portlet on this page which is in maximized window state or null if no portlet is in that state. |
java.lang.String |
getPageID()
Get the ID of this page |
java.util.Iterator |
getPortletInstanceKeys()
Get the keys of all portlet instances on the page. |
PortletKey |
getPortletKey(java.lang.String portletInstanceKey)
Get the portlet key to the given portlet instance key. |
java.util.Map |
getPortlets()
Get map with portlet instance keys map to portlet keys with all portlet instances on this page. |
java.lang.String |
getTitle()
Get the title of the page |
void |
removePortlet(java.lang.String portletInstanceKey)
Remove an portlet instance from the page |
void |
setMaximizedPortletInstanceKey(java.lang.String portletInstanceKey)
Set the portlet which is currently in maximized window state |
void |
setPageID(java.lang.String pageID)
Set the page ID |
void |
setPortlets(java.util.Map map)
Set the portlets which should appear on the page. |
void |
setTitle(java.lang.String title)
Set the title of the page |
| Method Detail |
public java.util.Iterator getPortletInstanceKeys()
public PortletKey getPortletKey(java.lang.String portletInstanceKey)
portletInstanceKey - Key of a portlet instance on the page
public java.lang.String getPageID()
public void addPortlet(PortletKey portletKey)
portletKey - The portlet key
public void addPortlet(PortletKey portletKey,
java.lang.String instanceKey)
portletKey - The portlet keyinstanceKey - ID of the portlet on the pagepublic void removePortlet(java.lang.String portletInstanceKey)
portletInstanceKey - The instance key of the portlet instance to be removedpublic void setPageID(java.lang.String pageID)
pageID - ID of this pagepublic java.lang.String getTitle()
public void setTitle(java.lang.String title)
title - Page titlepublic java.lang.String getMaximizedPortletInstanceKey()
public void setMaximizedPortletInstanceKey(java.lang.String portletInstanceKey)
portletInstanceKey - instance IDpublic void setPortlets(java.util.Map map)
public java.util.Map getPortlets()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||