Package it.astromark.user.parent.service
Interface ParentService
- All Superinterfaces:
CrudService<Parent,
ParentRequest, ParentDetailedResponse, UUID>
- All Known Implementing Classes:
ParentServiceImpl
public interface ParentService
extends CrudService<Parent,ParentRequest,ParentDetailedResponse,UUID>
Service interface for managing parent-related operations.
Extends the generic CrudService interface for basic CRUD operations.
-
Method Summary
Modifier and TypeMethodDescriptionRetrieves a list of all students associated with a parent.Retrieves a list of all teachers.Methods inherited from interface it.astromark.commons.service.CrudService
create, delete, getById, update
-
Method Details
-
getStudents
List<SchoolUserDetailed> getStudents()Retrieves a list of all students associated with a parent.- Returns:
- a list of `SchoolUserDetailed` objects representing the students Pre-condition: None. Post-condition: Returns a list of detailed information about all students associated with the parent.
-
getTeachers
List<SchoolUserResponse> getTeachers()Retrieves a list of all teachers.- Returns:
- a list of `SchoolUserResponse` objects representing the teachers Pre-condition: None. Post-condition: Returns a list of information about all teachers.
-