com.jaspersoft.jasperserver.war.validation
Class RoleValidator

java.lang.Object
  extended by com.jaspersoft.jasperserver.war.validation.RoleValidator
All Implemented Interfaces:
org.springframework.validation.Validator

public class RoleValidator
extends java.lang.Object
implements org.springframework.validation.Validator

Version:
$Id
Author:
Ionut Nedelcu (ionutned@users.sourceforge.net)

Constructor Summary
RoleValidator()
           
 
Method Summary
 UserAuthorityService getUserService()
           
 void setUserService(UserAuthorityService userService)
           
 boolean supports(java.lang.Class klass)
           
 void validate(java.lang.Object object, org.springframework.validation.Errors errors)
           
 void validateName(RoleWrapper wrapper, org.springframework.validation.Errors errors)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RoleValidator

public RoleValidator()
Method Detail

getUserService

public UserAuthorityService getUserService()

setUserService

public void setUserService(UserAuthorityService userService)

supports

public boolean supports(java.lang.Class klass)
Specified by:
supports in interface org.springframework.validation.Validator

validate

public void validate(java.lang.Object object,
                     org.springframework.validation.Errors errors)
Specified by:
validate in interface org.springframework.validation.Validator

validateName

public void validateName(RoleWrapper wrapper,
                         org.springframework.validation.Errors errors)


Copyright © 2007. All Rights Reserved.