net.sf.jportlet.portlet.descriptor
Class PortletDescriptor
java.lang.Object
|
+--net.sf.jportlet.portlet.descriptor.PortletDescriptor
- public class PortletDescriptor
- extends java.lang.Object
Descriptor of a Portlet
- Author:
- Herve Tchepannou
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PortletDescriptor
public PortletDescriptor()
addAuthConstraintDescriptor
public void addAuthConstraintDescriptor(net.sf.jportlet.portlet.descriptor.AuthConstraintDescriptor descriptor)
addCacheDescriptor
public void addCacheDescriptor(net.sf.jportlet.portlet.descriptor.CacheDescriptor descriptor)
addInitParameter
public void addInitParameter(java.lang.String name,
java.lang.String value)
addLanguageDescriptor
public void addLanguageDescriptor(net.sf.jportlet.portlet.descriptor.LanguageDescriptor descriptor)
addMarkupDescriptor
public void addMarkupDescriptor(net.sf.jportlet.portlet.descriptor.MarkupDescriptor descriptor)
throws PortletException
PortletException
addWebflowActionDescriptor
public void addWebflowActionDescriptor(net.sf.jportlet.portlet.descriptor.WebflowActionDescriptor descriptor)
throws PortletException
PortletException
getActionListenerClass
public java.lang.Class getActionListenerClass()
getAuthConstraintDescriptor
public net.sf.jportlet.portlet.descriptor.AuthConstraintDescriptor getAuthConstraintDescriptor(Portlet.Mode mode)
getBundle
public java.util.ResourceBundle getBundle(java.util.Locale locale)
- Returns the
ResourceBundle
of the portlet
- Parameters:
locale
-
- Returns:
- ResourceBundle
getCacheDescriptor
public net.sf.jportlet.portlet.descriptor.CacheDescriptor getCacheDescriptor(Portlet.Mode mode)
getContextName
public java.lang.String getContextName()
- Returns:
- String
getContextPath
public java.lang.String getContextPath()
- Returns:
- String
getDefaultLocale
public java.lang.String getDefaultLocale()
getInitParameter
public java.lang.String getInitParameter(java.lang.String name)
getInitParameterNames
public java.util.Enumeration getInitParameterNames()
getLanguageDescriptor
public net.sf.jportlet.portlet.descriptor.LanguageDescriptor getLanguageDescriptor(java.util.Locale locale)
getMessageListenerClass
public java.lang.Class getMessageListenerClass()
getName
public java.lang.String getName()
getPortletClass
public java.lang.Class getPortletClass()
getWebflowAction
public net.sf.jportlet.portlet.descriptor.WebflowActionDescriptor getWebflowAction(java.lang.String name)
- Returns:
- HashMap
setActionListenerClass
public void setActionListenerClass(java.lang.Class actionListenerClass)
setContextName
public void setContextName(java.lang.String contextName)
setDefaultLocale
public void setDefaultLocale(java.lang.String defaultLocale)
setMessageListenerClass
public void setMessageListenerClass(java.lang.Class messageListenerClass)
setName
public void setName(java.lang.String name)
setPortletClass
public void setPortletClass(java.lang.Class portletClass)
supports
public boolean supports(Portlet.Mode mode,
Portlet.Markup markup)
Copyright © 2002 Herve Tchepannou. All Rights Reserved.