Class StudentsCommandsHandler
java.lang.Object
cz.zcu.fav.kiv.mjakubas.saf.command.handler.StudentsCommandsHandler
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
void
handleGetAll
(@NotNull FileType fileType, @NotNull String filePath) void
handleGetByClassID
(Integer id, @NotNull FileType fileType, @NotNull String filePath) void
handleGetByClassName
(@NotNull String name, @NotNull FileType fileType, @NotNull String filePath) void
handleGetByFirstAndLastName
(@NotNull String firstName, @NotNull String lastName, @NotNull FileType fileType, @NotNull String filePath) void
handleGetByID
(Integer id, @NotNull FileType fileType, @NotNull String filePath) void
handleGetBySubjectID
(Integer id, @NotNull FileType fileType, @NotNull String filePath) void
handleGetBySubjectName
(@NotNull String name, @NotNull FileType fileType, @NotNull String filePath) void
handlePost
(@NotNull FileType fileType, @NotNull String filePath) void
handlePutAddSubjectByID
(Integer id, @NotNull FileType fileType, @NotNull String filePath) void
handlePutByID
(Integer id, @NotNull FileType fileType, @NotNull String filePath) void
handlePutRemoveSubjectByID
(Integer id, @NotNull FileType fileType, @NotNull String filePath)
-
Constructor Details
-
StudentsCommandsHandler
-
-
Method Details
-
handleGetAll
public void handleGetAll(@NotNull @NotNull FileType fileType, @NotNull @NotNull String filePath) throws CommandException - Throws:
CommandException
-
handleGetByID
public void handleGetByID(Integer id, @NotNull @NotNull FileType fileType, @NotNull @NotNull String filePath) throws CommandException - Throws:
CommandException
-
handleGetByFirstAndLastName
public void handleGetByFirstAndLastName(@NotNull @NotNull String firstName, @NotNull @NotNull String lastName, @NotNull @NotNull FileType fileType, @NotNull @NotNull String filePath) throws CommandException - Throws:
CommandException
-
handleGetByClassID
public void handleGetByClassID(Integer id, @NotNull @NotNull FileType fileType, @NotNull @NotNull String filePath) throws CommandException - Throws:
CommandException
-
handleGetByClassName
public void handleGetByClassName(@NotNull @NotNull String name, @NotNull @NotNull FileType fileType, @NotNull @NotNull String filePath) throws CommandException - Throws:
CommandException
-
handleGetBySubjectID
public void handleGetBySubjectID(Integer id, @NotNull @NotNull FileType fileType, @NotNull @NotNull String filePath) throws CommandException - Throws:
CommandException
-
handleGetBySubjectName
public void handleGetBySubjectName(@NotNull @NotNull String name, @NotNull @NotNull FileType fileType, @NotNull @NotNull String filePath) throws CommandException - Throws:
CommandException
-
handlePost
public void handlePost(@NotNull @NotNull FileType fileType, @NotNull @NotNull String filePath) throws CommandException - Throws:
CommandException
-
handlePutByID
public void handlePutByID(Integer id, @NotNull @NotNull FileType fileType, @NotNull @NotNull String filePath) throws CommandException - Throws:
CommandException
-
handlePutAddSubjectByID
public void handlePutAddSubjectByID(Integer id, @NotNull @NotNull FileType fileType, @NotNull @NotNull String filePath) throws CommandException - Throws:
CommandException
-
handlePutRemoveSubjectByID
public void handlePutRemoveSubjectByID(Integer id, @NotNull @NotNull FileType fileType, @NotNull @NotNull String filePath) throws CommandException - Throws:
CommandException
-
handleDeleteByID
- Throws:
CommandException
-