ApplicationUserRepository

API

ApplicationUserRepository.java
interface ApplicationUserRepository {
  ApplicationUser newApplicationUser()     (1)
  Optional<ApplicationUser> findByUsername(String username)
  ApplicationUser findOrCreateUserByUsername(String username)
  Collection<ApplicationUser> allUsers()
  Collection<ApplicationUser> find(String search)
  Collection<ApplicationUser> findByAtPath(String atPath)
  Collection<ApplicationUser> findByRole(ApplicationRole role)
  Collection<ApplicationUser> findByTenancy(ApplicationTenancy tenancy)
  Optional<ApplicationUser> findByEmailAddress(String emailAddress)
  Collection<ApplicationUser> findMatching(String search)     (2)
  void enable(ApplicationUser user)
  void disable(ApplicationUser user)
  boolean isAdminUser(ApplicationUser user)
  boolean isPasswordFeatureEnabled(ApplicationUser holder)
  boolean updatePassword(ApplicationUser user, String password)
  ApplicationUser newUser(String username, AccountType accountType, Consumer<ApplicationUser> beforePersist)
  ApplicationUser upsertLocal(String username, Password password, ApplicationUserStatus status)
  ApplicationUser newLocalUser(String username, Password password, ApplicationUserStatus status)
  ApplicationUser newDelegateUser(String username, ApplicationUserStatus status)
}
1 newApplicationUser()
2 findMatching(String)

auto-complete support

Members

newApplicationUser()

findMatching(String)

auto-complete support