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, findByName
-
Constructor Details
-
UserRepository
public UserRepository()
-
-
Method Details
-
save
Description copied from interface:Repository
Save 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:
save
in interfaceRepository<User>
- Overrides:
save
in classJpaRepository<User>
- Parameters:
entity
- the entity object to save- Returns:
- an instance of the entity with saved state
-