Skip to content

Commit f414d78

Browse files
committed
Add Note service impl class
1 parent 635873f commit f414d78

File tree

1 file changed

+33
-0
lines changed

1 file changed

+33
-0
lines changed
Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
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+
}

0 commit comments

Comments
 (0)