org.apache.cocoon.portal.pluto.om
Class PortletWindowListImpl

java.lang.Object
  extended by org.apache.cocoon.portal.pluto.om.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 Object
implements org.apache.pluto.om.window.PortletWindowList, org.apache.pluto.om.window.PortletWindowListCtrl

Version:
CVS $Id: PortletWindowListImpl.html 1304258 2012-03-23 10:09:27Z ilgrosso $
Author:
Carsten Ziegeler

Constructor Summary
PortletWindowListImpl()
           
 
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
 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
 

Constructor Detail

PortletWindowListImpl

public PortletWindowListImpl()
Method Detail

iterator

public 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 - id of the portlet window object
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 © 1999-2010 The Apache Software Foundation. All Rights Reserved.