public class MailGroupRepository extends JpaRepository<MailGroup>
modelClass| Constructor and Description |
|---|
MailGroupRepository() |
| Modifier and Type | Method and Description |
|---|---|
MailGroup |
findByName(String name) |
Map<String,Object> |
populate(Map<String,Object> json,
Map<String,Object> context)
Populate the given json map with additional data.
|
public Map<String,Object> populate(Map<String,Object> json, Map<String,Object> context)
RepositoryThis method is called before returning the json data as response.
populate in interface Repository<MailGroup>populate in class JpaRepository<MailGroup>json - the json map to populatecontext - the context