- Timestamp:
- 02/13/23 14:34:36 (17 months ago)
- Branches:
- main
- Children:
- a762b3a
- Parents:
- a2060cb (diff), 04e4f54 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - Location:
- Prototype Application/Paw5/src/main/java/finki/paw5/service
- Files:
-
- 2 added
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
Prototype Application/Paw5/src/main/java/finki/paw5/service/PetService.java
ra2060cb r3f5e485 1 1 package finki.paw5.service; 2 2 3 import finki.paw5.model.entities.Pet; 4 3 5 public interface PetService { 6 7 void save (Pet pet); 4 8 } -
Prototype Application/Paw5/src/main/java/finki/paw5/service/PostService.java
ra2060cb r3f5e485 1 1 package finki.paw5.service; 2 2 3 import finki.paw5.model.entities.Post; 4 import finki.paw5.model.enumerations.AgeGroup; 5 import finki.paw5.model.enumerations.Gender; 6 import finki.paw5.model.enumerations.Size; 7 import finki.paw5.model.enumerations.Species; 8 3 9 public interface PostService { 10 11 void save (Post post); 12 4 13 } -
Prototype Application/Paw5/src/main/java/finki/paw5/service/implementation/PetServiceImplementation.java
ra2060cb r3f5e485 1 1 package finki.paw5.service.implementation; 2 2 3 import finki.paw5.model.entities.Pet; 3 4 import finki.paw5.repository.PetRepository; 4 5 import finki.paw5.service.PetService; … … 14 15 } 15 16 17 @Override 18 public void save(Pet pet) { 19 this.petRepository.save(pet); 20 } 16 21 } -
Prototype Application/Paw5/src/main/java/finki/paw5/service/implementation/PostServiceImplementation.java
ra2060cb r3f5e485 1 1 package finki.paw5.service.implementation; 2 2 3 import finki.paw5.model.entities.Post; 3 4 import finki.paw5.repository.PostRepository; 4 5 import finki.paw5.service.PostService; … … 14 15 } 15 16 17 @Override 18 public void save(Post post) { 19 this.postRepository.save(post); 20 } 21 16 22 }
Note:
See TracChangeset
for help on using the changeset viewer.