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>
public class UserRepository extends AbstractUserRepository
-
-
Field Summary
-
Fields inherited from class com.axelor.db.JpaRepository
modelClass
-
-
Constructor Summary
Constructors Constructor Description UserRepository()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description User
save(User entity)
Save the given entity.-
Methods inherited from class com.axelor.auth.db.repo.AbstractUserRepository
findByCode, findByCodeOrEmail, findByEmail, findByGroup, findByGroup, findByName
-
-
-
-
Method Detail
-
save
public User save(User entity)
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
-
-