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

java.lang.Object
  extended by org.apache.jetspeed.om.portlet.impl.ContentTypeSetImpl
All Implemented Interfaces:
Serializable, org.apache.jetspeed.om.common.portlet.ContentTypeSetComposite, org.apache.pluto.om.Model, org.apache.pluto.om.portlet.ContentTypeSet

public class ContentTypeSetImpl
extends Object
implements org.apache.jetspeed.om.common.portlet.ContentTypeSetComposite, Serializable

Author:
Scott T. Weaver
See Also:
Serialized Form

Field Summary
protected  Collection innerCollection
           
 
Constructor Summary
ContentTypeSetImpl()
           
ContentTypeSetImpl(Collection collection)
           
 
Method Summary
 boolean add(Object o)
           
 void addContentType(org.apache.pluto.om.portlet.ContentType contentType)
           
 org.apache.pluto.om.portlet.ContentType get(String contentType)
           
 Collection getInnerCollection()
           
 Iterator iterator()
           
 boolean remove(Object o)
           
 void setInnerCollection(Collection collection)
           
 boolean supportsPortletMode(javax.portlet.PortletMode mode)
           
 
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

ContentTypeSetImpl

public ContentTypeSetImpl()

ContentTypeSetImpl

public ContentTypeSetImpl(Collection collection)
Method Detail

supportsPortletMode

public boolean supportsPortletMode(javax.portlet.PortletMode mode)
Specified by:
supportsPortletMode in interface org.apache.pluto.om.portlet.ContentTypeSet

get

public org.apache.pluto.om.portlet.ContentType get(String contentType)
Specified by:
get in interface org.apache.pluto.om.portlet.ContentTypeSet
See Also:
ContentTypeSet.get(java.lang.String)

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)

addContentType

public void addContentType(org.apache.pluto.om.portlet.ContentType contentType)
Specified by:
addContentType in interface org.apache.jetspeed.om.common.portlet.ContentTypeSetComposite
See Also:
ContentTypeSetComposite.addContentType(org.apache.pluto.om.portlet.ContentType)

iterator

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

getInnerCollection

public Collection getInnerCollection()
Returns:

setInnerCollection

public void setInnerCollection(Collection collection)
Parameters:
collection -


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