MCPcopy Index your code
hub / github.com/aws-samples/eb-java-scorekeep / loadUser

Method loadUser

src/main/java/scorekeep/UserModel.java:24–30  ·  view source on GitHub ↗
(String userId)

Source from the content-addressed store, hash-verified

22 }
23
24 public User loadUser(String userId) throws UserNotFoundException {
25 User user = mapper.load(User.class, userId);
26 if ( user == null ) {
27 throw new UserNotFoundException(userId);
28 }
29 return user;
30 }
31
32 public List<User> loadUsers(){
33 DynamoDBScanExpression scanExpression = new DynamoDBScanExpression();

Callers 1

getUserMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected