Class RemoteCommand
java.lang.Object
javax.faces.component.UIComponent
javax.faces.component.UIComponentBase
javax.faces.component.UICommand
org.primefaces.extensions.component.remotecommand.RemoteCommand
- All Implemented Interfaces:
EventListener
,javax.faces.component.ActionSource
,javax.faces.component.ActionSource2
,javax.faces.component.PartialStateHolder
,javax.faces.component.StateHolder
,javax.faces.component.TransientStateHolder
,javax.faces.event.ComponentSystemEventListener
,javax.faces.event.FacesListener
,javax.faces.event.SystemEventListenerHolder
,org.primefaces.component.api.AjaxSource
public class RemoteCommand
extends javax.faces.component.UICommand
implements org.primefaces.component.api.AjaxSource
Component class for the
RemoteCommand
component.- Since:
- 0.2
- Version:
- $Revision$
- Author:
- Thomas Andraschko / last modified by $Author$
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprotected static enum
Properties that are tracked by state saving. -
Field Summary
FieldsFields inherited from class javax.faces.component.UIComponent
ATTRS_WITH_DECLARED_DEFAULT_VALUES, BEANINFO_KEY, bindings, COMPOSITE_COMPONENT_TYPE_KEY, COMPOSITE_FACET_NAME, CURRENT_COMPONENT, CURRENT_COMPOSITE_COMPONENT, FACETS_KEY, HONOR_CURRENT_COMPONENT_ATTRIBUTES_PARAM_NAME, VIEW_LOCATION_KEY
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
broadcast
(javax.faces.event.FacesEvent event) protected void
javax.el.MethodExpression
protected List
<AbstractParameter> protected List
<AssignableParameter> protected Object[]
getConvertedMethodParameters
(javax.faces.context.FacesContext context) getDelay()
getForm()
protected List
<MethodParameter> getName()
getParameterValue
(javax.faces.context.FacesContext context, String name) int
boolean
boolean
isAsync()
boolean
boolean
isGlobal()
boolean
boolean
boolean
boolean
boolean
boolean
saveState
(javax.faces.context.FacesContext context) void
setActionListenerMethodExpression
(javax.el.MethodExpression actionListener) void
setAsync
(boolean async) void
setAutoRun
(boolean autoRun) void
void
void
setGlobal
(boolean global) void
setIgnoreAutoUpdate
(boolean ignoreAutoUpdate) void
setIgnoreComponentNotFound
(boolean ignoreComponentNotFound) void
void
setOncomplete
(String oncomplete) void
setOnerror
(String onerror) void
setOnstart
(String onstart) void
setOnsuccess
(String onsuccess) void
setPartialSubmit
(boolean partialSubmit) void
setPartialSubmitFilter
(String _partialSubmitFilter) void
setProcess
(String process) void
setResetValues
(boolean resetValues) void
setTimeout
(int timeout) void
Methods inherited from class javax.faces.component.UICommand
addActionListener, getAction, getActionExpression, getActionListener, getActionListeners, getValue, isImmediate, queueEvent, removeActionListener, setAction, setActionExpression, setActionListener, setImmediate, setValue
Methods inherited from class javax.faces.component.UIComponentBase
addClientBehavior, addFacesListener, clearInitialState, decode, encodeBegin, encodeChildren, encodeEnd, findComponent, getAttributes, getChildCount, getChildren, getClientBehaviors, getClientId, getDefaultEventName, getEventNames, getFacesContext, getFacesListeners, getFacet, getFacetCount, getFacets, getFacetsAndChildren, getId, getListenersForEventClass, getParent, getPassThroughAttributes, getRenderer, getRendererType, getRendersChildren, getValueBinding, invokeOnComponent, isRendered, isTransient, markInitialState, processDecodes, processRestoreState, processSaveState, processUpdates, processValidators, removeFacesListener, restoreAttachedState, restoreState, saveAttachedState, setId, setParent, setRendered, setRendererType, setTransient, setValueBinding, subscribeToEvent, unsubscribeFromEvent
Methods inherited from class javax.faces.component.UIComponent
encodeAll, getClientId, getCompositeComponentParent, getContainerClientId, getCurrentComponent, getCurrentCompositeComponent, getNamingContainer, getPassThroughAttributes, getResourceBundleMap, getStateHelper, getStateHelper, getTransientStateHelper, getTransientStateHelper, getValueExpression, initialStateMarked, isCompositeComponent, isInView, isVisitable, popComponentFromEL, processEvent, pushComponentToEL, restoreTransientState, saveTransientState, setInView, setValueExpression, visitTree
-
Field Details
-
COMPONENT_TYPE
- See Also:
-
COMPONENT_FAMILY
- See Also:
-
-
Constructor Details
-
RemoteCommand
public RemoteCommand()
-
-
Method Details
-
getFamily
- Overrides:
getFamily
in classjavax.faces.component.UICommand
-
getName
-
setName
-
getUpdate
- Specified by:
getUpdate
in interfaceorg.primefaces.component.api.AjaxSource
-
setUpdate
-
getProcess
- Specified by:
getProcess
in interfaceorg.primefaces.component.api.AjaxSource
-
setProcess
-
getOnstart
- Specified by:
getOnstart
in interfaceorg.primefaces.component.api.AjaxSource
-
setOnstart
-
getOncomplete
- Specified by:
getOncomplete
in interfaceorg.primefaces.component.api.AjaxSource
-
setOncomplete
-
getOnerror
- Specified by:
getOnerror
in interfaceorg.primefaces.component.api.AjaxSource
-
setOnerror
-
getOnsuccess
- Specified by:
getOnsuccess
in interfaceorg.primefaces.component.api.AjaxSource
-
setOnsuccess
-
isGlobal
public boolean isGlobal()- Specified by:
isGlobal
in interfaceorg.primefaces.component.api.AjaxSource
-
setGlobal
public void setGlobal(boolean global) -
isAsync
public boolean isAsync()- Specified by:
isAsync
in interfaceorg.primefaces.component.api.AjaxSource
-
setAsync
public void setAsync(boolean async) -
isPartialSubmit
public boolean isPartialSubmit()- Specified by:
isPartialSubmit
in interfaceorg.primefaces.component.api.AjaxSource
-
setPartialSubmit
public void setPartialSubmit(boolean partialSubmit) -
isAutoRun
public boolean isAutoRun() -
setAutoRun
public void setAutoRun(boolean autoRun) -
getActionListenerMethodExpression
public javax.el.MethodExpression getActionListenerMethodExpression() -
setActionListenerMethodExpression
public void setActionListenerMethodExpression(javax.el.MethodExpression actionListener) -
isPartialSubmitSet
public boolean isPartialSubmitSet()- Specified by:
isPartialSubmitSet
in interfaceorg.primefaces.component.api.AjaxSource
-
isResetValues
public boolean isResetValues()- Specified by:
isResetValues
in interfaceorg.primefaces.component.api.AjaxSource
-
setResetValues
public void setResetValues(boolean resetValues) -
isIgnoreAutoUpdate
public boolean isIgnoreAutoUpdate()- Specified by:
isIgnoreAutoUpdate
in interfaceorg.primefaces.component.api.AjaxSource
-
setIgnoreAutoUpdate
public void setIgnoreAutoUpdate(boolean ignoreAutoUpdate) -
isResetValuesSet
public boolean isResetValuesSet()- Specified by:
isResetValuesSet
in interfaceorg.primefaces.component.api.AjaxSource
-
getDelay
- Specified by:
getDelay
in interfaceorg.primefaces.component.api.AjaxSource
-
setDelay
-
getTimeout
public int getTimeout()- Specified by:
getTimeout
in interfaceorg.primefaces.component.api.AjaxSource
-
setTimeout
public void setTimeout(int timeout) -
getPartialSubmitFilter
- Specified by:
getPartialSubmitFilter
in interfaceorg.primefaces.component.api.AjaxSource
-
setPartialSubmitFilter
-
getForm
- Specified by:
getForm
in interfaceorg.primefaces.component.api.AjaxSource
-
setForm
-
broadcast
public void broadcast(javax.faces.event.FacesEvent event) - Overrides:
broadcast
in classjavax.faces.component.UICommand
-
findChildParameters
protected void findChildParameters() -
getAllParameters
-
getAssignableParameters
-
getMethodParameters
-
getConvertedMethodParameters
-
getParameterValue
-
isAjaxified
public boolean isAjaxified()- Specified by:
isAjaxified
in interfaceorg.primefaces.component.api.AjaxSource
-
isIgnoreComponentNotFound
public boolean isIgnoreComponentNotFound()- Specified by:
isIgnoreComponentNotFound
in interfaceorg.primefaces.component.api.AjaxSource
-
setIgnoreComponentNotFound
public void setIgnoreComponentNotFound(boolean ignoreComponentNotFound) -
saveState
- Specified by:
saveState
in interfacejavax.faces.component.StateHolder
- Overrides:
saveState
in classjavax.faces.component.UIComponentBase
-