- Timestamp:
- 02/16/23 15:22:04 (17 months ago)
- Branches:
- main
- Children:
- 6941fac
- Parents:
- 04e4f54 (diff), eef07ff (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:
-
- 5 added
- 1 deleted
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Prototype Application/Paw5/src/main/java/finki/paw5/service/AuthService.java
r04e4f54 r9ee306b 4 4 import finki.paw5.model.entities.Employee; 5 5 import finki.paw5.model.entities.User; 6 7 import java.util.Optional; 6 import finki.paw5.model.enumerations.FreeTime; 7 import finki.paw5.model.enumerations.Funds; 8 import finki.paw5.model.enumerations.Housing; 9 import finki.paw5.model.enumerations.PhysicalActivity; 8 10 9 11 public interface AuthService { 10 12 User login (String email, String password); 11 // Adopter registerAdopter(String password, String repeatPassword, String name, String email, String telephone);12 // Employee registerEmployee(String password, String repeatPassword, String name, String email, String telephone);13 Adopter registerAdopter(String name, String email, String password, String telephone, FreeTime freeTime, Funds funds, boolean hasOtherPets, boolean hasKids, Housing housing, PhysicalActivity physicalActivity, boolean willFoster); 14 Employee registerEmployee(String name, String email, String password, String telephone, String position, Integer shelterId); 13 15 14 16 }
Note:
See TracChangeset
for help on using the changeset viewer.