|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.webmethods.caf.faces.bean.BaseFacesBean
com.webmethods.caf.faces.bean.BaseFacesSessionBean
com.webmethods.caf.faces.bean.BaseViewBean
com.webmethods.caf.faces.bean.BasePortletPageBean
public class BasePortletPageBean
Bean for representing a portlet page, used for navigation of the page.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class com.webmethods.caf.faces.bean.BaseViewBean |
---|
BaseViewBean.ClientIdsContentProvider |
Field Summary |
---|
Fields inherited from class com.webmethods.caf.faces.bean.BaseViewBean |
---|
clientIds, initialized |
Fields inherited from class com.webmethods.caf.faces.bean.BaseFacesSessionBean |
---|
fExpireWithPageFlow |
Fields inherited from class com.webmethods.caf.faces.bean.BaseFacesBean |
---|
DATA_BINDING_CLIENTS, OUTCOME_ERROR, OUTCOME_OK, resourcesProviders |
Constructor Summary | |
---|---|
BasePortletPageBean()
|
Method Summary | |
---|---|
void |
beforeWorkspaceLoad(ActionRequest request,
ActionResponse response,
String navigationType)
Handle state initialization updates for a workspace load request. |
protected void |
callInitialize()
Initializes the bean if not already done. |
protected void |
clearNavigationState()
Clear the portlet navigation state cache. |
protected IPortletURL |
createActionUrl()
Creates action portletUrl for the current portlet |
protected IPortletURL |
createRenderUrl()
Creates render portletUrl for the current portlet. |
protected BaseFacesPreferencesBean |
getActivePreferencesBean()
Returns action preferences bean. |
protected PortletPreferences |
getPreferences()
Obtains instance of the Portlet Preferences for the current portlet |
String |
getRequestID()
Returns the request ID used to invoke reach this page. |
void |
gotoPage(String pageURI,
boolean redirect)
Switches to the specified view page. |
protected void |
switchToPortletMode(PortletMode mode)
Switches the current portlet mode to the requested mode. |
Methods inherited from class com.webmethods.caf.faces.bean.BaseFacesSessionBean |
---|
getExpireWithPageFlow, setExpireWithPageFlow, valueBound, valueUnbound |
Methods inherited from class com.webmethods.caf.faces.bean.BaseFacesBean |
---|
createMethodBinding, createValueBinding, error, error, error, error, error, getBean, getFacesContext, getLocale, getResourceInputStream, getResources, getResourcesProvider, getRootCause, getStackTrace, getTreeAttribute, isUserInRole, log, log, log, putTreeAttribute, resetDataBindingClients, resolveDataBinding, resolveDataBinding, resolveExpression, setValue |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public BasePortletPageBean()
Method Detail |
---|
protected BaseFacesPreferencesBean getActivePreferencesBean()
null
for pages
that are not associated with any portlet
protected void switchToPortletMode(PortletMode mode) throws PortletModeException
mode
- the portlet mode to switch to
PortletModeException
- if the requested portlet mode is not supported or allowedpublic void gotoPage(String pageURI, boolean redirect)
gotoPage
in class BaseViewBean
pageURI
- the uri of the page, for example: /portlet1/mypage.viewredirect
- true to redirect to the page, false to just change the
FacesContext view rootprotected IPortletURL createRenderUrl() throws Exception
IPortletURL
Exception
- if portlet url cannot be createdprotected IPortletURL createActionUrl() throws Exception
IPortletURL
Exception
- if portlet url cannot be createdprotected PortletPreferences getPreferences() throws Exception
Exception
- if this is made outside of the PortletContextprotected void callInitialize()
BaseViewBean
callInitialize
in class BaseViewBean
public String getRequestID()
String
request ID.public void beforeWorkspaceLoad(ActionRequest request, ActionResponse response, String navigationType)
navigationType
- the navigation type. usually 'mws_lhs' or 'mws_tab'protected void clearNavigationState()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |