Uses of Class
no.ntnu.principes.domain.task.TaskAssignment
Packages that use TaskAssignment
Package
Description
-
Uses of TaskAssignment in no.ntnu.principes.event.task
Methods in no.ntnu.principes.event.task with parameters of type TaskAssignmentModifier and TypeMethodDescriptionstatic TaskCompletionUpdatedEventTaskCompletionUpdatedEvent.of(TaskAssignment assignment) Creates a new TaskCompletionUpdatedEvent with the specified task assignment.Constructors in no.ntnu.principes.event.task with parameters of type TaskAssignmentModifierConstructorDescriptionTaskCompletionUpdatedEvent(TaskAssignment assignment) Constructor for creating a new TaskCompletionUpdatedEvent. -
Uses of TaskAssignment in no.ntnu.principes.mapper
Methods in no.ntnu.principes.mapper with parameters of type TaskAssignmentModifier and TypeMethodDescriptionstatic TaskAssignmentDtoTaskAssigmentMapper.mapAssignment(TaskAssignment assignment) Maps a single TaskAssignment to its DTO representation.Method parameters in no.ntnu.principes.mapper with type arguments of type TaskAssignmentModifier and TypeMethodDescriptionstatic List<TaskAssignmentDto> TaskAssigmentMapper.mapAssignments(List<TaskAssignment> assignments) Maps a list of TaskAssignments to their DTO representations with optimized data loading. -
Uses of TaskAssignment in no.ntnu.principes.repository
Methods in no.ntnu.principes.repository that return TaskAssignmentModifier and TypeMethodDescriptionprotected TaskAssignmentMaps a database result set row to a TaskAssignment object.TaskAssignmentRepository.save(TaskAssignment assignment) Saves a task assignment, creating a new record or updating an existing one.Methods in no.ntnu.principes.repository that return types with arguments of type TaskAssignmentModifier and TypeMethodDescriptionTaskAssignmentRepository.findAll()Retrieves all task assignments.Finds a task assignment by its ID.TaskAssignmentRepository.findByMemberId(Long memberId) Finds all task assignments for a specific member, ordered by due date.TaskAssignmentRepository.findByMemberIdAndDueAt(Long memberId, LocalDate dueDate) Finds task assignments for a specific member with a specific due date.TaskAssignmentRepository.findByMemberIdAndStatus(Long memberId, TaskStatus status) Finds task assignments for a member with a specific status, ordered by due date.TaskAssignmentRepository.findByStatus(TaskStatus status) Finds all task assignments with a specific status.TaskAssignmentRepository.findByTaskAndMember(Long taskId, Long memberId) Finds a task assignment by both task and member IDs.TaskAssignmentRepository.findByTaskIds(List<Long> taskIds) Finds task assignments for multiple tasks.TaskAssignmentRepository.findByUnassignedTask(Long taskId) Finds unassigned task assignments for a specific task.TaskAssignmentRepository.findImmediateTasksForMember(Long memberId) Finds immediate tasks for a member (due within 2 days or with no due date).TaskAssignmentRepository.findLastCompletedAssignment(Long id) Finds the most recently completed assignment for a task.TaskAssignmentRepository.findPendingByTaskId(Long taskId) Finds pending task assignments for a specific task.Methods in no.ntnu.principes.repository with parameters of type TaskAssignmentModifier and TypeMethodDescriptionTaskAssignmentRepository.save(TaskAssignment assignment) Saves a task assignment, creating a new record or updating an existing one. -
Uses of TaskAssignment in no.ntnu.principes.service
Methods in no.ntnu.principes.service that return TaskAssignmentModifier and TypeMethodDescriptionTaskAssignmentService.assignTask(Long taskId, Long memberId) Assigns a task to a specific household member.TaskAssignmentService.assignTask(Long taskId, Long memberId, boolean publishEvent) Assigns a task to a specific household member.TaskAssignmentService.autoAssignTask(Long taskId) Automatically assigns a task to the member with the lowest current workload.TaskAssignmentService.autoAssignTask(Long taskId, boolean publishEvent) Automatically assigns a task to the member with the lowest current workload.TaskAssignmentService.cancelTask(Long assignmentId) Marks a task assignment as cancelled.TaskAssignmentService.completeTask(Long assignmentId) Marks a task assignment as completed, awards points, and handles recurring tasks.