Package com.brienwheeler.svc.usergroups

Examples of com.brienwheeler.svc.usergroups.IUserGroupService


  public boolean isValid(String value, ConstraintValidatorContext context)
  {
    if (!StringUtils.hasText(value))
      return !constraintAnnotation.failOnEmpty();
   
    IUserGroupService userGroupService = applicationContext.getBean(constraintAnnotation.userGroupService(), IUserGroupService.class);
    return userGroupService.findByNameAndType(value, constraintAnnotation.groupType()) == null;
  }
View Full Code Here

TOP

Related Classes of com.brienwheeler.svc.usergroups.IUserGroupService

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.