mirror of
https://github.com/gmbrax/MediaManager-core.git
synced 2026-11-09 14:00:17 +00:00
Implement Genre Management with CRUD Operations
- Add `Genre` entity with JPA annotations and database mapping. - Create repository, service, and delegate handlers for Genre CRUD operations. - Register handlers (`create_genre`, `get_genres`, `get_genre_by_id`, `update_genre`, `delete_genre`) in `DelegateActionManager`. - Introduce Protobuf definitions for Genre messages. - Update `DatabaseManager` to expose `EntityManager`. - Enhance `DelegateActionManager` constructor to use `EntityManager` for handler initialization.
This commit is contained in:
parent
ba53d4d8c4
commit
7b61b2071e
@@ -60,7 +60,7 @@ public class MediaManagerApplication {
|
||||
default:
|
||||
}
|
||||
databaseManager.init();
|
||||
actionManager = new DelegateActionManager();
|
||||
actionManager = new DelegateActionManager(databaseManager.getEntityManager());
|
||||
actionManager.start();
|
||||
ipcManager = new IPCManager(config,actionManager);
|
||||
ipcManager.init();
|
||||
|
||||
Reference in New Issue
Block a user