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: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<Team>- Overrides:
savein classJpaRepository<Team>- Parameters:
entity- the entity object to save- Returns:
- an instance of the entity with saved state
-
remove
Description copied from interface:RepositoryRemove the given entity.- Specified by:
removein interfaceRepository<Team>- Overrides:
removein classJpaRepository<Team>- Parameters:
entity- the entity object
-
populate
Description copied from interface:RepositoryPopulate the given json map with additional data.This method is called before returning the json data as response.
- Specified by:
populatein interfaceRepository<Team>- Overrides:
populatein classJpaRepository<Team>- Parameters:
json- the json map to populatecontext- the context- Returns:
- the json map itself
-