org.apache.pluto.portalImpl.om.window.impl
Class PortletWindowListImpl

java.lang.Object
  extended by org.apache.pluto.portalImpl.om.window.impl.PortletWindowListImpl

public class PortletWindowListImpl
extends java.lang.Object


Field Summary
(package private)  java.util.HashMap windows
           
 
Constructor Summary
PortletWindowListImpl()
           
 
Method Summary
 void add(PortletWindow window)
          Add a portlet window to the list
 PortletWindow get(ObjectID id)
          Returns the portlet window object of the given id
 java.util.Iterator iterator()
          Returns the elements of this set
 void remove(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
 

Field Detail

windows

java.util.HashMap windows
Constructor Detail

PortletWindowListImpl

public PortletWindowListImpl()
Method Detail

iterator

public java.util.Iterator iterator()
Returns the elements of this set

Returns:
An iterator containg all elements

get

public PortletWindow get(ObjectID id)
Returns the portlet window object of the given id

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(PortletWindow window)
Add a portlet window to the list

Parameters:
window - the porlet window to add

remove

public void remove(ObjectID id)
Remove the portlet window with the given Id from the list

Parameters:
id - the Id of the portlet window which should be removed