com.atlassian.bamboo.ww2.validators
Class UniqueInstantMessagingServerNameFieldValidator

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

public class UniqueInstantMessagingServerNameFieldValidator
extends com.opensymphony.xwork.validator.validators.FieldValidatorSupport

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
UniqueInstantMessagingServerNameFieldValidator(InstantMessagingServerManager instantMessagingServerManager)
           
 
Method Summary
 java.lang.String getKeyFieldName()
           
 java.lang.String getValueFieldName()
           
 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.FieldValidatorSupport
getFieldName, getValidatorType, setFieldName, setValidatorType
 
Methods inherited from class com.opensymphony.xwork.validator.validators.ValidatorSupport
addActionError, addFieldError, conditionalParse, getDefaultMessage, getFieldValue, getMessage, getMessageKey, getMessageParameters, getParse, getValidatorContext, isShortCircuit, setDefaultMessage, setMessageKey, setMessageParameters, setParse, setShortCircuit, setValidatorContext
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.opensymphony.xwork.validator.Validator
getDefaultMessage, getMessage, getMessageKey, getMessageParameters, getValidatorContext, setDefaultMessage, setMessageKey, setMessageParameters, setValidatorContext
 

Constructor Detail

UniqueInstantMessagingServerNameFieldValidator

public UniqueInstantMessagingServerNameFieldValidator(InstantMessagingServerManager instantMessagingServerManager)
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)


Copyright © 2009 Atlassian Pty Ltd. All Rights Reserved.