Last change
on this file since 509cb95 was 509cb95, checked in by Vzdra <vladko.zdravkovski@…>, 3 years ago |
finalized register and login and added insert options for jobs
|
-
Property mode
set to
100644
|
File size:
695 bytes
|
Rev | Line | |
---|
[29c0ed0] | 1 | package it.finki.tinki.service;
|
---|
| 2 |
|
---|
[721cb87] | 3 | import it.finki.tinki.model.Skill;
|
---|
[29c0ed0] | 4 | import it.finki.tinki.model.Users.Account;
|
---|
| 5 | import it.finki.tinki.model.enumerator.AccountType;
|
---|
| 6 |
|
---|
[721cb87] | 7 | import java.util.List;
|
---|
[29c0ed0] | 8 |
|
---|
| 9 | public interface AccountService {
|
---|
| 10 | Account findUser(String email, String password, AccountType type);
|
---|
[721cb87] | 11 | Account registerUser(String email, String password, String name, String surname, List<Skill> retainedSkills, List<Skill> skillsToLearn);
|
---|
| 12 | Account registerTeam(String email, String password, String name, int members);
|
---|
| 13 | Account registerCompany(String email, String password, String name, String country, String city, String street);
|
---|
[509cb95] | 14 | Account findByIdAndType(Long accId, AccountType type);
|
---|
[29c0ed0] | 15 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.