Class ArtService
- java.lang.Object
-
- org.eclipse.rdf4j.spring.demo.service.ArtService
-
@Component public class ArtService extends Object
UsesArtistDao
andPaintingDao
to query and manipulate the repository.- Since:
- 4.0.0
- Author:
- Florian Kleedorfer
-
-
Constructor Summary
Constructors Constructor Description ArtService()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IRI
addArtist(Artist artist)
IRI
addPainting(Painting painting)
Artist
createArtist(String firstName, String lastName)
Painting
createPainting(String title, String technique, IRI artist)
List<Artist>
getArtists()
Set<Artist>
getArtistsWithoutPaintings()
List<Painting>
getPaintings()
Map<Artist,Set<Painting>>
getPaintingsGroupedByArtist()
-