Package com.axelor.auth.db.repo
Class UserRepository
java.lang.Object
com.axelor.db.JpaRepository<User>
com.axelor.auth.db.repo.AbstractUserRepository
com.axelor.auth.db.repo.UserRepository
- All Implemented Interfaces:
Repository<User>
-
Field Summary
Fields inherited from class com.axelor.db.JpaRepository
modelClass -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class com.axelor.auth.db.repo.AbstractUserRepository
findByCode, findByCodeOrEmail, findByEmail, findByGroup, findByGroup, findByNameMethods inherited from class com.axelor.db.JpaRepository
all, all, copy, create, fields, find, findById, findByIds, flush, getReferenceById, isPermitted, isPermitted, merge, of, persist, populate, refresh, remove, validate
-
Constructor Details
-
UserRepository
public UserRepository()
-
-
Method Details
-
save
Description copied from interface:RepositorySave the given entity.Depending on the implementation, it may return same entity or a copy of it. For example JPA implementation may return a copy if the given entity can't be managed.
- Specified by:
savein interfaceRepository<User>- Overrides:
savein classJpaRepository<User>- Parameters:
entity- the entity object to save- Returns:
- an instance of the entity with saved state
-