| Package | Description |
|---|---|
| br.com.caelum.vraptor.mydvds.controller | |
| br.com.caelum.vraptor.mydvds.dao | |
| br.com.caelum.vraptor.mydvds.interceptor | |
| br.com.caelum.vraptor.mydvds.model |
| Modifier and Type | Method and Description |
|---|---|
void |
UsersController.add(User user)
Accepts HTTP POST requests.
|
void |
DvdRentalsController.addToMyList(User user,
Dvd dvd)
Accepts HTTP PUT requests.
|
void |
UsersController.view(User user)
Accepts HTTP GET requests.
|
| Modifier and Type | Method and Description |
|---|---|
User |
UserDao.find(String login)
Finds an user by login
|
User |
DefaultUserDao.find(String login) |
User |
UserDao.find(String login,
String password)
Finds an user by login and password.
|
User |
DefaultUserDao.find(String login,
String password) |
| Modifier and Type | Method and Description |
|---|---|
List<User> |
UserDao.listAll()
Retrieves all users from database.
|
List<User> |
DefaultUserDao.listAll() |
| Modifier and Type | Method and Description |
|---|---|
void |
UserDao.add(User user)
Adds the user on database
|
void |
DefaultUserDao.add(User user) |
void |
UserDao.refresh(User user)
Synchronize the user data with the database.
|
void |
DefaultUserDao.refresh(User user) |
void |
UserDao.update(User user)
Update the user on database.
|
void |
DefaultUserDao.update(User user) |
| Modifier and Type | Method and Description |
|---|---|
User |
UserInfo.getUser() |
| Modifier and Type | Method and Description |
|---|---|
void |
UserInfo.login(User user) |
| Modifier and Type | Method and Description |
|---|---|
User |
DvdRental.getOwner() |
| Modifier and Type | Method and Description |
|---|---|
void |
DvdRental.setOwner(User owner) |
| Constructor and Description |
|---|
DvdRental(User owner,
Dvd dvd) |
Copyright © 2014 Caelum. All Rights Reserved.