Package main.roles.repositories
Interface Users
- All Known Implementing Classes:
 UsersInMemory,UsersJson
public interface Users
Interface for managing User entities.
- 
Method Summary
Modifier and TypeMethodDescriptionRetrieves an user by their ID.booleanhas(EmailAddress email) Checks if an user exists by their email.list()Lists all users.Retrieves an user by their email and password.voidRegisters a new user.voidUpdates an existing user. 
- 
Method Details
- 
register
 - 
update
 - 
byId
 - 
ownerOf
 - 
has
Checks if an user exists by their email.- Parameters:
 email- the email of the user- Returns:
 - true if the user exists, false otherwise
 
 - 
list
 
 -