public final class DefaultValidationListener extends Object implements javax.faces.event.ActionListener, javax.faces.component.StateHolder
Constructor and Description |
---|
DefaultValidationListener()
Default constructor.
|
DefaultValidationListener(String idBase,
String entityKey,
javax.el.ValueExpression modelExpression,
javax.el.ValueExpression valueExpression,
Deque<org.lunarray.model.descriptor.model.property.PropertyDescriptor<?,?>> prefixes)
Default constructor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
isTransient() |
void |
processAction(javax.faces.event.ActionEvent actionEvent) |
void |
restoreState(javax.faces.context.FacesContext context,
Object state) |
Object |
saveState(javax.faces.context.FacesContext context) |
void |
setFacesContext(javax.faces.context.FacesContext facesContext)
Sets a new value for the facesContext field.
|
void |
setTransient(boolean newTransientValue) |
public DefaultValidationListener()
public DefaultValidationListener(String idBase, String entityKey, javax.el.ValueExpression modelExpression, javax.el.ValueExpression valueExpression, Deque<org.lunarray.model.descriptor.model.property.PropertyDescriptor<?,?>> prefixes)
idBase
- The id base.entityKey
- The entity key. May not be null.modelExpression
- The model expression. May not be null.valueExpression
- The value expression. May not be null.prefixes
- The property prefixes. May not be null.public boolean isTransient()
isTransient
in interface javax.faces.component.StateHolder
public void processAction(javax.faces.event.ActionEvent actionEvent)
processAction
in interface javax.faces.event.ActionListener
public void restoreState(javax.faces.context.FacesContext context, Object state)
restoreState
in interface javax.faces.component.StateHolder
public Object saveState(javax.faces.context.FacesContext context)
saveState
in interface javax.faces.component.StateHolder
public void setFacesContext(javax.faces.context.FacesContext facesContext)
facesContext
- The new value for the facesContext field.public void setTransient(boolean newTransientValue)
setTransient
in interface javax.faces.component.StateHolder
Copyright © 2010–2014 Lunar Ray. All rights reserved.