Revize 74a73b3b
Přidáno uživatelem Vojtěch Danišík před asi 4 roky(ů)
src/main/java/vldc/aswi/dao/ConfigurationRepository.java | ||
---|---|---|
2 | 2 |
|
3 | 3 |
import org.springframework.data.repository.CrudRepository; |
4 | 4 |
import org.springframework.stereotype.Repository; |
5 |
import vldc.aswi.domain.Assembly; |
|
5 | 6 |
import vldc.aswi.domain.Configuration; |
6 | 7 |
|
8 |
import java.util.List; |
|
9 |
|
|
7 | 10 |
/** |
8 | 11 |
* Repository for domain Configuration. |
9 | 12 |
*/ |
... | ... | |
16 | 19 |
* @return Configuration if ID is present in database. |
17 | 20 |
*/ |
18 | 21 |
Configuration getById(Long Id); |
22 |
|
|
23 |
/** |
|
24 |
* Get list of configurations by assembly id. |
|
25 |
* @param assemblyId - ID of assembly. |
|
26 |
* @return List of configurations. |
|
27 |
*/ |
|
28 |
List<Configuration> getByAssemblyId(Long assemblyId); |
|
19 | 29 |
} |
Také k dispozici: Unified diff
re #7887 Deleting configurations and assemblies, Minor restructuralization.