com.ibm.portal.dynamicui
Interface DynamicUIInfo
All Superinterfaces:
java.io.Serializable
All known subinterfaces:
- 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:
Method Summary
Modifier and Type | Method and Description |
---|---|
|
canPageBeClosed(ObjectID objectID)
Returns whether a page can be closed or not.
|
|
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:
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: