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

java.lang.Object
  extended by org.apache.jetspeed.om.portlet.impl.CustomPortletModeImpl
All Implemented Interfaces:
java.io.Serializable, org.apache.pluto.container.om.portlet.CustomPortletMode

public class CustomPortletModeImpl
extends java.lang.Object
implements CustomPortletMode

See Also:
Serialized Form

Field Summary
protected  javax.portlet.PortletMode customMode
           
protected  java.lang.String customName
           
protected  java.util.List<Description> descriptions
           
protected  javax.portlet.PortletMode mappedMode
           
protected  java.lang.String mappedName
           
protected  java.lang.Boolean portalManaged
           
 
Constructor Summary
CustomPortletModeImpl()
           
 
Method Summary
 Description addDescription(java.lang.String lang)
           
 boolean equals(java.lang.Object object)
           
 javax.portlet.PortletMode getCustomMode()
           
 Description getDescription(java.util.Locale locale)
           
 java.util.List<Description> getDescriptions()
           
 javax.portlet.PortletMode getMappedMode()
           
 java.lang.String getPortletMode()
           
 int hashCode()
           
 boolean isPortalManaged()
           
 void setMappedName(java.lang.String mappedName)
           
 void setPortalManaged(boolean value)
           
 void setPortletMode(java.lang.String customName)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

customName

protected java.lang.String customName

mappedName

protected java.lang.String mappedName

portalManaged

protected java.lang.Boolean portalManaged

descriptions

protected java.util.List<Description> descriptions

customMode

protected transient javax.portlet.PortletMode customMode

mappedMode

protected transient javax.portlet.PortletMode mappedMode
Constructor Detail

CustomPortletModeImpl

public CustomPortletModeImpl()
Method Detail

setPortletMode

public void setPortletMode(java.lang.String customName)

setMappedName

public void setMappedName(java.lang.String mappedName)

getCustomMode

public javax.portlet.PortletMode getCustomMode()

getMappedMode

public javax.portlet.PortletMode getMappedMode()

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

equals

public boolean equals(java.lang.Object object)
Overrides:
equals in class java.lang.Object

getDescription

public Description getDescription(java.util.Locale locale)
Specified by:
getDescription in interface org.apache.pluto.container.om.portlet.CustomPortletMode

getDescriptions

public java.util.List<Description> getDescriptions()
Specified by:
getDescriptions in interface org.apache.pluto.container.om.portlet.CustomPortletMode

addDescription

public Description addDescription(java.lang.String lang)
Specified by:
addDescription in interface org.apache.pluto.container.om.portlet.CustomPortletMode

getPortletMode

public java.lang.String getPortletMode()
Specified by:
getPortletMode in interface org.apache.pluto.container.om.portlet.CustomPortletMode

isPortalManaged

public boolean isPortalManaged()
Specified by:
isPortalManaged in interface org.apache.pluto.container.om.portlet.CustomPortletMode

setPortalManaged

public void setPortalManaged(boolean value)
Specified by:
setPortalManaged in interface org.apache.pluto.container.om.portlet.CustomPortletMode


Copyright © 1999-2011 The Apache Software Foundation. All Rights Reserved.