IBM WebSphere Application ServerTM
Release 8

com.ibm.portal.dynamicui
Interface DynamicUIInfo

All Superinterfaces:
java.io.Serializable
All Known Subinterfaces:
DynamicUICtrl

public interface DynamicUIInfo
extends java.io.Serializable

DynamicUIInfo provides access to the read only functions of dynamic ui management.
Since only persistant pages/portlets are supported, these functions always return false. Portlets can get access to DynamicUIInfo via the DynamicUIManagerFactoryService .
DynamicUIInfo must be obtained once per render phase of the portlet and should not be stored.

See Also:
DynamicUIManagerFactoryService

Method Summary
 boolean canPageBeClosed(ObjectID objectID)
          Returns whether a page can be closed or not.
 boolean canPortletBeClosed(ObjectID portletWindowID)
          Returns whether a portlet on the current page can be closed or not.
 

Method Detail

canPageBeClosed

boolean canPageBeClosed(ObjectID objectID)
                        throws DynamicUIManagementException
Returns whether a page can be closed or not.

Parameters:
objectID - The id of the page to be closed. It is not allowed to pass null for this parameter.
Returns:
boolean Indicates whether the page can be closed or not.
Throws:
DynamicUIManagementException

canPortletBeClosed

boolean canPortletBeClosed(ObjectID portletWindowID)
                           throws DynamicUIManagementException
Returns whether a portlet on the current page can be closed or not.

Parameters:
portletWindowID - The id of the portlet window to be closed. It is not allowed to pass null for this parameter.
Returns:
boolean Indicates whether the portlet can be closed or not.
Throws:
DynamicUIManagementException

IBM WebSphere Application ServerTM
Release 8