Overview Package Class Tree Serialized Deprecated Index Help PREV class NEXT class SUMMARY: NESTED | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD
org.apache.jetspeed.portlet
Interface PortletConfig
- All Superinterfaces:
- javax.servlet.ServletConfig
- public interface PortletConfig
- extends javax.servlet.ServletConfig
The PortletConfig interface provides the portlet with its configuration. The configuration holds information about the portlet that is valid for all users, and is maintained by the developer. The portlet can therefore only read the configuration.
- Since:
- 4.1
- See Also:
- Portlet
Method Summary PortletContext getContext()
Returns the portlet context.java.lang.String getName()
Deprecated. since 5.1, use PortletSettings.getName() instead to retrieve the name of the concrete portlet.boolean supports(Portlet.Mode mode, Client client)
Returns whether the portlet supports the given mode for the given client.boolean supports(PortletWindow.State state)
Returns whether the portlet window supports the given state
Methods inherited from interface javax.servlet.ServletConfig getInitParameter, getInitParameterNames, getServletContext, getServletName
Method Detail getName
public java.lang.String getName()
- Deprecated. since 5.1, use PortletSettings.getName() instead to retrieve the name of the concrete portlet.
- Returns the name of the portlet. The portlet container needs the portlet name for administration purposes.
- Returns:
- the portlet name
supports
public boolean supports(PortletWindow.State state)
- Returns whether the portlet window supports the given state
- Parameters:
- state - the portlet window state to be supported
- Returns:
- true if the portlet window provides support,
false otherwise
supports
public boolean supports(Portlet.Mode mode, Client client)
- Returns whether the portlet supports the given mode for the given client.
- Parameters:
- mode - the portlet mode to be supported
- client - the client to be supported
- Returns:
- true if the portlet provides support,
false otherwise
getContext
public PortletContext getContext()
- Returns the portlet context.
- Returns:
- the portlet context
Overview Package Class Tree Serialized Deprecated Index Help PREV class NEXT class SUMMARY: NESTED | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD
WebSphere is a trademark of the IBM Corporation in the United States, other countries, or both.
IBM is a trademark of the IBM Corporation in the United States, other countries, or both.