|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface DynamicUIManagementFactoryService
The DynamicUIManagementFactoryService provides access to instances of DynamicUIInfo
and DynamicUICtrl
. The returned instances are associated a dynamic ui management configuration that is defined via its name. Portlets can get access to an instance of this service as follows: PortletServiceHome dynamicUIManagementFactoryServiceHome = (PortletServiceHome)ctx.lookup("portletservice/com.ibm.portal.portlet.service.dynamicui.DynamicUIManagementFactoryService"); DynamicUIManagementFactoryService dynamicUIManagementFactoryService = (DynamicUIManagementFactoryService) dynamicUIManagementFactoryServiceHome.getPortletService(DynamicUIManagementFactoryService.class);
Method Summary | |
---|---|
DynamicUICtrl |
getDynamicUICtrl(javax.portlet.ActionRequest request,
javax.portlet.ActionResponse response,
java.lang.String configurationName)
Returns the DynamicUICtrl for a given configuration. |
DynamicUIInfo |
getDynamicUIInfo(javax.portlet.PortletRequest request,
javax.portlet.PortletResponse response,
java.lang.String configurationName)
Returns the DynamicUIInfo for a given configuration. |
void |
setDefaultRedirectPage(javax.portlet.ActionRequest request,
javax.portlet.ActionResponse response,
java.lang.String configurationName,
ObjectID pageID)
Sets the default redirect page for this DynamicUIManagement instance that should be used in the case that the currently selected page is closed and there are no other dynamic pages. |
Method Detail |
---|
DynamicUIInfo getDynamicUIInfo(javax.portlet.PortletRequest request, javax.portlet.PortletResponse response, java.lang.String configurationName) throws DynamicUIManagementException
configurationName
- The name of the configuration. It is not allowed to pass null
for this parameter.request
- The portlet request. It is not allowed to pass null
for this parameter.response
- The portlet response. It is not allowed to pass null
for this parameter.
FactoryException
- The DynamicUIInfo cannot be created.
DynamicUIManagementException
DynamicUICtrl getDynamicUICtrl(javax.portlet.ActionRequest request, javax.portlet.ActionResponse response, java.lang.String configurationName) throws DynamicUIManagementException
request
- The action request. It is not allowed to pass null
for this parameter.response
- The action response. It is not allowed to pass null
for this parameter.configurationName
- The name of the configuration. It is not allowed to pass null
for this parameter.
FactoryException
- The DynamicUIController cannot be created.
DynamicUIManagementException
void setDefaultRedirectPage(javax.portlet.ActionRequest request, javax.portlet.ActionResponse response, java.lang.String configurationName, ObjectID pageID) throws DynamicUIManagementException
This method overwrites any other settings.
The redirect page can only be set when no dynamic pages exist.
request
- The action request. It is not allowed to pass null
for this parameter.response
- The action response. It is not allowed to pass null
for this parameter.configurationName
- The name of the configuration. It is not allowed to pass null
for this parameter.pageID
- The object id of the default redirect page. If null
null is passed, the default settings are used again.
FactoryException
- Thrown when the redirect page cannot be set.
DynamicUIManagementException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |