File tree Expand file tree Collapse file tree 1 file changed +33
-0
lines changed
src/main/java/lk/ijse/dep/note/service/impl Expand file tree Collapse file tree 1 file changed +33
-0
lines changed Original file line number Diff line number Diff line change 1+ package lk .ijse .dep .note .service .impl ;
2+
3+ import lk .ijse .dep .note .dto .NoteDTO ;
4+ import lk .ijse .dep .note .repository .custom .NoteRepository ;
5+ import lk .ijse .dep .note .service .Noteservice ;
6+ import lk .ijse .dep .note .service .exception .NotFoundException ;
7+ import org .springframework .beans .factory .annotation .Autowired ;
8+ import org .springframework .stereotype .Service ;
9+ import org .springframework .transaction .annotation .Transactional ;
10+
11+ import java .util .List ;
12+
13+ @ Service
14+ @ Transactional
15+ public class NoteServiceImpl implements Noteservice {
16+
17+ @ Autowired
18+ private NoteRepository noteRepository ;
19+ @ Override
20+ public NoteDTO saveNote (NoteDTO note ) throws NotFoundException {
21+ return null ;
22+ }
23+
24+ @ Override
25+ public void deleteNote (String userId , int noteId ) throws NotFoundException {
26+
27+ }
28+
29+ @ Override
30+ public List <NoteDTO > getAllNotes (String userId ) {
31+ return null ;
32+ }
33+ }
You can’t perform that action at this time.
0 commit comments