|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object javax.faces.component.UIComponent javax.faces.component.UIComponentBase javax.faces.component.UICommand com.ibm.xsp.component.UICommandEx2
public class UICommandEx2
Not intended to be subclassed.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class javax.faces.component.UIComponentBase |
---|
javax.faces.component.UIComponentBase.AggregatedIterator, javax.faces.component.UIComponentBase.UnmodifiableIterator |
Nested classes/interfaces inherited from class javax.faces.component.UIComponent |
---|
javax.faces.component.UIComponent.StateMap, javax.faces.component.UIComponent.StateMapEntry |
Field Summary | |
---|---|
static java.lang.String |
COMPONENT_FAMILY
The standard component family for this component. |
static java.lang.String |
EXEC_COMPLETE
|
static java.lang.String |
EXEC_PARTIAL
|
static java.lang.String |
MODE_COMPLETE
|
static java.lang.String |
MODE_NOREFRESH
|
static java.lang.String |
MODE_PARTIAL
|
Fields inherited from class javax.faces.component.UICommand |
---|
COMPONENT_TYPE |
Fields inherited from class javax.faces.component.UIComponentBase |
---|
EMPTY_ITERATOR |
Fields inherited from class javax.faces.component.UIComponent |
---|
_xspStateId |
Constructor Summary | |
---|---|
UICommandEx2()
|
Method Summary | |
---|---|
boolean |
doNavigation(javax.faces.context.FacesContext context,
javax.faces.event.ActionEvent event,
java.lang.Object outcome)
|
boolean |
doSave(javax.faces.context.FacesContext context,
javax.faces.event.ActionEvent event,
java.lang.Object outcome)
Return true if a save should be performed. |
void |
encodeBegin(javax.faces.context.FacesContext context)
|
java.lang.String |
getExecId()
Get the id of the component to be executed. |
java.lang.String |
getExecMode()
Return the execution mode for this command. |
java.lang.String |
getFamily()
|
java.lang.String |
getOnComplete()
Get the client script to execute after the AJAX request is completed. |
java.lang.String |
getOnError()
Get the client script to execute when an error occurred. |
java.lang.String |
getOnStart()
Get the client script to execute when the AJAX request is triggered. |
java.lang.String |
getRefreshId()
Get the id of the component to be refreshed. |
java.lang.String |
getRefreshMode()
Return the partial refresh mode |
boolean |
isDisableValidators()
Return true if the validators should be disabled when this command is fired |
boolean |
isNavigate()
Return true if navigation should be done for this command. |
boolean |
isPartialRefresh()
Check if the submit mode is a partial refresh. |
boolean |
isSave()
Return true if save should be done for this command. |
void |
restoreState(javax.faces.context.FacesContext context,
java.lang.Object _state)
|
java.lang.Object |
saveState(javax.faces.context.FacesContext context)
|
void |
setDisableValidators(boolean disableValidators)
Define if the validators should be disabled when this command is fired |
void |
setExecId(java.lang.String execId)
Set the id of the component to be refreshed. |
void |
setExecMode(java.lang.String execMode)
Set the execution mode. |
void |
setNavigate(boolean navigate)
Set true if navigation should be done for this command. |
void |
setOnComplete(java.lang.String onComplete)
Set the client script to execute after the AJAX request is completed. |
void |
setOnError(java.lang.String onError)
Set the client script to execute when an error occurred. |
void |
setOnStart(java.lang.String onStart)
Set the client script to execute when the AJAX request is triggered. |
void |
setRefreshId(java.lang.String refreshId)
Set the id of the component to be refreshed. |
void |
setRefreshMode(java.lang.String refreshMode)
Set true if a partial refresh should be done for this command. |
void |
setSave(boolean save)
Set true if save should be done for this command. |
Methods inherited from class javax.faces.component.UICommand |
---|
addActionListener, broadcast, getAction, getActionListener, getActionListeners, getValue, isImmediate, queueEvent, removeActionListener, setAction, setActionListener, setImmediate, setValue |
Methods inherited from class javax.faces.component.UIComponentBase |
---|
_xspCleanTransientData, _xspGetReadOnlyObj, _xspGetRendererData, _xspRemoveReadOnlyObj, _xspRemoveRendererData, _xspSetIdUnchecked, _xspSetReadOnlyObj, _xspSetRendererData, addFacesListener, decode, encodeChildren, encodeEnd, findComponent, getAttributes, getChildCount, getChildren, getClientId, getFacesContext, getFacesListeners, getFacet, getFacetCount, getFacets, getFacetsAndChildren, getId, getParent, getRenderer, getRendererType, getRendersChildren, getValueBinding, isRendered, isTransient, processDecodes, processRestoreState, processSaveState, processUpdates, processValidators, removeFacesListener, restoreAttachedState, saveAttachedState, setId, setParent, setRendered, setRendererType, setTransient, setValueBinding |
Methods inherited from class javax.faces.component.UIComponent |
---|
_xspGetStateId, _xspGetStateMap, _xspRestoreAttribute, _xspRestoreState, _xspSaveState, invokeOnComponent, isVisitable, markInitialState, setControlState, visitTree |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String COMPONENT_FAMILY
The standard component family for this component.
public static final java.lang.String MODE_COMPLETE
public static final java.lang.String MODE_PARTIAL
public static final java.lang.String MODE_NOREFRESH
public static final java.lang.String EXEC_COMPLETE
public static final java.lang.String EXEC_PARTIAL
Constructor Detail |
---|
public UICommandEx2()
Method Detail |
---|
public java.lang.String getFamily()
getFamily
in class javax.faces.component.UICommand
public boolean isNavigate()
public void setNavigate(boolean navigate)
public boolean isSave()
public void setSave(boolean save)
public java.lang.String getRefreshMode()
public void setRefreshMode(java.lang.String refreshMode)
public boolean isDisableValidators()
public void setDisableValidators(boolean disableValidators)
public java.lang.String getRefreshId()
public void setRefreshId(java.lang.String refreshId)
- public boolean isPartialRefresh()
public java.lang.String getExecMode()
public void setExecMode(java.lang.String execMode)
public java.lang.String getExecId()
public void setExecId(java.lang.String execId)
- public java.lang.String getOnStart()
public void setOnStart(java.lang.String onStart)
- public java.lang.String getOnComplete()
public void setOnComplete(java.lang.String onComplete)
- public java.lang.String getOnError()
public void setOnError(java.lang.String onError)
- public void encodeBegin(javax.faces.context.FacesContext context) throws java.io.IOException
encodeBegin
in class javax.faces.component.UIComponentBase
java.io.IOException
public java.lang.Object saveState(javax.faces.context.FacesContext context)
saveState
in interface javax.faces.component.StateHolder
saveState
in class javax.faces.component.UICommand
public void restoreState(javax.faces.context.FacesContext context, java.lang.Object _state)
restoreState
in interface javax.faces.component.StateHolder
restoreState
in class javax.faces.component.UICommand
public boolean doNavigation(javax.faces.context.FacesContext context, javax.faces.event.ActionEvent event, java.lang.Object outcome)
doNavigation
in interface com.ibm.xsp.component.FacesNavigationBehaviour
public boolean doSave(javax.faces.context.FacesContext context, javax.faces.event.ActionEvent event, java.lang.Object outcome)
FacesSaveBehaviour
doSave
in interface FacesSaveBehaviour
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |