Index
All Classes and Interfaces|All Packages
A
- Actor - Class in org.example.model
-
Модель даних для представлення актора.
- Actor(String, String) - Constructor for class org.example.model.Actor
-
Конструктор для створення об'єкта актора (наприклад, при читанні з БД). * @param name Ім'я актора
- actorId - Variable in class org.example.model.Actor
- ActorsController - Class in org.example.controller
-
Контролер для вікна перегляду акторів.
- ActorsController() - Constructor for class org.example.controller.ActorsController
- actorsTable - Variable in class org.example.controller.ActorsController
- addMovie(String, int) - Method in class org.example.service.DatabaseService
-
Додає новий фільм у базу даних.
- AppLauncher - Class in org.example
- AppLauncher() - Constructor for class org.example.AppLauncher
D
- DatabaseService - Class in org.example.service
-
Сервіс для роботи з БД через JDBC.
- DatabaseService() - Constructor for class org.example.service.DatabaseService
- dbService - Variable in class org.example.controller.MovieController
- deleteMovie(long) - Method in class org.example.service.DatabaseService
-
Видаляє фільм за ID.
G
- getActorId() - Method in class org.example.model.Actor
- getActorsByMovieId(long) - Method in class org.example.service.DatabaseService
-
Отримує список акторів для конкретного фільму за його ID.
- getAllMovies() - Method in class org.example.service.DatabaseService
-
Отримує всі фільми з бази даних.
- getConnection() - Method in class org.example.service.DatabaseService
- getId() - Method in class org.example.model.Movie
- getMovieId() - Method in class org.example.model.Actor
- getName() - Method in class org.example.model.Actor
- getReleaseYear() - Method in class org.example.model.Movie
- getRole() - Method in class org.example.model.Actor
- getTitle() - Method in class org.example.model.Movie
H
- handleAdd() - Method in class org.example.controller.MovieController
- handleDelete() - Method in class org.example.controller.MovieController
- handleSearch() - Method in class org.example.controller.MovieController
- handleShowActors() - Method in class org.example.controller.MovieController
- handleUpdate() - Method in class org.example.controller.MovieController
I
- id - Variable in class org.example.model.Movie
- idColumn - Variable in class org.example.controller.MovieController
- initData(Movie, List) - Method in class org.example.controller.ActorsController
-
Ініціалізує дані у вікні акторів.
- initialize() - Method in class org.example.controller.MovieController
-
Метод initialize викликається автоматично після завантаження FXML.
J
- JdbcTest - Class in org.example
- JdbcTest() - Constructor for class org.example.JdbcTest
M
- main(String[]) - Static method in class org.example.AppLauncher
- main(String[]) - Static method in class org.example.JdbcTest
- main(String[]) - Static method in class org.example.MainApp
- MainApp - Class in org.example
- MainApp() - Constructor for class org.example.MainApp
- Movie - Class in org.example.model
-
Модель фільму.
- Movie() - Constructor for class org.example.model.Movie
- Movie(long, String, int) - Constructor for class org.example.model.Movie
- MovieController - Class in org.example.controller
-
Контролер для керування інтерфейсом фільмів.
- MovieController() - Constructor for class org.example.controller.MovieController
- movieId - Variable in class org.example.model.Actor
- movieTable - Variable in class org.example.controller.MovieController
- movieTitleLabel - Variable in class org.example.controller.ActorsController
N
- name - Variable in class org.example.model.Actor
- nameColumn - Variable in class org.example.controller.ActorsController
O
- org.example - package org.example
- org.example.controller - package org.example.controller
- org.example.model - package org.example.model
- org.example.service - package org.example.service
P
- props - Variable in class org.example.service.DatabaseService
R
- refreshTable() - Method in class org.example.controller.MovieController
- releaseYear - Variable in class org.example.model.Movie
- role - Variable in class org.example.model.Actor
- roleColumn - Variable in class org.example.controller.ActorsController
S
- searchMovies(String, String) - Method in class org.example.service.DatabaseService
-
Пошук фільмів за назвою та/або роком.
- searchTitleField - Variable in class org.example.controller.MovieController
- searchYearField - Variable in class org.example.controller.MovieController
- setActorId(int) - Method in class org.example.model.Actor
- setId(long) - Method in class org.example.model.Movie
- setMovieId(int) - Method in class org.example.model.Actor
- setName(String) - Method in class org.example.model.Actor
- setReleaseYear(int) - Method in class org.example.model.Movie
- setRole(String) - Method in class org.example.model.Actor
- setTitle(String) - Method in class org.example.model.Movie
- showError(String) - Method in class org.example.controller.MovieController
- start(Stage) - Method in class org.example.MainApp
T
- title - Variable in class org.example.model.Movie
- titleColumn - Variable in class org.example.controller.MovieController
- toString() - Method in class org.example.model.Actor
-
Перевизначення методу для зручного налагодження.
- toString() - Method in class org.example.model.Movie
U
- updateMovie(Movie) - Method in class org.example.service.DatabaseService
-
Оновлює дані існуючого фільму.
- updateMovieInDb(Movie) - Method in class org.example.controller.MovieController
Y
- yearColumn - Variable in class org.example.controller.MovieController
All Classes and Interfaces|All Packages