|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.liferay.faces.bridge.context.FacesViewImpl
public class FacesViewImpl
| Constructor Summary | |
|---|---|
FacesViewImpl(String viewId,
List<String> configuredExtensions)
|
|
FacesViewImpl(String viewId,
String navigationQueryString,
List<String> configuredExtensions)
|
|
| Method Summary | |
|---|---|
String |
getExtension()
Determines the extension (such as *.faces) used by the extension-mapped servlet-mapping. |
String |
getQueryString()
Returns the query-string which may contain navigation parameters such as Bridge.PORTLET_MODE_PARAMETER,
Bridge.NONFACES_TARGET_PATH_PARAMETER, Bridge.PORTLET_SECURE_PARAMETER, Bridge.PORTLET_WINDOWSTATE_PARAMETER, Bridge.FACES_VIEW_ID_PARAMETER, or Bridge.FACES_VIEW_PATH_PARAMETER. |
String |
getServletPath()
Determines the servlet-path (such as /faces/views) used by the path-mapped servlet-mapping. |
String |
getViewId()
Returns the viewId associated with this view. |
boolean |
isExtensionMapped()
Flag indicating whether or not the view is mapped to the FacesServlet via
extension-mapping (such as *.faces) or some other extension. |
boolean |
isPathMapped()
Flag indicating whether or not the view is mapped to the FacesServlet via path-mapping
(such as /faces/views/*) or some other extension. |
boolean |
isServletMapped()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public FacesViewImpl(String viewId,
List<String> configuredExtensions)
public FacesViewImpl(String viewId,
String navigationQueryString,
List<String> configuredExtensions)
| Method Detail |
|---|
public boolean isExtensionMapped()
FacesViewFacesServlet via
extension-mapping (such as *.faces) or some other extension.
isExtensionMapped in interface FacesViewtrue if extension-mapped, otherwise false.public boolean isPathMapped()
FacesViewFacesServlet via path-mapping
(such as /faces/views/*) or some other extension.
isPathMapped in interface FacesViewtrue if extension-mapped, otherwise false.public boolean isServletMapped()
public String getExtension()
FacesView
getExtension in interface FacesViewnull.public String getQueryString()
FacesViewBridge.PORTLET_MODE_PARAMETER,
Bridge.NONFACES_TARGET_PATH_PARAMETER, Bridge.PORTLET_SECURE_PARAMETER, Bridge.PORTLET_WINDOWSTATE_PARAMETER, Bridge.FACES_VIEW_ID_PARAMETER, or Bridge.FACES_VIEW_PATH_PARAMETER. Note that "navigation" does not refer to JSF navigation-rules, but rather
changes in PortletMode, WindowState, etc. It could also contain user-define name=value parameters
specified in a Bridge.VIEW_ID request attribute.
getQueryString in interface FacesViewpublic String getServletPath()
FacesView
getServletPath in interface FacesViewnull.public String getViewId()
FacesView
getViewId in interface FacesView
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||