org.apache.jetspeed.om.portlet.impl
Class PortletDefinitionListImpl

java.lang.Object
  extended by org.apache.jetspeed.om.portlet.impl.PortletDefinitionListImpl
All Implemented Interfaces:
Serializable, org.apache.pluto.om.Model, org.apache.pluto.om.portlet.PortletDefinitionList

public class PortletDefinitionListImpl
extends Object
implements org.apache.pluto.om.portlet.PortletDefinitionList, Serializable

PortletDefinitionListImpl

Version:
$Id: PortletDefinitionListImpl.java 516448 2007-03-09 16:25:47Z ate $
Author:
Scott T. Weaver
See Also:
Serialized Form

Field Summary
protected  Collection innerCollection
           
 
Constructor Summary
PortletDefinitionListImpl()
           
PortletDefinitionListImpl(Collection collection)
           
 
Method Summary
 boolean add(Object o)
           
 org.apache.pluto.om.portlet.PortletDefinition get(org.apache.pluto.om.common.ObjectID id)
           
 org.apache.pluto.om.portlet.PortletDefinition get(String name)
          Retrieves a PortletDefinition from this collection by the PortletDefinitions proper name
 Collection getInnerCollection()
           
 Iterator iterator()
           
 boolean remove(Object o)
           
 void setInnerCollection(Collection collection)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

innerCollection

protected Collection innerCollection
Constructor Detail

PortletDefinitionListImpl

public PortletDefinitionListImpl()

PortletDefinitionListImpl

public PortletDefinitionListImpl(Collection collection)
Method Detail

iterator

public Iterator iterator()
Specified by:
iterator in interface org.apache.pluto.om.portlet.PortletDefinitionList
See Also:
PortletDefinitionList.iterator()

get

public org.apache.pluto.om.portlet.PortletDefinition get(org.apache.pluto.om.common.ObjectID id)
Specified by:
get in interface org.apache.pluto.om.portlet.PortletDefinitionList
See Also:
PortletDefinitionList.get(org.apache.pluto.om.common.ObjectID)

get

public org.apache.pluto.om.portlet.PortletDefinition get(String name)
Retrieves a PortletDefinition from this collection by the PortletDefinitions proper name

Parameters:
name - Proper name of PortletDefinition to locate.
Returns:
PortletDefinition matching name or null if no PortletDefinition within this PortletApplication has that name.

add

public boolean add(Object o)
See Also:
Collection.add(java.lang.Object)

remove

public boolean remove(Object o)
See Also:
Collection.remove(java.lang.Object)

getInnerCollection

public Collection getInnerCollection()
Returns:

setInnerCollection

public void setInnerCollection(Collection collection)
Parameters:
collection -


Copyright © 1999-2007 Apache Software Foundation. All Rights Reserved.