org.apache.pluto.driver.services.portal
Interface SupportedWindowStateService

All Superinterfaces:
DriverConfigurationService
All Known Implementing Classes:
SupportedWindowStateServiceImpl

public interface SupportedWindowStateService
extends DriverConfigurationService

Allows clients to see if a particular WindowState is supported by the portal, a particular portlet, or both.

Since:
Feb 27, 2007
Version:
$Id: SupportedWindowStateService.java 588475 2007-10-26 02:29:58Z cdoremus $
See Also:
WindowState

Method Summary
 boolean isWindowStateSupported(java.lang.String portletId, java.lang.String state)
          Returns true if the portlet and the portal support the supplied window state.
 boolean isWindowStateSupportedByPortal(java.lang.String state)
          Returns true if the portal supports the supplied window state.
 boolean isWindowStateSupportedByPortlet(java.lang.String portletId, java.lang.String state)
          Returns true if the portlet supports the supplied window state.
 
Methods inherited from interface org.apache.pluto.driver.services.portal.DriverConfigurationService
destroy, init
 

Method Detail

isWindowStateSupported

boolean isWindowStateSupported(java.lang.String portletId,
                               java.lang.String state)
Returns true if the portlet and the portal support the supplied window state.

Parameters:
portletId - the id uniquely identifying the portlet
state - the portlet window state
Returns:
true if the portlet and portal both support the supplied window state

isWindowStateSupportedByPortal

boolean isWindowStateSupportedByPortal(java.lang.String state)
Returns true if the portal supports the supplied window state.

Parameters:
state - the portlet window state
Returns:
true if the portal supports the supplied window state

isWindowStateSupportedByPortlet

boolean isWindowStateSupportedByPortlet(java.lang.String portletId,
                                        java.lang.String state)
Returns true if the portlet supports the supplied window state.

Parameters:
portletId - the id uniquely identifying the portlet
state - the window state
Returns:
true if the portlet support the supplied state


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