-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #28 from CSC207-2023Y-UofT/16-database-2-user-gateway
User gateway partially finished for use case development
- Loading branch information
Showing
3 changed files
with
22 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
package usergateway; | ||
|
||
public class AttorneyRepository{ | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
package usergateway; | ||
|
||
import java.util.HashMap; | ||
import java.util.Map; | ||
|
||
public class ClientRepository{ | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
package usergateway; | ||
|
||
import userentities.User; | ||
import questionentities.Question; | ||
|
||
public interface UserGateway { | ||
boolean existsById(int userId); | ||
boolean isClient(int userId); | ||
User getUser(int userId); | ||
void updateQuestionList(Question question); | ||
} |