org.aspsimon.termcomp.infrastructure.validator
Class SRSNameValidator
java.lang.Object
org.aspsimon.termcomp.infrastructure.validator.SRSNameValidator
- All Implemented Interfaces:
- java.io.Serializable, java.util.EventListener, javax.faces.validator.Validator
@Name(value="uniqueSRSNameValidator")
@Validator
@Transactional
public class SRSNameValidator
- extends java.lang.Object
- implements javax.faces.validator.Validator, java.io.Serializable
This is a validator to check that the team name requested does not already
exist.
- Version:
- $Revision: 104 $
- Author:
- binabik
- See Also:
Validator,
Validator,
Serialized Form
| Fields inherited from interface javax.faces.validator.Validator |
NOT_IN_RANGE_MESSAGE_ID |
|
Method Summary |
void |
validate(javax.faces.context.FacesContext facesContext,
javax.faces.component.UIComponent component,
java.lang.Object value)
Implementation of
Validator.validate(FacesContext, UIComponent, Object). |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SRSNameValidator
public SRSNameValidator()
validate
public void validate(javax.faces.context.FacesContext facesContext,
javax.faces.component.UIComponent component,
java.lang.Object value)
throws javax.faces.validator.ValidatorException
- Implementation of
Validator.validate(FacesContext, UIComponent, Object).
- Specified by:
validate in interface javax.faces.validator.Validator
- Parameters:
facesContext - FacesContext for the current request.component - UIComponent being validated.value - Value to check.
- Throws:
javax.faces.validator.ValidatorException