com.ibm.portal.dynamicui

Interface DynamicUIInfo

All Superinterfaces:
java.io.Serializable
All known subinterfaces:
DynamicUICtrl

  1. public interface DynamicUIInfo
  2. 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

Modifier and Type Method and Description
  1. boolean
canPageBeClosed(ObjectID objectID)
Returns whether a page can be closed or not.
  1. boolean
canPortletBeClosed(ObjectID portletWindowID)
Returns whether a portlet on the current page can be closed or not.

Method Detail

canPageBeClosed

  1. boolean canPageBeClosed(ObjectID objectID)
  2. 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:

canPortletBeClosed

  1. boolean canPortletBeClosed(ObjectID portletWindowID)
  2. 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: