|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface DynamicUIManagementFactoryServiceHome
The DynamicUIManagementFactoryService provides access to instances of DynamicUIInfo
and DynamicUICtrl
.
NOTE: This API may only be used in the scope of an HTTP request in WebSphere Portal, i.e. within a theme.
The API can not be invoked directly by a custom servlet.
Field Summary | |
---|---|
static java.lang.String |
JNDI_NAME
JNDI name of this service |
Method Summary | |
---|---|
ExtendedDynamicUICtrl |
getDynamicUICtrl(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
java.lang.String configurationName)
Returns the DynamicUICtrl for a given configuration. |
DynamicUIInfo |
getDynamicUIInfo(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
java.lang.String configurationName)
Returns the DynamicUIInfo for a given configuration. |
void |
setDefaultRedirectPage(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse 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. |
Field Detail |
---|
static final java.lang.String JNDI_NAME
Method Detail |
---|
DynamicUIInfo getDynamicUIInfo(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse 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 servlet request. It is not allowed to pass null
for this parameter.response
- The servlet response. It is not allowed to pass null
for this parameter.
FactoryException
- The DynamicUIInfo cannot be created.
DynamicUIManagementException
ExtendedDynamicUICtrl getDynamicUICtrl(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, java.lang.String configurationName) throws DynamicUIManagementException
request
- The servlet request. It is not allowed to pass null
for this parameter.response
- The servlet 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.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse 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 servlet request. It is not allowed to pass null
for this parameter.response
- The servlet 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 |