org.apache.jetspeed.portlet
Interface PortletConfig


Deprecated. since 6.0. Support of the IBM portlet API may be removed in a future release of WebSphere Portal. Use of the Java Portlet API (javax.portlet) is recommended instead.

public interface PortletConfig

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()
          Deprecated. 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)
          Deprecated. Returns whether the portlet supports the given mode for the given client.
 boolean supports(PortletWindow.State state)
          Deprecated. Returns whether the portlet window supports the given state
 

Method Detail

getName

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

boolean supports(PortletWindow.State state)
Deprecated. 
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

boolean supports(Portlet.Mode mode,
                 Client client)
Deprecated. 
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

PortletContext getContext()
Deprecated. 
Returns the portlet context.

Returns:
the portlet context