|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.shale.dialog.basic.config.AbstractState org.apache.shale.dialog.basic.config.ViewStateImpl
public class ViewStateImpl
ViewStateImpl
is a basic implementation of
ViewState
.
Constructor Summary | |
---|---|
ViewStateImpl()
|
Method Summary | |
---|---|
String |
getViewId()
Return the view identifier of the JavaServer Faces view to render if this state is entered. |
boolean |
isRedirect()
Return |
void |
setRedirect(boolean redirect)
Set the redirect flag for this state. |
void |
setViewId(String viewId)
Set the view identifier of the JavaServer Faces view to render if this state is entered. |
String |
toString()
Render a printable version of this instance. |
Methods inherited from class org.apache.shale.dialog.basic.config.AbstractState |
---|
addTransition, findTransition, getDialog, getName, getTransitionOutcomes, removeTransition, setDialog, setName |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.apache.shale.dialog.basic.model.State |
---|
findTransition, getDialog, getName, getTransitionOutcomes |
Constructor Detail |
---|
public ViewStateImpl()
Method Detail |
---|
public boolean isRedirect()
Return true
if the transition to this view should
be done with a redirect, instead of the normal view creation process.
isRedirect
in interface ViewState
public String getViewId()
Return the view identifier of the JavaServer Faces view to render if this state is entered.
getViewId
in interface ViewState
public String toString()
Render a printable version of this instance.
toString
in class Object
public void setRedirect(boolean redirect)
Set the redirect flag for this state.
redirect
- The new redirect flagpublic void setViewId(String viewId)
Set the view identifier of the JavaServer Faces view to render if this state is entered.
viewId
- The new view identifier
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |