Index
All Classes and Interfaces|All Packages|Serialized Form
A
- ApiErrors - Class in com.homannsoftware.tasks.task
-
Maps application failures to RFC 9457 Problem Details.
- ApiErrors() - Constructor for class com.homannsoftware.tasks.task.ApiErrors
-
Creates the shared HTTP exception handler managed by Spring.
C
- com.homannsoftware.tasks - package com.homannsoftware.tasks
- com.homannsoftware.tasks.task - package com.homannsoftware.tasks.task
- complete() - Method in class com.homannsoftware.tasks.task.Task
-
Marks this task completed; repeated calls leave it completed.
- complete(long) - Method in class com.homannsoftware.tasks.task.TaskController
-
Sets completion using an idempotent HTTP operation with no request body.
- complete(long) - Method in class com.homannsoftware.tasks.task.TaskService
-
Sets completion without changing the title; repeating this is idempotent.
- completed() - Method in record class com.homannsoftware.tasks.task.TaskView
-
Returns the value of the
completedrecord component. - conflict(OptimisticLockingFailureException) - Method in class com.homannsoftware.tasks.task.ApiErrors
-
Translates stale persistence writes into an HTTP 409 conflict.
- create(CreateTask) - Method in class com.homannsoftware.tasks.task.TaskController
-
Creates a task after Spring MVC validates the request body.
- create(String) - Method in class com.homannsoftware.tasks.task.TaskService
-
Creates and stores an incomplete task.
- CreateTask - Record Class in com.homannsoftware.tasks.task
-
Input accepted by the create-task HTTP endpoint.
- CreateTask(String) - Constructor for record class com.homannsoftware.tasks.task.CreateTask
-
Creates an instance of a
CreateTaskrecord class.
D
- delete(long) - Method in class com.homannsoftware.tasks.task.TaskController
-
Removes an existing task.
- delete(long) - Method in class com.homannsoftware.tasks.task.TaskService
-
Deletes an existing task.
E
- equals(Object) - Method in record class com.homannsoftware.tasks.task.CreateTask
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.homannsoftware.tasks.task.TaskView
-
Indicates whether some other object is "equal to" this one.
G
- get(long) - Method in class com.homannsoftware.tasks.task.TaskController
-
Reads a task identified by a URL path segment.
- get(long) - Method in class com.homannsoftware.tasks.task.TaskService
-
Reads one task.
- getId() - Method in class com.homannsoftware.tasks.task.Task
-
Reads the identity assigned by persistence.
- getTitle() - Method in class com.homannsoftware.tasks.task.Task
-
Reads the task title.
H
- hashCode() - Method in record class com.homannsoftware.tasks.task.CreateTask
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.homannsoftware.tasks.task.TaskView
-
Returns a hash code value for this object.
I
- id() - Method in record class com.homannsoftware.tasks.task.TaskView
-
Returns the value of the
idrecord component. - isCompleted() - Method in class com.homannsoftware.tasks.task.Task
-
Reads the task's completion state.
L
- list() - Method in class com.homannsoftware.tasks.task.TaskController
-
Lists the tutorial dataset.
- list() - Method in class com.homannsoftware.tasks.task.TaskService
-
Reads the entire tutorial dataset in ascending identity order.
M
- main(String[]) - Static method in class com.homannsoftware.tasks.TaskApplication
-
Starts Spring and the embedded HTTP server.
- missing(TaskNotFound) - Method in class com.homannsoftware.tasks.task.ApiErrors
-
Translates a missing task into a public HTTP 404 problem.
T
- Task - Class in com.homannsoftware.tasks.task
-
A persisted task with a title and an irreversible completion state.
- Task() - Constructor for class com.homannsoftware.tasks.task.Task
-
Creates an uninitialized instance for the JPA persistence provider.
- Task(String) - Constructor for class com.homannsoftware.tasks.task.Task
-
Creates an incomplete task and strips surrounding whitespace from its title.
- TaskApplication - Class in com.homannsoftware.tasks
-
Starts the local task API and supplies its root configuration package.
- TaskApplication() - Constructor for class com.homannsoftware.tasks.TaskApplication
-
Creates the configuration instance managed by Spring.
- TaskController - Class in com.homannsoftware.tasks.task
-
Maps task HTTP requests to use cases and returns explicit API DTOs.
- TaskController(TaskService) - Constructor for class com.homannsoftware.tasks.task.TaskController
-
Receives the application service through constructor injection.
- TaskNotFound - Exception Class in com.homannsoftware.tasks.task
-
Signals that a requested task identity does not exist in storage.
- TaskNotFound(long) - Constructor for exception class com.homannsoftware.tasks.task.TaskNotFound
-
Describes the missing identity without exposing database internals.
- TaskRepository - Interface in com.homannsoftware.tasks.task
-
Provides JPA storage operations for tasks identified by
LongIDs. - TaskService - Class in com.homannsoftware.tasks.task
-
Coordinates task use cases within service-level transaction boundaries.
- TaskService(TaskRepository) - Constructor for class com.homannsoftware.tasks.task.TaskService
-
Receives the repository through constructor injection.
- TaskView - Record Class in com.homannsoftware.tasks.task
-
Public task representation, independent of JPA implementation fields.
- TaskView(Long, String, boolean) - Constructor for record class com.homannsoftware.tasks.task.TaskView
-
Creates an instance of a
TaskViewrecord class. - title() - Method in record class com.homannsoftware.tasks.task.CreateTask
-
Returns the value of the
titlerecord component. - title() - Method in record class com.homannsoftware.tasks.task.TaskView
-
Returns the value of the
titlerecord component. - toString() - Method in record class com.homannsoftware.tasks.task.CreateTask
-
Returns a string representation of this record class.
- toString() - Method in record class com.homannsoftware.tasks.task.TaskView
-
Returns a string representation of this record class.
All Classes and Interfaces|All Packages|Serialized Form