|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IDaoFilms
A DAO for films specification.
Field Summary | |
---|---|
static String |
ACTORS_FILMS_TABLE
|
static String |
KINDS_FILMS_TABLE
|
static String |
TABLE
|
Method Summary | |
---|---|
void |
create(Film film)
Create the film. |
void |
createAll(Iterable<Film> films)
Create all the films in the list. |
Film |
createFilm()
Create an empty film. |
boolean |
delete(Film film)
Delete the film. |
Film |
getFilm(int id)
Return the film with the specified id. |
Collection<Film> |
getFilms()
Return all the films of the current collection. |
void |
save(Film film)
Save the film on the database. |
Methods inherited from interface org.jtheque.core.managers.persistence.able.JThequeDao |
---|
addDataListener, clearAll, removeDataListener |
Field Detail |
---|
static final String TABLE
static final String ACTORS_FILMS_TABLE
static final String KINDS_FILMS_TABLE
Method Detail |
---|
Collection<Film> getFilms()
Film getFilm(int id)
id
- The id of the searched film.
Film
with the specified id or null
if there is no film with this id.void create(Film film)
film
- The film to create.void createAll(Iterable<Film> films)
films
- The films to create.void save(Film film)
film
- The film to save.boolean delete(Film film)
film
- The film to delete.
Film createFilm()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |