com.atlassian.bamboo.ww2.validators
Class UniqueAuthorNameValidator

java.lang.Object
  extended by com.opensymphony.xwork.validator.validators.ValidatorSupport
      extended by com.atlassian.bamboo.ww2.validators.UniqueAuthorNameValidator
All Implemented Interfaces:
com.opensymphony.xwork.validator.ShortCircuitableValidator, com.opensymphony.xwork.validator.Validator

public class UniqueAuthorNameValidator
extends com.opensymphony.xwork.validator.validators.ValidatorSupport

Validator used to validate that group name is unique


Field Summary
 
Fields inherited from class com.opensymphony.xwork.validator.validators.ValidatorSupport
defaultMessage, messageKey
 
Constructor Summary
UniqueAuthorNameValidator()
           
 
Method Summary
 java.lang.String getKeyFieldName()
           
 java.lang.String getValueFieldName()
           
 void setExtendedAuthorManager(ExtendedAuthorManager extendedAuthorManager)
           
 void setKeyFieldName(java.lang.String keyFieldName)
           
 void setValueFieldName(java.lang.String valueFieldName)
           
 void validate(java.lang.Object object)
           
 
Methods inherited from class com.opensymphony.xwork.validator.validators.ValidatorSupport
addActionError, addFieldError, conditionalParse, getDefaultMessage, getFieldValue, getMessage, getMessageKey, getMessageParameters, getParse, getValidatorContext, getValidatorType, isShortCircuit, setDefaultMessage, setMessageKey, setMessageParameters, setParse, setShortCircuit, setValidatorContext, setValidatorType
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UniqueAuthorNameValidator

public UniqueAuthorNameValidator()
Method Detail

validate

public void validate(java.lang.Object object)
              throws com.opensymphony.xwork.validator.ValidationException
Throws:
com.opensymphony.xwork.validator.ValidationException

getKeyFieldName

public java.lang.String getKeyFieldName()

setKeyFieldName

public void setKeyFieldName(java.lang.String keyFieldName)

getValueFieldName

public java.lang.String getValueFieldName()

setValueFieldName

public void setValueFieldName(java.lang.String valueFieldName)

setExtendedAuthorManager

public void setExtendedAuthorManager(ExtendedAuthorManager extendedAuthorManager)


Copyright © 2010 Atlassian. All Rights Reserved.