Examples of IUserGroupService


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
Copyright © 2018 www.massapi.com. 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.