All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.eurodyn.qlack.fuse.aaa.repository.UserGroupRepository Maven / Gradle / Ivy

There is a newer version: 3.8.9
Show newest version
package com.eurodyn.qlack.fuse.aaa.repository;

import com.eurodyn.qlack.fuse.aaa.model.UserGroup;
import org.springframework.stereotype.Repository;

import java.util.Set;
import java.util.stream.Collectors;

@Repository
public interface UserGroupRepository extends AAARepository {

  UserGroup findByName(String name);

  UserGroup findByObjectId(String objectId);

  default Set getAllIds(){

    return findAll().stream()
        .map(UserGroup::getId)
        .collect(Collectors.toSet());
  }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy