Skip to content

Commit

Permalink
Added methods for UserGateway
Browse files Browse the repository at this point in the history
  • Loading branch information
KaxiYuan8288 committed Jul 19, 2023
1 parent ab48334 commit d0e4054
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/main/java/usergateway/AttorneyRepository.java
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,10 @@ public User getUser(int userId) {
return null;
}

@Override
public String getPassword(int userId) {
return null;
}
@Override
public void updateQuestionList(Question question) {

Expand Down
5 changes: 5 additions & 0 deletions src/main/java/usergateway/ClientRepository.java
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,11 @@ public User getUser(int userId) {
return null;
}

@Override
public String getPassword(int userId) {
return null;
}

@Override
public void updateQuestionList(Question question) {

Expand Down
1 change: 1 addition & 0 deletions src/main/java/usergateway/UserGateway.java
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,6 @@ public interface UserGateway {
boolean existsById(int userId);
boolean isClient(int userId);
User getUser(int userId);
String getPassword(int userId);
void updateQuestionList(Question question);
}

0 comments on commit d0e4054

Please sign in to comment.