ApplicationRoleRepositoryAbstract

API

ApplicationRoleRepositoryAbstract.java
class ApplicationRoleRepositoryAbstract<R> {
  ApplicationRole newApplicationRole()
  Optional<ApplicationRole> findByNameCached(String name)
  ApplicationRole upsert(String name, String roleDescription)
  Optional<ApplicationRole> findByName(String name)
  Collection<ApplicationRole> findNameContaining(String search)
  ApplicationRole newRole(String name, String description)
  Collection<ApplicationRole> allRoles()
  Collection<ApplicationRole> findMatching(String search)
  void addRoleToUser(ApplicationRole role, ApplicationUser user)
  void removeRoleFromUser(ApplicationRole role, ApplicationUser user)
  boolean isAdminRole(ApplicationRole genericRole)
  void deleteRole(ApplicationRole role)
  Collection<ApplicationRole> getRoles(ApplicationUser user)
}