Class TeacherEntityController
java.lang.Object
cz.zcu.fav.kiv.mjakubas.saf.gui.controller.entity.AEntityController<Teacher>
cz.zcu.fav.kiv.mjakubas.saf.gui.controller.entity.entities.TeacherEntityController
Fetches and manages
Teacher
connection between front-end and back-end.-
Field Summary
Fields inherited from class cz.zcu.fav.kiv.mjakubas.saf.gui.controller.entity.AEntityController
entitiesController, entityForm, fetchedEntities
-
Constructor Summary
ConstructorsConstructorDescriptionTeacherEntityController
(@NotNull AForm<Teacher> entityForm, @NotNull EntitiesController entitiesController) Instantiates newAEntityController
of certain entity. -
Method Summary
Methods inherited from class cz.zcu.fav.kiv.mjakubas.saf.gui.controller.entity.AEntityController
clearFetchedEntities, deleteEntity, getAllFetchedEntities, getCreateFormPane, getFetchedEntity, getShowFormPane, postEntity, putAdditionalDeleteEntity, putAdditionalEntity, putEntity
-
Constructor Details
-
TeacherEntityController
public TeacherEntityController(@NotNull @NotNull AForm<Teacher> entityForm, @NotNull @NotNull EntitiesController entitiesController) Instantiates newAEntityController
of certain entity.
-
-
Method Details
-
getBaseAddress
Description copied from class:AEntityController
Base fetch address to get all entities.- Specified by:
getBaseAddress
in classAEntityController<Teacher>
- Returns:
- fetch address to get all entities.
-
getAdditionalAddress
- Specified by:
getAdditionalAddress
in classAEntityController<Teacher>
-
getEntityClass
Description copied from class:AEntityController
EntityClass
.- Specified by:
getEntityClass
in classAEntityController<Teacher>
- Returns:
- entity
Class
-
fetchAdditionalData
Description copied from class:AEntityController
if any additional data should be fetched this should be implemented.- Specified by:
fetchAdditionalData
in classAEntityController<Teacher>
- Throws:
FetchException
-