Classes in this File | Line Coverage | Branch Coverage | Complexity | ||||
IFilmFormBean |
|
| 1.0;1 |
1 | package org.jtheque.films.view.impl.fb; | |
2 | ||
3 | import org.jtheque.core.utils.db.Note; | |
4 | import org.jtheque.films.persistence.od.able.Film; | |
5 | import org.jtheque.primary.controller.able.FormBean; | |
6 | import org.jtheque.primary.od.able.Kind; | |
7 | import org.jtheque.primary.od.able.Language; | |
8 | import org.jtheque.primary.od.able.Person; | |
9 | import org.jtheque.primary.od.able.Saga; | |
10 | import org.jtheque.primary.od.able.Type; | |
11 | ||
12 | import java.util.Set; | |
13 | ||
14 | /** | |
15 | * @author Baptiste Wicht | |
16 | */ | |
17 | public interface IFilmFormBean extends FormBean { | |
18 | /** | |
19 | * Set the title of the film. | |
20 | * | |
21 | * @param title The title to set. | |
22 | */ | |
23 | void setTitle(String title); | |
24 | ||
25 | /** | |
26 | * Set the type | |
27 | * | |
28 | * @param type The new type. | |
29 | */ | |
30 | void setType(Type type); | |
31 | ||
32 | /** | |
33 | * Set the year of the film. | |
34 | * | |
35 | * @param year The year of the film. | |
36 | */ | |
37 | void setYear(int year); | |
38 | ||
39 | /** | |
40 | * Set the duration of the film. | |
41 | * | |
42 | * @param duration The duration of the film. | |
43 | */ | |
44 | void setDuration(int duration); | |
45 | ||
46 | /** | |
47 | * Set the realizer of the film. | |
48 | * | |
49 | * @param realizer The realizer of the film. | |
50 | */ | |
51 | void setRealizer(Person realizer); | |
52 | ||
53 | /** | |
54 | * Set the language of the film. | |
55 | * | |
56 | * @param language The language of the film. | |
57 | */ | |
58 | void setLanguage(Language language); | |
59 | ||
60 | /** | |
61 | * Set the note of the realizer. | |
62 | * | |
63 | * @param note The note to set. | |
64 | */ | |
65 | void setNote(Note note); | |
66 | ||
67 | /** | |
68 | * Set the comment of the film. | |
69 | * | |
70 | * @param comment The comment of the film. | |
71 | */ | |
72 | void setComment(String comment); | |
73 | ||
74 | /** | |
75 | * Set the resume of the film. | |
76 | * | |
77 | * @param resume The resume of the film. | |
78 | */ | |
79 | void setResume(String resume); | |
80 | ||
81 | /** | |
82 | * Set the actors of the film. | |
83 | * | |
84 | * @param actors The actors of the film. | |
85 | */ | |
86 | void setActors(Set<Person> actors); | |
87 | ||
88 | /** | |
89 | * Set the saga of the film. | |
90 | * | |
91 | * @param saga The saga of the film. | |
92 | */ | |
93 | void setSaga(Saga saga); | |
94 | ||
95 | /** | |
96 | * Set the file path. | |
97 | * | |
98 | * @param filePath The path to the file. | |
99 | */ | |
100 | void setFilePath(String filePath); | |
101 | ||
102 | /** | |
103 | * Set the kinds of the film. | |
104 | * | |
105 | * @param kinds The kinds of the film. | |
106 | */ | |
107 | void setKinds(Set<Kind> kinds); | |
108 | ||
109 | /** | |
110 | * Fill a film with the info of the form bean. | |
111 | * | |
112 | * @param film The film to fill. | |
113 | */ | |
114 | void fillFilm(Film film); | |
115 | } |