ApplicationRoleRepository

API

ApplicationRoleRepository.java
interface ApplicationRoleRepository {
  ApplicationRole newApplicationRole()     (1)
  Collection<ApplicationRole> allRoles()
  ApplicationRole newRole(String name, String description)
  Collection<ApplicationRole> findNameContaining(String search)
  Collection<ApplicationRole> getRoles(ApplicationUser user)
  Collection<ApplicationRole> findMatching(String search)     (2)
  Optional<ApplicationRole> findByName(String roleName)
  Optional<ApplicationRole> findByNameCached(String roleName)
  ApplicationRole upsert(String name, String roleDescription)
  void addRoleToUser(ApplicationRole role, ApplicationUser user)
  void removeRoleFromUser(ApplicationRole role, ApplicationUser user)
  boolean isAdminRole(ApplicationRole role)
  void deleteRole(ApplicationRole holder)
}
1 newApplicationRole()
2 findMatching(String)

auto-complete support

Members

newApplicationRole()

findMatching(String)

auto-complete support