org.apache.pluto.portalImpl.om.window.impl
Class PortletWindowListImpl
java.lang.Object
org.apache.pluto.portalImpl.om.window.impl.PortletWindowListImpl
- All Implemented Interfaces:
- org.apache.pluto.om.Controller, org.apache.pluto.om.Model, org.apache.pluto.om.window.PortletWindowList, org.apache.pluto.om.window.PortletWindowListCtrl
- public class PortletWindowListImpl
- extends java.lang.Object
- implements org.apache.pluto.om.window.PortletWindowList, org.apache.pluto.om.window.PortletWindowListCtrl
Field Summary |
(package private) java.util.HashMap |
windows
|
Method Summary |
void |
add(org.apache.pluto.om.window.PortletWindow window)
Add a portlet window to the list |
org.apache.pluto.om.window.PortletWindow |
get(org.apache.pluto.om.common.ObjectID id)
Returns the portlet window object of the given id |
java.util.Iterator |
iterator()
Returns the elements of this set |
void |
remove(org.apache.pluto.om.common.ObjectID id)
Remove the portlet window with the given Id from the list |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
windows
java.util.HashMap windows
PortletWindowListImpl
public PortletWindowListImpl()
iterator
public java.util.Iterator iterator()
- Returns the elements of this set
- Specified by:
iterator
in interface org.apache.pluto.om.window.PortletWindowList
- Returns:
- An iterator containg all elements
get
public org.apache.pluto.om.window.PortletWindow get(org.apache.pluto.om.common.ObjectID id)
- Returns the portlet window object of the given id
- Specified by:
get
in interface org.apache.pluto.om.window.PortletWindowList
- Parameters:
id
- the window id.
- Returns:
- the portlet window object or null if the list does not
contain a portlet window with the given id
add
public void add(org.apache.pluto.om.window.PortletWindow window)
- Add a portlet window to the list
- Specified by:
add
in interface org.apache.pluto.om.window.PortletWindowListCtrl
- Parameters:
window
- the porlet window to add
remove
public void remove(org.apache.pluto.om.common.ObjectID id)
- Remove the portlet window with the given Id from the list
- Specified by:
remove
in interface org.apache.pluto.om.window.PortletWindowListCtrl
- Parameters:
id
- the Id of the portlet window which should be removed
Copyright © 2003-2004 . All Rights Reserved.