org.apache.pluto.descriptors.portlet
Class PortletDD

java.lang.Object
  extended byorg.apache.pluto.descriptors.portlet.PortletDD

public class PortletDD
extends java.lang.Object

Bare bones implementation of the Portlet descriptor. FIXME: Hmmm... What do you mean, David? --ZHENG Zhong Eventually this should be flushed out :), but for the sake of timing I'll be lazy for now.

Since:
Mar 6, 2005

Constructor Summary
PortletDD()
          Default no-arg constructor.
 
Method Summary
 java.util.List getDescriptions()
           
 java.util.List getDisplayNames()
           
 int getExpirationCache()
           
 java.util.List getInitParams()
           
 java.lang.String getPortletClass()
          Retrieve the name of the portlet class.
 PortletInfoDD getPortletInfo()
           
 java.lang.String getPortletName()
          Retrieve the unique name of the portlet.
 PortletPreferencesDD getPortletPreferences()
           
 java.lang.String getResourceBundle()
           
 java.util.List getSecurityRoleRefs()
          Retrieve the security role references for this portlet.
 java.util.List getSupportedLocales()
           
 java.util.List getSupports()
           
 int hashCode()
          Returns the hash code for this instance.
 void setDescriptions(java.util.List descriptions)
           
 void setDisplayNames(java.util.List displayNames)
           
 void setExpirationCache(int expirationCache)
           
 void setInitParams(java.util.List initParams)
           
 void setPortletClass(java.lang.String portletClass)
          Set the name of the portlet class.
 void setPortletInfo(PortletInfoDD portletInfo)
           
 void setPortletName(java.lang.String portletName)
          Set the unique name of the portlet.
 void setPortletPreferences(PortletPreferencesDD portletPreferences)
           
 void setResourceBundle(java.lang.String resourceBundle)
           
 void setSecurityRoleRefs(java.util.List securityRoleRefs)
          Set the security role references for this portlet.
 void setSupportedLocales(java.util.List supportedLocales)
           
 void setSupports(java.util.List supports)
           
 java.lang.String toString()
          Returns a string representation of this instance.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PortletDD

public PortletDD()
Default no-arg constructor.

Method Detail

getPortletName

public java.lang.String getPortletName()
Retrieve the unique name of the portlet.

Returns:

setPortletName

public void setPortletName(java.lang.String portletName)
Set the unique name of the portlet.

Parameters:
portletName - Value of the portlet-name element for this portlet in portlet.xml.
Throws:
java.lang.IllegalArgumentException - if the name has a period since it is used to create the portlet ID in PortletWindowConfig.createPortletId() using a dot to separate the context path from the portlet name.

getDisplayNames

public java.util.List getDisplayNames()

setDisplayNames

public void setDisplayNames(java.util.List displayNames)

getDescriptions

public java.util.List getDescriptions()

setDescriptions

public void setDescriptions(java.util.List descriptions)

getExpirationCache

public int getExpirationCache()

setExpirationCache

public void setExpirationCache(int expirationCache)

getPortletClass

public java.lang.String getPortletClass()
Retrieve the name of the portlet class.

Returns:
the fully qualified portlet class name.

setPortletClass

public void setPortletClass(java.lang.String portletClass)
Set the name of the portlet class.

Parameters:
portletClass -

getResourceBundle

public java.lang.String getResourceBundle()

setResourceBundle

public void setResourceBundle(java.lang.String resourceBundle)

getPortletInfo

public PortletInfoDD getPortletInfo()

setPortletInfo

public void setPortletInfo(PortletInfoDD portletInfo)

getSupports

public java.util.List getSupports()

setSupports

public void setSupports(java.util.List supports)

getSupportedLocales

public java.util.List getSupportedLocales()

setSupportedLocales

public void setSupportedLocales(java.util.List supportedLocales)

getInitParams

public java.util.List getInitParams()

setInitParams

public void setInitParams(java.util.List initParams)

getPortletPreferences

public PortletPreferencesDD getPortletPreferences()

setPortletPreferences

public void setPortletPreferences(PortletPreferencesDD portletPreferences)

getSecurityRoleRefs

public java.util.List getSecurityRoleRefs()
Retrieve the security role references for this portlet.

Returns:

setSecurityRoleRefs

public void setSecurityRoleRefs(java.util.List securityRoleRefs)
Set the security role references for this portlet.

Parameters:
securityRoleRefs -

toString

public java.lang.String toString()
Returns a string representation of this instance. FIXME: more info!

Returns:
a string representation of this instance.

hashCode

public int hashCode()
Returns the hash code for this instance.

Returns:
the hash code for this instance.


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