org.apache.cocoon.portal.pluto.om.common
Class ContentTypeImpl

java.lang.Object
  extended byorg.apache.cocoon.portal.pluto.om.common.ContentTypeImpl
All Implemented Interfaces:
org.apache.pluto.om.portlet.ContentType, org.apache.pluto.om.Model, Serializable, Support

public class ContentTypeImpl
extends Object
implements org.apache.pluto.om.portlet.ContentType, Serializable, Support

Version:
$Id: ContentTypeImpl.java 325880 2005-10-17 11:57:44Z cziegeler $
See Also:
Serialized Form

Field Summary
 
Fields inherited from interface org.apache.cocoon.portal.pluto.om.common.Support
POST_BUILD, POST_LOAD, POST_STORE, PRE_BUILD, PRE_STORE
 
Constructor Summary
ContentTypeImpl()
           
 
Method Summary
 Collection getCastorPortletModes()
           
 String getContentType()
           
 Iterator getPortletModes()
           
 void postBuild(Object parameter)
           
 void postLoad(Object parameter)
           
 void postStore(Object parameter)
           
 void preBuild(Object parameter)
           
 void preStore(Object parameter)
           
 void setContentType(String contentType)
           
 void setPortletModes(Collection portletModes)
           
 boolean supportsPortletMode(javax.portlet.PortletMode portletMode)
           
 String toString()
           
 String toString(int indent)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ContentTypeImpl

public ContentTypeImpl()
Method Detail

getContentType

public String getContentType()
Specified by:
getContentType in interface org.apache.pluto.om.portlet.ContentType
See Also:
ContentType.getContentType()

getPortletModes

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

postLoad

public void postLoad(Object parameter)
              throws Exception
Specified by:
postLoad in interface Support
Throws:
Exception
See Also:
Support.postLoad(java.lang.Object)

preBuild

public void preBuild(Object parameter)
              throws Exception
Specified by:
preBuild in interface Support
Throws:
Exception
See Also:
Support.preBuild(java.lang.Object)

postBuild

public void postBuild(Object parameter)
               throws Exception
Specified by:
postBuild in interface Support
Throws:
Exception
See Also:
Support.postBuild(java.lang.Object)

preStore

public void preStore(Object parameter)
              throws Exception
Specified by:
preStore in interface Support
Throws:
Exception
See Also:
Support.preStore(java.lang.Object)

postStore

public void postStore(Object parameter)
               throws Exception
Specified by:
postStore in interface Support
Throws:
Exception
See Also:
Support.postStore(java.lang.Object)

setContentType

public void setContentType(String contentType)

setPortletModes

public void setPortletModes(Collection portletModes)

supportsPortletMode

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

toString

public String toString()
See Also:
Object.toString()

toString

public String toString(int indent)

getCastorPortletModes

public Collection getCastorPortletModes()


Copyright ? 1999-2005 The Apache Software Foundation. All Rights Reserved.