Package com.axelor.team.db.repo
Class TeamRepository
- All Implemented Interfaces:
Repository<Team>
-
Constructor Details
-
TeamRepository
public TeamRepository()
-
-
Method Details
-
findByName
-
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<Team>
- Overrides:
save
in classJpaRepository<Team>
- Parameters:
entity
- the entity object to save- Returns:
- an instance of the entity with saved state
-
remove
Description copied from interface:Repository
Remove the given entity.- Specified by:
remove
in interfaceRepository<Team>
- Overrides:
remove
in classJpaRepository<Team>
- Parameters:
entity
- the entity object
-
populate
Description copied from interface:Repository
Populate the given json map with additional data.This method is called before returning the json data as response.
- Specified by:
populate
in interfaceRepository<Team>
- Overrides:
populate
in classJpaRepository<Team>
- Parameters:
json
- the json map to populatecontext
- the context- Returns:
- the json map itself
-