Changes in Prototype Application/Paw5/src/main/java/finki/paw5/service/AuthService.java [da44aef:f0232fb]
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Prototype Application/Paw5/src/main/java/finki/paw5/service/AuthService.java
rda44aef rf0232fb 4 4 import finki.paw5.model.entities.Employee; 5 5 import finki.paw5.model.entities.User; 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; 6 7 import java.util.Optional; 10 8 11 9 public interface AuthService { 12 10 User login (String email, String password); 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);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); 15 13 16 14 }
Note:
See TracChangeset
for help on using the changeset viewer.