Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- AbstractCrudController<T,
U, - Class in nl.datasteel.crudcraft.runtime.controllerR, F, Q, ID> -
Generic abstract REST controller exposing a full suite of CRUD endpoints.
- AbstractCrudController(AbstractCrudService<T, U, R, F, ID>) - Constructor for class nl.datasteel.crudcraft.runtime.controller.AbstractCrudController
-
Constructor to initialize the controller with the service.
- AbstractCrudService<T,
U, - Class in nl.datasteel.crudcraft.runtime.serviceR, F, ID> -
Generic abstract base for CRUD operations, with hooks for custom business logic, bulk operations, upsert, and partial updates (patch).
- AbstractCrudService(JpaRepository<T, ID>, EntityMapper<T, U, R, F, ID>, Class<T>, Class<R>, Class<F>) - Constructor for class nl.datasteel.crudcraft.runtime.service.AbstractCrudService
-
Constructor to initialize the service with repository, mapper, and entity classes.
- AbstractFileHeader - Class in nl.datasteel.crudcraft.codegen.fileheader
-
Base utilities for generating CrudCraft file headers.
- AbstractFileHeader() - Constructor for class nl.datasteel.crudcraft.codegen.fileheader.AbstractFileHeader
-
Private constructor to prevent instantiation of this utility class.
- AbstractPredicateGenerator - Class in nl.datasteel.crudcraft.codegen.writer.search
-
Base class for predicate generators providing common utilities.
- AbstractPredicateGenerator() - Constructor for class nl.datasteel.crudcraft.codegen.writer.search.AbstractPredicateGenerator
- AccessDeniedException - Exception Class in nl.datasteel.crudcraft.runtime.security
-
Thrown when an authenticated user attempts an action they are not permitted to perform.
- AccessDeniedException(String) - Constructor for exception class nl.datasteel.crudcraft.runtime.security.AccessDeniedException
- AccessDeniedException(String, Throwable) - Constructor for exception class nl.datasteel.crudcraft.runtime.security.AccessDeniedException
- addClear(ModelDescriptor, FieldDescriptor, MethodSpec.Builder, ClassName) - Method in class nl.datasteel.crudcraft.codegen.writer.relationship.OneToManyHandler
-
Adds the clear logic for a one-to-many or many-to-many relationship field.
- addClear(ModelDescriptor, FieldDescriptor, MethodSpec.Builder, ClassName) - Method in class nl.datasteel.crudcraft.codegen.writer.relationship.OneToOneHandler
-
Adds the clear logic for a one-to-one relationship field.
- addClear(ModelDescriptor, FieldDescriptor, MethodSpec.Builder, ClassName) - Method in interface nl.datasteel.crudcraft.codegen.writer.relationship.RelationshipHandler
-
Adds the clear logic for a relationship field.
- addCopyStatements(MethodSpec.Builder) - Method in record class nl.datasteel.crudcraft.codegen.writer.search.PropertySpec
-
Adds statements to copy all properties from another instance.
- addFields(TypeSpec.Builder, String, TypeName) - Method in interface nl.datasteel.crudcraft.codegen.writer.search.OperatorSpec
-
Adds fields to the specified TypeSpec builder for the operator.
- addFields(TypeSpec.Builder, String, TypeName) - Method in class nl.datasteel.crudcraft.codegen.writer.search.RangeOperatorSpec
-
Adds fields to the specified TypeSpec builder for a range operator.
- addFields(TypeSpec.Builder, String, TypeName) - Method in class nl.datasteel.crudcraft.codegen.writer.search.SizeOperatorSpec
-
Adds fields for size operators to the given TypeSpec builder.
- addFields(TypeSpec.Builder, String, TypeName) - Method in class nl.datasteel.crudcraft.codegen.writer.search.ValueOperatorSpec
-
Adds fields for value operators to the given TypeSpec builder.
- addFieldWithAccessors(TypeSpec.Builder, String, TypeName, List<AnnotationSpec>, AnnotationSpec, AnnotationSpec) - Static method in class nl.datasteel.crudcraft.codegen.util.JavaPoetUtils
-
Adds a private field with standard getter and setter methods.
- addFieldWithGetter(TypeSpec.Builder, String, TypeName, List<AnnotationSpec>, AnnotationSpec, AnnotationSpec) - Static method in class nl.datasteel.crudcraft.codegen.util.JavaPoetUtils
-
Adds a private final field with a standard getter method.
- addFix(ModelDescriptor, FieldDescriptor, MethodSpec.Builder, ClassName) - Method in class nl.datasteel.crudcraft.codegen.writer.relationship.OneToManyHandler
-
Adds the fix logic for a one-to-many or many-to-many relationship field.
- addFix(ModelDescriptor, FieldDescriptor, MethodSpec.Builder, ClassName) - Method in class nl.datasteel.crudcraft.codegen.writer.relationship.OneToOneHandler
-
Adds the fix logic for a one-to-one relationship field.
- addFix(ModelDescriptor, FieldDescriptor, MethodSpec.Builder, ClassName) - Method in interface nl.datasteel.crudcraft.codegen.writer.relationship.RelationshipHandler
-
Adds the fix logic for a relationship field.
- addMembers(TypeSpec.Builder) - Method in record class nl.datasteel.crudcraft.codegen.writer.search.PropertySpec
-
Adds the necessary fields and methods to the provided TypeSpec.Builder for this property.
- AdminOnlySecurityPolicy - Class in nl.datasteel.crudcraft.annotations.security.policy
-
Restricts access to users with the ADMIN role.
- AdminOnlySecurityPolicy() - Constructor for class nl.datasteel.crudcraft.annotations.security.policy.AdminOnlySecurityPolicy
- AFTER - Enum constant in enum class nl.datasteel.crudcraft.annotations.SearchOperator
-
Represents a check for values that are after a specified value.
- AfterPredicateGenerator - Class in nl.datasteel.crudcraft.codegen.writer.search
-
Generates predicates for the
AFTER
operator. - AfterPredicateGenerator() - Constructor for class nl.datasteel.crudcraft.codegen.writer.search.AfterPredicateGenerator
- AnnotationModelReader - Class in nl.datasteel.crudcraft.codegen.reader
-
Reads an entity's annotations and builds a
ModelDescriptor
using part extractors. - apply(String) - Method in enum class nl.datasteel.crudcraft.codegen.util.StringCase
-
Applies the case conversion to the given input.
- apply(ControllerMethodContext) - Method in interface nl.datasteel.crudcraft.codegen.writer.controller.method.ControllerMethodComponent
- apply(ControllerMethodContext) - Method in class nl.datasteel.crudcraft.codegen.writer.controller.method.ParameterComponent
- apply(ControllerMethodContext) - Method in class nl.datasteel.crudcraft.codegen.writer.controller.method.ResponseComponent
- apply(ControllerMethodContext) - Method in class nl.datasteel.crudcraft.codegen.writer.controller.method.RouteDeclarationComponent
- apply(ControllerMethodContext) - Method in class nl.datasteel.crudcraft.codegen.writer.controller.method.SecurityComponent
- apply(T) - Method in interface nl.datasteel.crudcraft.annotations.security.RowSecurityHandler
-
Apply row-security constraints to the given entity prior to persistence.
- apply(T) - Method in class nl.datasteel.crudcraft.runtime.security.row.OwnerBasedRowSecurity
-
Ensures that the entity's owner matches the current user, or sets it if not yet assigned.
- applyRowSecurity(T) - Method in class nl.datasteel.crudcraft.runtime.service.AbstractCrudService
-
Apply row-security validation/mutation to the given entity prior to persistence.
- applySecurity(ProcessingEnvironment, TypeSpec.Builder, Set<CrudEndpoint>, ModelDescriptor) - Static method in class nl.datasteel.crudcraft.codegen.util.ControllerSecurityUtil
-
Adds security annotations to the generated controller methods based on the provided
CrudSecurityPolicy
and allowed endpoints. - asPredicate() - Method in interface nl.datasteel.crudcraft.projection.api.FilterCriteria
-
Returns optional QueryDSL predicate representation.
- asPredicate() - Method in record class nl.datasteel.crudcraft.projection.api.ProjectionQuery
-
Converts the filter criteria into a QueryDSL Predicate.
- asSpecification() - Method in interface nl.datasteel.crudcraft.projection.api.FilterCriteria
-
Returns optional JPA specification representation.
- asSpecification() - Method in record class nl.datasteel.crudcraft.projection.api.ProjectionQuery
-
Converts the filter criteria into a JPA Specification.
- attributes() - Method in interface nl.datasteel.crudcraft.projection.mapping.ProjectionMetadata
-
Return attributes in the order of the DTO constructor parameters.
- auditableExtension - Static variable in class nl.datasteel.crudcraft.runtime.extensions.QAuditableExtension
- AuditableExtension - Class in nl.datasteel.crudcraft.runtime.extensions
-
AuditableExtension is an embeddable class that provides auditing capabilities for entities, tracking creation and update timestamps.
- AuditableExtension() - Constructor for class nl.datasteel.crudcraft.runtime.extensions.AuditableExtension
- AuthenticatedSecurityPolicy - Class in nl.datasteel.crudcraft.annotations.security.policy
-
Only authenticated users may access endpoints.
- AuthenticatedSecurityPolicy() - Constructor for class nl.datasteel.crudcraft.annotations.security.policy.AuthenticatedSecurityPolicy
B
- BadRequestException - Exception Class in nl.datasteel.crudcraft.runtime.exception
-
400 Bad Request - client sent invalid data or request.
- BadRequestException(String) - Constructor for exception class nl.datasteel.crudcraft.runtime.exception.BadRequestException
-
Constructs a BadRequestException with a default message.
- BadRequestException(String, Throwable) - Constructor for exception class nl.datasteel.crudcraft.runtime.exception.BadRequestException
-
Constructs a BadRequestException with a message and cause.
- basePackage() - Element in annotation interface nl.datasteel.crudcraft.annotations.classes.CrudCrafted
-
If set, all the generated code (dtos, repos, services, controllers, etc.) will be rooted at this package instead of the entity's own package.
- basePackage() - Method in record class nl.datasteel.crudcraft.codegen.descriptor.model.part.ModelIdentity
-
Returns the value of the
basePackage
record component. - BEFORE - Enum constant in enum class nl.datasteel.crudcraft.annotations.SearchOperator
-
Represents a check for values that are before a specified value.
- BeforePredicateGenerator - Class in nl.datasteel.crudcraft.codegen.writer.search
-
Generates predicates for the
BEFORE
operator. - BeforePredicateGenerator() - Constructor for class nl.datasteel.crudcraft.codegen.writer.search.BeforePredicateGenerator
- BETWEEN - Enum constant in enum class nl.datasteel.crudcraft.annotations.SearchOperator
-
Represents a check for values that are between two specified values.
- BetweenPredicateGenerator - Class in nl.datasteel.crudcraft.codegen.writer.search
-
Generates predicates for the
BETWEEN
operator. - BetweenPredicateGenerator() - Constructor for class nl.datasteel.crudcraft.codegen.writer.search.BetweenPredicateGenerator
- body() - Method in record class nl.datasteel.crudcraft.codegen.writer.controller.EndpointSpec
-
Returns the value of the
body
record component. - build(JPAQueryFactory, Class<T>, Class<D>, ProjectionQuery<T>) - Method in class nl.datasteel.crudcraft.projection.impl.querydsl.MetadataQuerydslProjectionBuilder
-
Builds a QueryDSL query that projects entity data into a DTO.
- build(JPAQueryFactory, Class<T>, Class<D>, ProjectionQuery<T>) - Method in interface nl.datasteel.crudcraft.projection.impl.querydsl.QuerydslProjectionBuilder
-
Builds a QueryDSL query that projects entity data into a DTO.
- build(CriteriaBuilder, Class<T>, Class<D>, ProjectionQuery<T>) - Method in interface nl.datasteel.crudcraft.projection.impl.jpa.CriteriaProjectionBuilder
-
Builds a JPA Criteria query for the given entity type and DTO type.
- build(CriteriaBuilder, Class<T>, Class<D>, ProjectionQuery<T>) - Method in class nl.datasteel.crudcraft.projection.impl.jpa.MetadataCriteriaProjectionBuilder
-
Builds a JPA Criteria query that projects entity data into a DTO.
- build(ModelDescriptor, WriteContext) - Method in class nl.datasteel.crudcraft.codegen.writer.stubs.ControllerGenerator
- build(ModelDescriptor, WriteContext) - Method in class nl.datasteel.crudcraft.codegen.writer.stubs.MapperGenerator
-
Generates the mapper interface for the given model descriptor.
- build(ModelDescriptor, WriteContext) - Method in class nl.datasteel.crudcraft.codegen.writer.stubs.RepositoryGenerator
-
Generates the repository interface for the given model descriptor.
- build(ModelDescriptor, WriteContext) - Method in class nl.datasteel.crudcraft.codegen.writer.stubs.ServiceGenerator
-
Generates the service class for the given model descriptor.
- build(ModelDescriptor, WriteContext) - Method in interface nl.datasteel.crudcraft.codegen.writer.stubs.StubGenerator
-
Build the JavaFile representing the stub.
- builder() - Method in record class nl.datasteel.crudcraft.codegen.writer.controller.method.ControllerMethodContext
-
Returns the value of the
builder
record component. - buildPath(String) - Static method in class nl.datasteel.crudcraft.codegen.writer.search.SearchPathUtil
-
Builds a CriteriaBuilder path from a dotted property path.
- BULK_CREATE - Enum constant in enum class nl.datasteel.crudcraft.annotations.CrudEndpoint
-
Creates multiple resources in a single request.
- BULK_DELETE - Enum constant in enum class nl.datasteel.crudcraft.annotations.CrudEndpoint
-
Deletes multiple resources in a single request.
- BULK_FIND_BY_IDS - Enum constant in enum class nl.datasteel.crudcraft.annotations.CrudEndpoint
-
Finds multiple resources by their IDs in a single request.
- BULK_PATCH - Enum constant in enum class nl.datasteel.crudcraft.annotations.CrudEndpoint
-
Partially updates multiple resources in a single request.
- BULK_UPDATE - Enum constant in enum class nl.datasteel.crudcraft.annotations.CrudEndpoint
-
Updates multiple resources in a single request.
- BULK_UPSERT - Enum constant in enum class nl.datasteel.crudcraft.annotations.CrudEndpoint
-
Creates or updates multiple resources in a single request.
- BulkCreateEndpoint - Class in nl.datasteel.crudcraft.codegen.writer.controller.endpoints
- BulkCreateEndpoint() - Constructor for class nl.datasteel.crudcraft.codegen.writer.controller.endpoints.BulkCreateEndpoint
- BulkDeleteEndpoint - Class in nl.datasteel.crudcraft.codegen.writer.controller.endpoints
- BulkDeleteEndpoint() - Constructor for class nl.datasteel.crudcraft.codegen.writer.controller.endpoints.BulkDeleteEndpoint
- BulkFindByIdsEndpoint - Class in nl.datasteel.crudcraft.codegen.writer.controller.endpoints
- BulkFindByIdsEndpoint() - Constructor for class nl.datasteel.crudcraft.codegen.writer.controller.endpoints.BulkFindByIdsEndpoint
- BulkOperationException - Exception Class in nl.datasteel.crudcraft.runtime.exception
-
Represents partial or complete failures in bulk operations.
- BulkOperationException(String, List<Throwable>) - Constructor for exception class nl.datasteel.crudcraft.runtime.exception.BulkOperationException
-
Constructs a BulkOperationException with a message and item exceptions.
- BulkPatchEndpoint - Class in nl.datasteel.crudcraft.codegen.writer.controller.endpoints
- BulkPatchEndpoint() - Constructor for class nl.datasteel.crudcraft.codegen.writer.controller.endpoints.BulkPatchEndpoint
- BulkUpdateEndpoint - Class in nl.datasteel.crudcraft.codegen.writer.controller.endpoints
- BulkUpdateEndpoint() - Constructor for class nl.datasteel.crudcraft.codegen.writer.controller.endpoints.BulkUpdateEndpoint
- BulkUpsertEndpoint - Class in nl.datasteel.crudcraft.codegen.writer.controller.endpoints
- BulkUpsertEndpoint() - Constructor for class nl.datasteel.crudcraft.codegen.writer.controller.endpoints.BulkUpsertEndpoint
- byId(ID) - Method in class nl.datasteel.crudcraft.runtime.service.AbstractCrudService
-
Create a Specification to filter by ID.
C
- CAMEL - Enum constant in enum class nl.datasteel.crudcraft.codegen.util.StringCase
-
lowerCamelCase style.
- canRead(String[]) - Static method in class nl.datasteel.crudcraft.runtime.security.FieldSecurityUtil
-
Determines if the current user can read based on the given roles.
- canWrite(String[]) - Static method in class nl.datasteel.crudcraft.runtime.security.FieldSecurityUtil
-
Determines if the current user can write based on the given roles.
- cap(String) - Method in class nl.datasteel.crudcraft.codegen.writer.search.AbstractPredicateGenerator
-
Capitalizes the first character of the given name.
- clampPageable(Pageable) - Method in class nl.datasteel.crudcraft.runtime.controller.AbstractCrudController
-
Clamps the pageable parameters to ensure they do not exceed the maximum page size.
- classSuffix() - Method in enum class nl.datasteel.crudcraft.codegen.writer.DtoType
-
Returns the class suffix for this DTO type.
- clearBidirectional(E) - Static method in class nl.datasteel.crudcraft.runtime.util.RelationshipUtils
-
Call before delete: invoke compile-generated Meta.clear(entity), if present.
- collect(ModelDescriptor, int) - Method in class nl.datasteel.crudcraft.codegen.writer.search.SearchFieldCollector
-
Collects searchable fields from the given model descriptor and its children up to the specified depth.
- collection() - Method in record class nl.datasteel.crudcraft.projection.mapping.ProjectionFieldResolver.FieldMapping
-
Returns the value of the
collection
record component. - collection() - Method in interface nl.datasteel.crudcraft.projection.mapping.ProjectionMetadata.Attribute
-
Whether the attribute represents a collection association.
- CollectionHydrator - Class in nl.datasteel.crudcraft.projection.impl
-
Utility class that hydrates collection attributes for projection DTOs.
- CollectionHydrator.FetchResult - Record Class in nl.datasteel.crudcraft.projection.impl
-
Result returned by the
CollectionHydrator.RowFetcher
containing the fetched rows and the Java types of the joined associations. - CollectionHydrator.RowFetcher - Interface in nl.datasteel.crudcraft.projection.impl
-
Functional interface used to fetch collection data for a given entity type.
- construct(PathBuilder<?>, Class<D>) - Method in class nl.datasteel.crudcraft.projection.impl.querydsl.MetadataQuerydslProjectionBuilder
-
Constructs a QueryDSL expression for projecting entity data into a DTO.
- construct(PathBuilder<?>, Class<D>) - Method in interface nl.datasteel.crudcraft.projection.impl.querydsl.QuerydslProjectionBuilder
-
Constructs a QueryDSL expression for projecting entity data into a DTO.
- construct(PathBuilder<?>, Class<D>) - Method in class nl.datasteel.crudcraft.projection.mapping.ProjectionMapper
-
Construct a Querydsl expression for the given DTO type.
- construct(CriteriaBuilder, From<?, ?>, Class<D>) - Method in interface nl.datasteel.crudcraft.projection.impl.jpa.CriteriaProjectionBuilder
-
Constructs a JPA Criteria selection for the given DTO type.
- construct(CriteriaBuilder, From<?, ?>, Class<D>) - Method in class nl.datasteel.crudcraft.projection.impl.jpa.MetadataCriteriaProjectionBuilder
-
Constructs a JPA Criteria selection for the given DTO type.
- construct(CriteriaBuilder, From<?, ?>, Class<D>) - Method in class nl.datasteel.crudcraft.projection.mapping.ProjectionMapper
-
Construct a JPA Criteria selection for the given DTO type.
- CONTAINS - Enum constant in enum class nl.datasteel.crudcraft.annotations.SearchOperator
-
Represents a check for null values.
- CONTAINS_ALL - Enum constant in enum class nl.datasteel.crudcraft.annotations.SearchOperator
-
Represents a check for the presence of all elements in a collection.
- CONTAINS_KEY - Enum constant in enum class nl.datasteel.crudcraft.annotations.SearchOperator
-
Represents a check for the presence of a key in a collection.
- CONTAINS_VALUE - Enum constant in enum class nl.datasteel.crudcraft.annotations.SearchOperator
-
Represents a check for the presence of a value in a collection.
- ContainsAllPredicateGenerator - Class in nl.datasteel.crudcraft.codegen.writer.search
-
Generates predicates for the
CONTAINS_ALL
operator. - ContainsAllPredicateGenerator() - Constructor for class nl.datasteel.crudcraft.codegen.writer.search.ContainsAllPredicateGenerator
- ContainsKeyPredicateGenerator - Class in nl.datasteel.crudcraft.codegen.writer.search
-
Generates predicates for the
CONTAINS_KEY
operator. - ContainsKeyPredicateGenerator() - Constructor for class nl.datasteel.crudcraft.codegen.writer.search.ContainsKeyPredicateGenerator
- ContainsPredicateGenerator - Class in nl.datasteel.crudcraft.codegen.writer.search
-
Generates predicates for the
CONTAINS
operator. - ContainsPredicateGenerator() - Constructor for class nl.datasteel.crudcraft.codegen.writer.search.ContainsPredicateGenerator
- ContainsValuePredicateGenerator - Class in nl.datasteel.crudcraft.codegen.writer.search
-
Generates predicates for the
CONTAINS_VALUE
operator. - ContainsValuePredicateGenerator() - Constructor for class nl.datasteel.crudcraft.codegen.writer.search.ContainsValuePredicateGenerator
- content() - Method in record class nl.datasteel.crudcraft.projection.api.ProjectionResult
-
Returns the content of this ProjectionResult.
- content() - Method in record class nl.datasteel.crudcraft.runtime.controller.response.PaginatedResponse
-
Returns the value of the
content
record component. - ControllerEndpoints - Class in nl.datasteel.crudcraft.codegen.writer.controller
-
Registry of the default CRUD endpoint specifications used by CrudCraft.
- ControllerGenerator - Class in nl.datasteel.crudcraft.codegen.writer.stubs
-
Generates REST controllers directly from templates without relying on an abstract base class.
- ControllerGenerator() - Constructor for class nl.datasteel.crudcraft.codegen.writer.stubs.ControllerGenerator
- ControllerMethodComponent - Interface in nl.datasteel.crudcraft.codegen.writer.controller.method
-
A component that contributes part of a controller method during generation.
- ControllerMethodContext - Record Class in nl.datasteel.crudcraft.codegen.writer.controller.method
-
Context object passed to individual method components during generation.
- ControllerMethodContext(MethodSpec.Builder, ModelDescriptor, EndpointSpec, CrudSecurityPolicy) - Constructor for record class nl.datasteel.crudcraft.codegen.writer.controller.method.ControllerMethodContext
-
Creates an instance of a
ControllerMethodContext
record class. - ControllerMethodGenerator - Class in nl.datasteel.crudcraft.codegen.writer.controller
-
Coordinates the individual components that form a controller method.
- ControllerMethodGenerator() - Constructor for class nl.datasteel.crudcraft.codegen.writer.controller.ControllerMethodGenerator
- ControllerMethodGenerator(List<ControllerMethodComponent>) - Constructor for class nl.datasteel.crudcraft.codegen.writer.controller.ControllerMethodGenerator
- ControllerSecurityUtil - Class in nl.datasteel.crudcraft.codegen.util
-
Utility methods for applying security annotations to generated controllers.
- count() - Method in class nl.datasteel.crudcraft.runtime.controller.AbstractCrudController
-
Count total.
- count() - Method in class nl.datasteel.crudcraft.runtime.service.AbstractCrudService
-
Count total number of entities.
- count() - Method in interface nl.datasteel.crudcraft.runtime.service.CrudService
-
Count total number of entities.
- count(Predicate, Specification<T>) - Method in class nl.datasteel.crudcraft.runtime.service.strategy.JpaSpecificationExecutionStrategy
-
Counts the number of entities matching the given predicate and specification.
- count(Predicate, Specification<T>) - Method in class nl.datasteel.crudcraft.runtime.service.strategy.QuerydslExecutionStrategy
-
Counts the number of entities matching the given predicate and specification.
- count(Predicate, Specification<T>) - Method in interface nl.datasteel.crudcraft.runtime.service.strategy.QueryExecutionStrategy
-
Counts the number of entities matching the given predicate and specification.
- COUNT - Enum constant in enum class nl.datasteel.crudcraft.annotations.CrudEndpoint
-
Counts the total number of resources that match the criteria.
- CountEndpoint - Class in nl.datasteel.crudcraft.codegen.writer.controller.endpoints
- CountEndpoint() - Constructor for class nl.datasteel.crudcraft.codegen.writer.controller.endpoints.CountEndpoint
- create(ModelDescriptor) - Method in class nl.datasteel.crudcraft.codegen.writer.controller.endpoints.BulkCreateEndpoint
- create(ModelDescriptor) - Method in class nl.datasteel.crudcraft.codegen.writer.controller.endpoints.BulkDeleteEndpoint
- create(ModelDescriptor) - Method in class nl.datasteel.crudcraft.codegen.writer.controller.endpoints.BulkFindByIdsEndpoint
- create(ModelDescriptor) - Method in class nl.datasteel.crudcraft.codegen.writer.controller.endpoints.BulkPatchEndpoint
- create(ModelDescriptor) - Method in class nl.datasteel.crudcraft.codegen.writer.controller.endpoints.BulkUpdateEndpoint
- create(ModelDescriptor) - Method in class nl.datasteel.crudcraft.codegen.writer.controller.endpoints.BulkUpsertEndpoint
- create(ModelDescriptor) - Method in class nl.datasteel.crudcraft.codegen.writer.controller.endpoints.CountEndpoint
- create(ModelDescriptor) - Method in class nl.datasteel.crudcraft.codegen.writer.controller.endpoints.CreateEndpoint
- create(ModelDescriptor) - Method in class nl.datasteel.crudcraft.codegen.writer.controller.endpoints.DeleteEndpoint
- create(ModelDescriptor) - Method in interface nl.datasteel.crudcraft.codegen.writer.controller.endpoints.EndpointSpecProvider
- create(ModelDescriptor) - Method in class nl.datasteel.crudcraft.codegen.writer.controller.endpoints.ExistsEndpoint
- create(ModelDescriptor) - Method in class nl.datasteel.crudcraft.codegen.writer.controller.endpoints.ExportEndpoint
- create(ModelDescriptor) - Method in class nl.datasteel.crudcraft.codegen.writer.controller.endpoints.GetAllEndpoint
- create(ModelDescriptor) - Method in class nl.datasteel.crudcraft.codegen.writer.controller.endpoints.GetAllRefEndpoint
- create(ModelDescriptor) - Method in class nl.datasteel.crudcraft.codegen.writer.controller.endpoints.GetOneEndpoint
- create(ModelDescriptor) - Method in class nl.datasteel.crudcraft.codegen.writer.controller.endpoints.PatchEndpoint
- create(ModelDescriptor) - Method in class nl.datasteel.crudcraft.codegen.writer.controller.endpoints.SearchEndpoint
- create(ModelDescriptor) - Method in class nl.datasteel.crudcraft.codegen.writer.controller.endpoints.UpdateEndpoint
- create(ModelDescriptor) - Method in class nl.datasteel.crudcraft.codegen.writer.controller.endpoints.ValidateEndpoint
- create(U) - Method in class nl.datasteel.crudcraft.runtime.service.AbstractCrudService
-
Create a new entity from the request DTO, invoking pre-/post-save hooks.
- create(U) - Method in interface nl.datasteel.crudcraft.runtime.service.CrudService
-
Create a new entity from the DTO.
- create(U) - Method in class nl.datasteel.crudcraft.runtime.controller.AbstractCrudController
-
Create new.
- CREATE_ONLY - Enum constant in enum class nl.datasteel.crudcraft.annotations.CrudTemplate
-
Only creation endpoints.
- createAll(List<U>) - Method in class nl.datasteel.crudcraft.runtime.controller.AbstractCrudController
-
Bulk create.
- createAll(Collection<U>) - Method in class nl.datasteel.crudcraft.runtime.service.AbstractCrudService
-
Bulk create entities from a collection of request DTOs.
- createAll(Collection<U>) - Method in interface nl.datasteel.crudcraft.runtime.service.CrudService
-
Bulk create from a collection of DTOs.
- createdAt - Variable in class nl.datasteel.crudcraft.runtime.extensions.QAuditableExtension
- CreateEndpoint - Class in nl.datasteel.crudcraft.codegen.writer.controller.endpoints
- CreateEndpoint() - Constructor for class nl.datasteel.crudcraft.codegen.writer.controller.endpoints.CreateEndpoint
- CRITERIA - Enum constant in enum class nl.datasteel.crudcraft.projection.config.ProjectionProperties.Engine
- criteriaProjectionBuilder(ProjectionMetadataRegistry) - Method in class nl.datasteel.crudcraft.projection.config.ProjectionAutoConfiguration
-
Provides a CriteriaProjectionBuilder that uses ProjectionMetadataRegistry to access compile-time generated metadata.
- CriteriaProjectionBuilder - Interface in nl.datasteel.crudcraft.projection.impl.jpa
-
Builds JPA Criteria queries that project entity data directly into DTOs.
- CrudCraftAutoConfiguration - Class in nl.datasteel.crudcraft.starter
-
Autoconfiguration for CrudCraft, enabling the exception handler and search properties.
- CrudCraftAutoConfiguration() - Constructor for class nl.datasteel.crudcraft.starter.CrudCraftAutoConfiguration
- CrudCrafted - Annotation Interface in nl.datasteel.crudcraft.annotations.classes
-
Annotation to mark a class as a CrudCrafted entity.
- crudCraftEntity() - Method in record class nl.datasteel.crudcraft.codegen.descriptor.model.part.ModelFlags
-
Returns the value of the
crudCraftEntity
record component. - CrudCraftExceptionHandler - Class in nl.datasteel.crudcraft.runtime.controller
-
Central @RestControllerAdvice for translating exceptions into HTTP responses.
- CrudCraftExceptionHandler() - Constructor for class nl.datasteel.crudcraft.runtime.controller.CrudCraftExceptionHandler
- CrudCraftGenerationException - Exception Class in nl.datasteel.crudcraft.codegen.exception
-
Base class for all CrudCraft generation exceptions.
- CrudCraftGenerationException(String) - Constructor for exception class nl.datasteel.crudcraft.codegen.exception.CrudCraftGenerationException
-
Default constructor.
- CrudCraftGenerationException(String, Throwable) - Constructor for exception class nl.datasteel.crudcraft.codegen.exception.CrudCraftGenerationException
-
Constructor with a message and a cause.
- CrudCraftProcessor - Class in nl.datasteel.crudcraft.codegen
-
Annotation processor for CrudCraft.
- CrudCraftProcessor() - Constructor for class nl.datasteel.crudcraft.codegen.CrudCraftProcessor
- CrudCraftRuntimeException - Exception Class in nl.datasteel.crudcraft.runtime.exception
-
Base class for all CrudCraft runtime exceptions.
- CrudCraftRuntimeException(String) - Constructor for exception class nl.datasteel.crudcraft.runtime.exception.CrudCraftRuntimeException
-
Constructs a CrudCraftRuntimeException with a default message.
- CrudCraftRuntimeException(String, Throwable) - Constructor for exception class nl.datasteel.crudcraft.runtime.exception.CrudCraftRuntimeException
-
Constructs a CrudCraftRuntimeException with a message and cause.
- CrudCraftSampleApplication - Class in nl.datasteel.crudcraft.sample
-
Entry point for the demo application showcasing various CrudCraft features.
- CrudCraftSampleApplication() - Constructor for class nl.datasteel.crudcraft.sample.CrudCraftSampleApplication
- CrudCraftSearchProperties - Class in nl.datasteel.crudcraft.runtime.config
-
Configuration properties for CrudCraft search operations.
- CrudCraftSearchProperties() - Constructor for class nl.datasteel.crudcraft.runtime.config.CrudCraftSearchProperties
- CrudEndpoint - Enum Class in nl.datasteel.crudcraft.annotations
-
Enumeration of CRUD (Create, Read, Update, Delete) endpoints.
- CrudEndpointPolicy - Interface in nl.datasteel.crudcraft.annotations
-
Interface for defining policies that resolve CRUD endpoints.
- CrudSecurityPolicy - Interface in nl.datasteel.crudcraft.annotations.security
-
Determines the Spring Security expression to apply for a specific CRUD endpoint.
- CrudService<T,
U, - Interface in nl.datasteel.crudcraft.runtime.serviceR, F, ID> -
Defines the basic CRUD API surface, including pagination, search, partial updates (patch), upsert, and bulk operations.
- CrudTemplate - Enum Class in nl.datasteel.crudcraft.annotations
-
Enum representing various CRUD endpoint templates.
D
- DataIntegrityException - Exception Class in nl.datasteel.crudcraft.runtime.exception
-
409 Conflict - database integrity violation (foreign key, non-null, etc.).
- DataIntegrityException(String, Throwable) - Constructor for exception class nl.datasteel.crudcraft.runtime.exception.DataIntegrityException
-
Constructs a DataIntegrityException with a default message.
- defaults(ModelDescriptor) - Static method in class nl.datasteel.crudcraft.codegen.writer.controller.ControllerEndpoints
- defined() - Method in record class nl.datasteel.crudcraft.codegen.descriptor.field.part.Security
-
Returns the value of the
defined
record component. - delete(ID) - Method in class nl.datasteel.crudcraft.runtime.controller.AbstractCrudController
-
Delete.
- delete(ID) - Method in class nl.datasteel.crudcraft.runtime.service.AbstractCrudService
-
Delete an entity by ID, invoking pre/post-delete hooks.
- delete(ID) - Method in interface nl.datasteel.crudcraft.runtime.service.CrudService
-
Delete an entity by ID.
- DELETE - Enum constant in enum class nl.datasteel.crudcraft.annotations.CrudEndpoint
-
Deletes a resource by its ID.
- deleteAllByIds(Collection<ID>) - Method in class nl.datasteel.crudcraft.runtime.controller.AbstractCrudController
-
Bulk delete.
- deleteAllByIds(Collection<ID>) - Method in class nl.datasteel.crudcraft.runtime.service.AbstractCrudService
-
Bulk delete entities by their IDs.
- deleteAllByIds(Collection<ID>) - Method in interface nl.datasteel.crudcraft.runtime.service.CrudService
-
Bulk delete entities by their IDs.
- deleted - Variable in class nl.datasteel.crudcraft.runtime.extensions.QSoftDeleteExtension
- deletedAt - Variable in class nl.datasteel.crudcraft.runtime.extensions.QSoftDeleteExtension
- DeleteEndpoint - Class in nl.datasteel.crudcraft.codegen.writer.controller.endpoints
- DeleteEndpoint() - Constructor for class nl.datasteel.crudcraft.codegen.writer.controller.endpoints.DeleteEndpoint
- DemoDataSeeder - Class in nl.datasteel.crudcraft.sample
-
Seeds the in-memory database with sample data for demonstration purposes.
- DemoDataSeeder(EntityManager) - Constructor for class nl.datasteel.crudcraft.sample.DemoDataSeeder
- DenyAllSecurityPolicy - Class in nl.datasteel.crudcraft.annotations.security.policy
-
Denies access to all endpoints.
- DenyAllSecurityPolicy() - Constructor for class nl.datasteel.crudcraft.annotations.security.policy.DenyAllSecurityPolicy
- depth() - Element in annotation interface nl.datasteel.crudcraft.annotations.fields.Searchable
-
Optional search depth when the annotation is applied on an entity class.
- depth() - Method in record class nl.datasteel.crudcraft.codegen.descriptor.field.part.SearchOptions
-
Returns the value of the
depth
record component. - descriptor() - Method in record class nl.datasteel.crudcraft.codegen.writer.search.PropertySpec
-
Returns the value of the
descriptor
record component. - descriptor() - Method in record class nl.datasteel.crudcraft.codegen.writer.search.SearchField
-
Returns the value of the
descriptor
record component. - DisabledEndpoint - Annotation Interface in nl.datasteel.crudcraft.runtime.controller
-
Annotation to mark endpoints that are disabled.
- doFilterInternal(HttpServletRequest, HttpServletResponse, FilterChain) - Method in class nl.datasteel.crudcraft.sample.RequestTimingFilter
- Dto - Annotation Interface in nl.datasteel.crudcraft.annotations.fields
-
Annotation to mark a field for inclusion in Data Transfer Objects (DTOs).
- DtoGenerator - Class in nl.datasteel.crudcraft.codegen.writer
-
Generates Request, Response and Ref DTOs honoring @Dto, @Request, @EnumString, @AuditTrail, embedded classes and JPA-relaties.
- DtoGenerator() - Constructor for class nl.datasteel.crudcraft.codegen.writer.DtoGenerator
- DtoOptions - Record Class in nl.datasteel.crudcraft.codegen.descriptor.field.part
-
Represents the options for a field regarding Data Transfer Objects (DTOs).
- DtoOptions(boolean, boolean, boolean, String[]) - Constructor for record class nl.datasteel.crudcraft.codegen.descriptor.field.part.DtoOptions
-
Creates an instance of a
DtoOptions
record class. - DtoOptionsExtractor - Class in nl.datasteel.crudcraft.codegen.reader.field
-
Singleton extractor for DtoOptions.
- DtoOptionsExtractor() - Constructor for class nl.datasteel.crudcraft.codegen.reader.field.DtoOptionsExtractor
- dtoType() - Method in interface nl.datasteel.crudcraft.projection.mapping.ProjectionMetadata
-
Returns the DTO type this metadata represents.
- DtoType - Enum Class in nl.datasteel.crudcraft.codegen.writer
-
Configuration for the different DTO flavours.
- DuplicateResourceException - Exception Class in nl.datasteel.crudcraft.runtime.exception
-
409 Conflict - resource already exists or uniqueness constraint violation.
- DuplicateResourceException(String) - Constructor for exception class nl.datasteel.crudcraft.runtime.exception.DuplicateResourceException
-
Constructs a DuplicateResourceException with a default message.
E
- editable() - Element in annotation interface nl.datasteel.crudcraft.annotations.classes.CrudCrafted
-
When true, we generate a concrete stub extending the abstract base (once).
- editable() - Method in record class nl.datasteel.crudcraft.codegen.descriptor.model.part.ModelFlags
-
Returns the value of the
editable
record component. - EditableFileTool - Class in nl.datasteel.crudcraft.tools
-
Utility that post-processes generated sources to deal with editable stubs.
- EditableFileTool() - Constructor for class nl.datasteel.crudcraft.tools.EditableFileTool
- editableHeader(String, String, String, String) - Static method in class nl.datasteel.crudcraft.codegen.fileheader.AbstractFileHeader
-
Generates a header for editable files in the specified layer.
- editableHeader(String, String, String, String, String) - Static method in class nl.datasteel.crudcraft.codegen.fileheader.AbstractFileHeader
-
Generates a header for editable files in the specified layer with an extra paragraph.
- editableHeader(String, String, String, String, String, String) - Static method in class nl.datasteel.crudcraft.codegen.fileheader.AbstractFileHeader
-
Generates a header for editable files in the specified layer with an extra paragraph and features.
- embeddable() - Method in record class nl.datasteel.crudcraft.codegen.descriptor.model.part.ModelFlags
-
Returns the value of the
embeddable
record component. - embedded() - Method in record class nl.datasteel.crudcraft.codegen.descriptor.field.part.Relationship
-
Returns the value of the
embedded
record component. - endpoint() - Method in class nl.datasteel.crudcraft.codegen.writer.controller.endpoints.BulkCreateEndpoint
- endpoint() - Method in class nl.datasteel.crudcraft.codegen.writer.controller.endpoints.BulkDeleteEndpoint
- endpoint() - Method in class nl.datasteel.crudcraft.codegen.writer.controller.endpoints.BulkFindByIdsEndpoint
- endpoint() - Method in class nl.datasteel.crudcraft.codegen.writer.controller.endpoints.BulkPatchEndpoint
- endpoint() - Method in class nl.datasteel.crudcraft.codegen.writer.controller.endpoints.BulkUpdateEndpoint
- endpoint() - Method in class nl.datasteel.crudcraft.codegen.writer.controller.endpoints.BulkUpsertEndpoint
- endpoint() - Method in class nl.datasteel.crudcraft.codegen.writer.controller.endpoints.CountEndpoint
- endpoint() - Method in class nl.datasteel.crudcraft.codegen.writer.controller.endpoints.CreateEndpoint
- endpoint() - Method in class nl.datasteel.crudcraft.codegen.writer.controller.endpoints.DeleteEndpoint
- endpoint() - Method in interface nl.datasteel.crudcraft.codegen.writer.controller.endpoints.EndpointSpecProvider
- endpoint() - Method in class nl.datasteel.crudcraft.codegen.writer.controller.endpoints.ExistsEndpoint
- endpoint() - Method in class nl.datasteel.crudcraft.codegen.writer.controller.endpoints.ExportEndpoint
- endpoint() - Method in class nl.datasteel.crudcraft.codegen.writer.controller.endpoints.GetAllEndpoint
- endpoint() - Method in class nl.datasteel.crudcraft.codegen.writer.controller.endpoints.GetAllRefEndpoint
- endpoint() - Method in class nl.datasteel.crudcraft.codegen.writer.controller.endpoints.GetOneEndpoint
- endpoint() - Method in class nl.datasteel.crudcraft.codegen.writer.controller.endpoints.PatchEndpoint
- endpoint() - Method in class nl.datasteel.crudcraft.codegen.writer.controller.endpoints.SearchEndpoint
- endpoint() - Method in class nl.datasteel.crudcraft.codegen.writer.controller.endpoints.UpdateEndpoint
- endpoint() - Method in class nl.datasteel.crudcraft.codegen.writer.controller.endpoints.ValidateEndpoint
- endpoint() - Method in record class nl.datasteel.crudcraft.codegen.writer.controller.EndpointSpec
-
Returns the value of the
endpoint
record component. - endpoint() - Method in record class nl.datasteel.crudcraft.codegen.writer.controller.method.ControllerMethodContext
- EndpointOptions - Record Class in nl.datasteel.crudcraft.codegen.descriptor.model.part
-
Options related to endpoint generation for a model.
- EndpointOptions(CrudTemplate, CrudEndpoint[], CrudEndpoint[], Class<? extends CrudEndpointPolicy>) - Constructor for record class nl.datasteel.crudcraft.codegen.descriptor.model.part.EndpointOptions
-
Immutable constructor for EndpointOptions.
- EndpointOptionsExtractor - Class in nl.datasteel.crudcraft.codegen.reader.model
-
Singleton extractor for
EndpointOptions
. - EndpointOptionsExtractor() - Constructor for class nl.datasteel.crudcraft.codegen.reader.model.EndpointOptionsExtractor
- endpointPolicy() - Element in annotation interface nl.datasteel.crudcraft.annotations.classes.CrudCrafted
-
Used for user-defined policies that can be used to control which endpoints are generated.
- endpointPolicy() - Method in record class nl.datasteel.crudcraft.codegen.descriptor.model.part.EndpointOptions
-
Returns the value of the
endpointPolicy
record component. - EndpointSpec - Record Class in nl.datasteel.crudcraft.codegen.writer.controller
-
Describes how to generate a single controller endpoint.
- EndpointSpec(CrudEndpoint, String, Function<ModelDescriptor, AnnotationSpec>, Function<ModelDescriptor, TypeName>, List<Function<ModelDescriptor, ParameterSpec>>, BiConsumer<MethodSpec.Builder, ModelDescriptor>) - Constructor for record class nl.datasteel.crudcraft.codegen.writer.controller.EndpointSpec
-
Creates an instance of a
EndpointSpec
record class. - EndpointSpecProvider - Interface in nl.datasteel.crudcraft.codegen.writer.controller.endpoints
-
Provides an
EndpointSpec
for a specificCrudEndpoint
. - EndpointSupport - Class in nl.datasteel.crudcraft.codegen.writer.controller.endpoints
-
Common
ClassName
constants used by endpoint generators. - ENDS_WITH - Enum constant in enum class nl.datasteel.crudcraft.annotations.SearchOperator
-
Represents a check for values that end with a specified prefix.
- EndsWithPredicateGenerator - Class in nl.datasteel.crudcraft.codegen.writer.search
-
Generates predicates for the
ENDS_WITH
operator. - EndsWithPredicateGenerator() - Constructor for class nl.datasteel.crudcraft.codegen.writer.search.EndsWithPredicateGenerator
- entityClass - Variable in class nl.datasteel.crudcraft.runtime.service.AbstractCrudService
- EntityMapper<T,
U, - Interface in nl.datasteel.crudcraft.runtime.mapperR, F, ID> -
Maps between JPA entities and Data Transfer Objects (DTOs).
- EnumOptions - Record Class in nl.datasteel.crudcraft.codegen.descriptor.field.part
-
Represents options for an enum field in a model.
- EnumOptions(boolean, List<String>) - Constructor for record class nl.datasteel.crudcraft.codegen.descriptor.field.part.EnumOptions
-
Unmodifiable constructor for EnumOptions.
- EnumOptionsExtractor - Class in nl.datasteel.crudcraft.codegen.reader.field
-
Singleton extractor for enum field options.
- EnumOptionsExtractor() - Constructor for class nl.datasteel.crudcraft.codegen.reader.field.EnumOptionsExtractor
- EnumString - Annotation Interface in nl.datasteel.crudcraft.annotations.fields
-
Annotation to mark a field as an enum represented by a string.
- env() - Method in class nl.datasteel.crudcraft.codegen.writer.WriteContext
-
Returns the processing environment for this context.
- equals(Object) - Method in class nl.datasteel.crudcraft.codegen.descriptor.field.FieldDescriptor
-
Returns the identity of the field, which includes its name and type.
- equals(Object) - Method in record class nl.datasteel.crudcraft.codegen.descriptor.field.part.DtoOptions
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class nl.datasteel.crudcraft.codegen.descriptor.field.part.EnumOptions
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class nl.datasteel.crudcraft.codegen.descriptor.field.part.Identity
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class nl.datasteel.crudcraft.codegen.descriptor.field.part.Relationship
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class nl.datasteel.crudcraft.codegen.descriptor.field.part.SearchOptions
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class nl.datasteel.crudcraft.codegen.descriptor.field.part.Security
-
Checks if the current Security object is equal to another object.
- equals(Object) - Method in record class nl.datasteel.crudcraft.codegen.descriptor.field.part.Validation
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in class nl.datasteel.crudcraft.codegen.descriptor.model.ModelDescriptor
-
Returns the identity of the model, which includes its name, package, and fields.
- equals(Object) - Method in record class nl.datasteel.crudcraft.codegen.descriptor.model.part.EndpointOptions
-
Checks if the EndpointOptions is equal to another object.
- equals(Object) - Method in record class nl.datasteel.crudcraft.codegen.descriptor.model.part.ModelFlags
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class nl.datasteel.crudcraft.codegen.descriptor.model.part.ModelIdentity
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class nl.datasteel.crudcraft.codegen.descriptor.model.part.ModelSecurity
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class nl.datasteel.crudcraft.codegen.util.StubGeneratorUtil.StubMeta
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class nl.datasteel.crudcraft.codegen.writer.controller.EndpointSpec
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class nl.datasteel.crudcraft.codegen.writer.controller.method.ControllerMethodContext
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class nl.datasteel.crudcraft.codegen.writer.search.PropertySpec
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class nl.datasteel.crudcraft.codegen.writer.search.SearchField
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class nl.datasteel.crudcraft.projection.api.ProjectionQuery
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class nl.datasteel.crudcraft.projection.api.ProjectionResult
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class nl.datasteel.crudcraft.projection.impl.CollectionHydrator.FetchResult
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class nl.datasteel.crudcraft.projection.mapping.ProjectionFieldResolver.FieldMapping
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class nl.datasteel.crudcraft.runtime.controller.response.ErrorResponse
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class nl.datasteel.crudcraft.runtime.controller.response.PaginatedResponse
-
Indicates whether some other object is "equal to" this one.
- EQUALS - Enum constant in enum class nl.datasteel.crudcraft.annotations.SearchOperator
-
Represents an equality check.
- EqualsPredicateGenerator - Class in nl.datasteel.crudcraft.codegen.writer.search
-
Generates predicates for the
EQUALS
operator. - EqualsPredicateGenerator() - Constructor for class nl.datasteel.crudcraft.codegen.writer.search.EqualsPredicateGenerator
- error() - Method in record class nl.datasteel.crudcraft.runtime.controller.response.ErrorResponse
-
Returns the value of the
error
record component. - ErrorResponse - Record Class in nl.datasteel.crudcraft.runtime.controller.response
-
Standard JSON structure for error responses.
- ErrorResponse(int, String, String, Instant, String) - Constructor for record class nl.datasteel.crudcraft.runtime.controller.response.ErrorResponse
-
Creates an instance of a
ErrorResponse
record class. - exists(Predicate, Specification<T>) - Method in class nl.datasteel.crudcraft.runtime.service.strategy.JpaSpecificationExecutionStrategy
-
Checks if any entities match the given predicate and specification.
- exists(Predicate, Specification<T>) - Method in class nl.datasteel.crudcraft.runtime.service.strategy.QuerydslExecutionStrategy
-
Checks if any entity matches the given predicate and specification.
- exists(Predicate, Specification<T>) - Method in interface nl.datasteel.crudcraft.runtime.service.strategy.QueryExecutionStrategy
-
Checks if any entity matches the given predicate and specification.
- exists(ID) - Method in class nl.datasteel.crudcraft.runtime.controller.AbstractCrudController
-
Exists check.
- EXISTS - Enum constant in enum class nl.datasteel.crudcraft.annotations.CrudEndpoint
-
Checks if a resource exists by its ID.
- existsById(ID) - Method in class nl.datasteel.crudcraft.runtime.service.AbstractCrudService
-
Check if an entity exists by ID.
- existsById(ID) - Method in interface nl.datasteel.crudcraft.runtime.service.CrudService
-
Check existence by ID.
- ExistsEndpoint - Class in nl.datasteel.crudcraft.codegen.writer.controller.endpoints
- ExistsEndpoint() - Constructor for class nl.datasteel.crudcraft.codegen.writer.controller.endpoints.ExistsEndpoint
- export(Q, Integer, String) - Method in class nl.datasteel.crudcraft.runtime.controller.AbstractCrudController
-
Export search results as CSV, JSON or XLSX.
- EXPORT - Enum constant in enum class nl.datasteel.crudcraft.annotations.CrudEndpoint
-
Exports resources in a specific format, based on specified criteria.
- ExportEndpoint - Class in nl.datasteel.crudcraft.codegen.writer.controller.endpoints
- ExportEndpoint() - Constructor for class nl.datasteel.crudcraft.codegen.writer.controller.endpoints.ExportEndpoint
- ExportUtil - Class in nl.datasteel.crudcraft.runtime.util
-
Utility methods for exporting DTO lists to various formats.
- extract(TypeElement, ProcessingEnvironment) - Method in class nl.datasteel.crudcraft.codegen.reader.model.EndpointOptionsExtractor
-
Extracts endpoint options from the given model class.
- extract(TypeElement, ProcessingEnvironment) - Method in class nl.datasteel.crudcraft.codegen.reader.model.FlagsExtractor
-
Extracts flags from the given model class.
- extract(TypeElement, ProcessingEnvironment) - Method in class nl.datasteel.crudcraft.codegen.reader.model.IdentityExtractor
-
Extracts the identity of the model class.
- extract(TypeElement, ProcessingEnvironment) - Method in interface nl.datasteel.crudcraft.codegen.reader.model.ModelPartExtractor
-
Extracts a part of the model from the given TypeElement.
- extract(TypeElement, ProcessingEnvironment) - Method in class nl.datasteel.crudcraft.codegen.reader.model.ModelSecurityExtractor
-
Extracts security configuration from the given model class.
- extract(VariableElement, ProcessingEnvironment) - Method in class nl.datasteel.crudcraft.codegen.reader.field.DtoOptionsExtractor
-
Extracts a part of the field from the given VariableElement.
- extract(VariableElement, ProcessingEnvironment) - Method in class nl.datasteel.crudcraft.codegen.reader.field.EnumOptionsExtractor
-
Extracts enum options from a field.
- extract(VariableElement, ProcessingEnvironment) - Method in interface nl.datasteel.crudcraft.codegen.reader.field.FieldPartExtractor
-
Extracts a part of the field from the given VariableElement.
- extract(VariableElement, ProcessingEnvironment) - Method in class nl.datasteel.crudcraft.codegen.reader.field.IdentityExtractor
-
Extracts the Identity field part from a VariableElement.
- extract(VariableElement, ProcessingEnvironment) - Method in class nl.datasteel.crudcraft.codegen.reader.field.RelationshipExtractor
-
Extracts a Relationship from a VariableElement representing a field.
- extract(VariableElement, ProcessingEnvironment) - Method in class nl.datasteel.crudcraft.codegen.reader.field.SearchOptionsExtractor
-
Extracts SearchOptions from a field annotated with @Searchable.
- extract(VariableElement, ProcessingEnvironment) - Method in class nl.datasteel.crudcraft.codegen.reader.field.SecurityExtractor
-
Extracts Security from a field annotated with @FieldSecurity.
- extract(VariableElement, ProcessingEnvironment) - Method in class nl.datasteel.crudcraft.codegen.reader.field.ValidationExtractor
-
Extracts Validation annotations from a field.
- EXTRACTORS - Static variable in class nl.datasteel.crudcraft.codegen.reader.field.FieldPartExtractorRegistry
-
A map that associates field part types with their corresponding extractors.
- extractTargetEntityValue(AnnotationMirror) - Static method in class nl.datasteel.crudcraft.codegen.util.TypeUtils
-
Extracts the targetEntity value from a ManyToMany annotation mirror.
F
- FAIL_ON_DENIED - Enum constant in enum class nl.datasteel.crudcraft.annotations.security.WritePolicy
-
Throw an
AccessDeniedException
when write access is denied. - fetch(Class<?>, List<ProjectionMetadata.Attribute>, List<Object>) - Method in interface nl.datasteel.crudcraft.projection.impl.CollectionHydrator.RowFetcher
-
Fetches rows for the specified entity type and attributes.
- FetchResult(List<Object[]>, List<Class<?>>) - Constructor for record class nl.datasteel.crudcraft.projection.impl.CollectionHydrator.FetchResult
-
Constructs a new FetchResult with the given rows and join types.
- FieldDescriptor - Class in nl.datasteel.crudcraft.codegen.descriptor.field
-
Represents a field in a model, encapsulating various field properties.
- FieldDescriptor(Identity, DtoOptions, EnumOptions, Relationship, Validation, SearchOptions, Security) - Constructor for class nl.datasteel.crudcraft.codegen.descriptor.field.FieldDescriptor
-
Creates a FieldDescriptor instance its various properties.
- FieldMapping(String, boolean, Class<?>) - Constructor for record class nl.datasteel.crudcraft.projection.mapping.ProjectionFieldResolver.FieldMapping
-
Creates an instance of a
FieldMapping
record class. - FieldPartExtractor<T> - Interface in nl.datasteel.crudcraft.codegen.reader.field
-
Interface for extracting parts of a field from a VariableElement.
- FieldPartExtractorRegistry - Class in nl.datasteel.crudcraft.codegen.reader.field
-
Registry for field part extractors.
- fields() - Method in record class nl.datasteel.crudcraft.codegen.descriptor.model.part.ModelIdentity
-
Safe, Defensive accessor for fields.
- FieldSecurity - Annotation Interface in nl.datasteel.crudcraft.annotations.security
-
Declares role-based read and write access for a field.
- FieldSecurityUtil - Class in nl.datasteel.crudcraft.runtime.security
-
Utility methods for enforcing field-level security on DTOs.
- FileHeader - Interface in nl.datasteel.crudcraft.codegen.fileheader
-
Abstraction for creating a Javadoc file header.
- FilerUtils - Class in nl.datasteel.crudcraft.codegen.util
-
Utilities for dealing with
Filer
instances. - FileWritingException - Exception Class in nl.datasteel.crudcraft.codegen.exception
-
Exception thrown when there is an error writing a file during code generation.
- FileWritingException(String) - Constructor for exception class nl.datasteel.crudcraft.codegen.exception.FileWritingException
-
Constructs a new FileWritingException with a default message.
- FileWritingException(String, String) - Constructor for exception class nl.datasteel.crudcraft.codegen.exception.FileWritingException
-
Constructs a new FileWritingException with a custom message.
- filter() - Method in record class nl.datasteel.crudcraft.projection.api.ProjectionQuery
-
Returns the value of the
filter
record component. - FilterCriteria<T> - Interface in nl.datasteel.crudcraft.projection.api
-
Abstraction over different filtering mechanisms.
- filterRead(T) - Static method in class nl.datasteel.crudcraft.runtime.security.FieldSecurityUtil
-
Filters the provided DTO for read operations.
- filterWrite(T) - Static method in class nl.datasteel.crudcraft.runtime.security.FieldSecurityUtil
-
Filters the provided DTO for write operations.
- filterWrite(T, Object) - Static method in class nl.datasteel.crudcraft.runtime.security.FieldSecurityUtil
-
Filters the DTO using values from an existing object to restore fields the caller is not permitted to modify.
- findAll(Predicate, Specification<T>) - Method in class nl.datasteel.crudcraft.runtime.service.strategy.JpaSpecificationExecutionStrategy
-
Executes a query with the given predicate and specification, returning all matching entities.
- findAll(Predicate, Specification<T>) - Method in class nl.datasteel.crudcraft.runtime.service.strategy.QuerydslExecutionStrategy
-
Finds all entities matching the given predicate and specification.
- findAll(Predicate, Specification<T>) - Method in interface nl.datasteel.crudcraft.runtime.service.strategy.QueryExecutionStrategy
-
Finds all entities matching the given predicate and specification.
- findAll(Predicate, Specification<T>, Class<P>) - Method in class nl.datasteel.crudcraft.runtime.service.strategy.QuerydslExecutionStrategy
-
Finds all entities matching the given predicate and specification, returning them as the specified projection type.
- findAll(Predicate, Specification<T>, Class<R>) - Method in class nl.datasteel.crudcraft.runtime.service.strategy.JpaSpecificationExecutionStrategy
-
Finds all entities matching the given predicate and specification, projecting them to the specified type.
- findAll(Predicate, Specification<T>, Class<R>) - Method in interface nl.datasteel.crudcraft.runtime.service.strategy.QueryExecutionStrategy
-
Finds all entities matching the given predicate and specification, returning a paginated result.
- findAll(Predicate, Specification<T>, Pageable) - Method in class nl.datasteel.crudcraft.runtime.service.strategy.JpaSpecificationExecutionStrategy
-
Executes a paginated query with the given predicate and specification.
- findAll(Predicate, Specification<T>, Pageable) - Method in class nl.datasteel.crudcraft.runtime.service.strategy.QuerydslExecutionStrategy
-
Finds all entities matching the given predicate and specification, returning a paginated result.
- findAll(Predicate, Specification<T>, Pageable) - Method in interface nl.datasteel.crudcraft.runtime.service.strategy.QueryExecutionStrategy
-
Finds all entities matching the given predicate and specification, returning a paginated result.
- findAll(Predicate, Specification<T>, Pageable, Class<P>) - Method in class nl.datasteel.crudcraft.runtime.service.strategy.QuerydslExecutionStrategy
-
Finds all entities matching the given predicate and specification, returning a paginated result.
- findAll(Predicate, Specification<T>, Pageable, Class<R>) - Method in class nl.datasteel.crudcraft.runtime.service.strategy.JpaSpecificationExecutionStrategy
-
Finds all entities matching the given predicate and specification, paginated and projected to the specified type.
- findAll(Predicate, Specification<T>, Pageable, Class<R>) - Method in interface nl.datasteel.crudcraft.runtime.service.strategy.QueryExecutionStrategy
-
Finds all entities matching the given predicate and specification, returning a paginated result.
- findAll(Pageable, String) - Method in class nl.datasteel.crudcraft.runtime.service.AbstractCrudService
-
Retrieve a paginated list of DTO projections, optionally filtered by a search query.
- findAll(Pageable, String) - Method in interface nl.datasteel.crudcraft.runtime.service.CrudService
-
Retrieve a page of entities, optionally filtered by a search query.
- findById(ID) - Method in class nl.datasteel.crudcraft.runtime.service.AbstractCrudService
-
Find an entity by ID or throw ResourceNotFoundException.
- findById(ID) - Method in interface nl.datasteel.crudcraft.runtime.service.CrudService
-
Find by ID or throw ResourceNotFoundException.
- findByIdOptional(ID) - Method in class nl.datasteel.crudcraft.runtime.service.AbstractCrudService
-
Find an entity by ID, returning Optional.
- findByIdOptional(ID) - Method in interface nl.datasteel.crudcraft.runtime.service.CrudService
-
Find by ID, returning an Optional.
- findByIds(Collection<ID>) - Method in class nl.datasteel.crudcraft.runtime.controller.AbstractCrudController
-
Find by multiple IDs.
- findByIds(Collection<ID>) - Method in class nl.datasteel.crudcraft.runtime.service.AbstractCrudService
-
Retrieve entities by a collection of IDs.
- findByIds(Collection<ID>) - Method in interface nl.datasteel.crudcraft.runtime.service.CrudService
-
Retrieve entities by a collection of IDs.
- findOne(Predicate, Specification<T>) - Method in class nl.datasteel.crudcraft.runtime.service.strategy.JpaSpecificationExecutionStrategy
-
Finds a single entity matching the given predicate and specification.
- findOne(Predicate, Specification<T>) - Method in class nl.datasteel.crudcraft.runtime.service.strategy.QuerydslExecutionStrategy
-
Finds a single entity matching the given predicate and specification.
- findOne(Predicate, Specification<T>) - Method in interface nl.datasteel.crudcraft.runtime.service.strategy.QueryExecutionStrategy
-
Finds a single entity matching the given predicate and specification.
- findOne(Predicate, Specification<T>, Class<P>) - Method in class nl.datasteel.crudcraft.runtime.service.strategy.QuerydslExecutionStrategy
-
Finds a single entity matching the given predicate and specification, returning it as the specified projection type.
- findOne(Predicate, Specification<T>, Class<R>) - Method in class nl.datasteel.crudcraft.runtime.service.strategy.JpaSpecificationExecutionStrategy
-
Finds a single entity matching the given predicate and specification, projecting it to the specified type.
- findOne(Predicate, Specification<T>, Class<R>) - Method in interface nl.datasteel.crudcraft.runtime.service.strategy.QueryExecutionStrategy
-
Finds a single entity matching the given predicate and specification.
- findReferenceById(ID) - Method in class nl.datasteel.crudcraft.runtime.service.AbstractCrudService
-
Return a reference proxy to the entity without hitting the database immediately.
- findReferenceById(ID) - Method in interface nl.datasteel.crudcraft.runtime.service.CrudService
-
Get a reference proxy to the entity (no immediate DB hit).
- findTypeElement(String) - Method in class nl.datasteel.crudcraft.codegen.writer.WriteContext
-
Finds a
TypeElement
by its fully qualified class name. - first() - Method in record class nl.datasteel.crudcraft.runtime.controller.response.PaginatedResponse
-
Returns the value of the
first
record component. - fixBidirectional(E) - Static method in class nl.datasteel.crudcraft.runtime.util.RelationshipUtils
-
Call after save: invoke compile-generated Meta.fix(entity), if present.
- FlagsExtractor - Class in nl.datasteel.crudcraft.codegen.reader.model
-
Singleton extractor for
ModelFlags
. - FlagsExtractor() - Constructor for class nl.datasteel.crudcraft.codegen.reader.model.FlagsExtractor
- ForbiddenException - Exception Class in nl.datasteel.crudcraft.runtime.exception
-
403 Forbidden - authenticated user lacks permissions.
- ForbiddenException(String) - Constructor for exception class nl.datasteel.crudcraft.runtime.exception.ForbiddenException
-
Constructs a ForbiddenException with a default message.
- fromRequest(U) - Method in interface nl.datasteel.crudcraft.runtime.mapper.EntityMapper
-
Instantiate and populate a new entity from the request DTO.
- fromString(String) - Static method in enum class nl.datasteel.crudcraft.codegen.descriptor.RelationshipType
-
Returns the Enum constant for the given string.
- FULL - Enum constant in enum class nl.datasteel.crudcraft.annotations.CrudTemplate
-
Full API with every endpoint enabled.
G
- generate(ModelDescriptor, WriteContext) - Method in class nl.datasteel.crudcraft.codegen.writer.DtoGenerator
-
Generates DTO classes for the given model descriptor.
- generate(ModelDescriptor, WriteContext) - Method in interface nl.datasteel.crudcraft.codegen.writer.Generator
-
Builds the java files for the given model without writing them.
- generate(ModelDescriptor, WriteContext) - Method in class nl.datasteel.crudcraft.codegen.writer.RelationshipMetaGenerator
-
Generates the RelationshipMeta class for the given model descriptor.
- generate(ModelDescriptor, WriteContext) - Method in class nl.datasteel.crudcraft.codegen.writer.SearchGenerator
-
Generates the SearchRequest DTO and Specification for the given model descriptor.
- generate(ModelDescriptor, WriteContext) - Method in interface nl.datasteel.crudcraft.codegen.writer.stubs.StubGenerator
-
Generates the JavaFile for the given model descriptor.
- generate(EndpointSpec, ModelDescriptor, CrudSecurityPolicy) - Method in class nl.datasteel.crudcraft.codegen.writer.controller.ControllerMethodGenerator
-
Generates a method for the given endpoint specification.
- generate(SearchField) - Method in class nl.datasteel.crudcraft.codegen.writer.search.AfterPredicateGenerator
- generate(SearchField) - Method in class nl.datasteel.crudcraft.codegen.writer.search.BeforePredicateGenerator
- generate(SearchField) - Method in class nl.datasteel.crudcraft.codegen.writer.search.BetweenPredicateGenerator
- generate(SearchField) - Method in class nl.datasteel.crudcraft.codegen.writer.search.ContainsAllPredicateGenerator
- generate(SearchField) - Method in class nl.datasteel.crudcraft.codegen.writer.search.ContainsKeyPredicateGenerator
- generate(SearchField) - Method in class nl.datasteel.crudcraft.codegen.writer.search.ContainsPredicateGenerator
- generate(SearchField) - Method in class nl.datasteel.crudcraft.codegen.writer.search.ContainsValuePredicateGenerator
- generate(SearchField) - Method in class nl.datasteel.crudcraft.codegen.writer.search.EndsWithPredicateGenerator
- generate(SearchField) - Method in class nl.datasteel.crudcraft.codegen.writer.search.EqualsPredicateGenerator
- generate(SearchField) - Method in class nl.datasteel.crudcraft.codegen.writer.search.GreaterThanOrEqualPredicateGenerator
- generate(SearchField) - Method in class nl.datasteel.crudcraft.codegen.writer.search.GreaterThanPredicateGenerator
- generate(SearchField) - Method in class nl.datasteel.crudcraft.codegen.writer.search.InPredicateGenerator
- generate(SearchField) - Method in class nl.datasteel.crudcraft.codegen.writer.search.IsEmptyPredicateGenerator
- generate(SearchField) - Method in class nl.datasteel.crudcraft.codegen.writer.search.LessThanOrEqualPredicateGenerator
- generate(SearchField) - Method in class nl.datasteel.crudcraft.codegen.writer.search.LessThanPredicateGenerator
- generate(SearchField) - Method in class nl.datasteel.crudcraft.codegen.writer.search.NotEmptyPredicateGenerator
-
Constructs a NotEmptyPredicateGenerator.
- generate(SearchField) - Method in class nl.datasteel.crudcraft.codegen.writer.search.NotEqualsPredicateGenerator
- generate(SearchField) - Method in class nl.datasteel.crudcraft.codegen.writer.search.NotInPredicateGenerator
- generate(SearchField) - Method in interface nl.datasteel.crudcraft.codegen.writer.search.PredicateGenerator
-
Generates the CodeBlock for this operator on a given field.
- generate(SearchField) - Method in class nl.datasteel.crudcraft.codegen.writer.search.RangePredicateGenerator
-
Generates a CodeBlock that checks if the search request's property has a range defined by start and end values.
- generate(SearchField) - Method in class nl.datasteel.crudcraft.codegen.writer.search.RegexPredicateGenerator
-
Generates a CodeBlock that checks if the search request's property matches a regular expression.
- generate(SearchField) - Method in class nl.datasteel.crudcraft.codegen.writer.search.SizeEqualsPredicateGenerator
-
Generates a CodeBlock that checks if the search request's property has a size equal to a specified value.
- generate(SearchField) - Method in class nl.datasteel.crudcraft.codegen.writer.search.SizeGtPredicateGenerator
-
Generates a CodeBlock that checks if the search request's property has a size greater than a specified value.
- generate(SearchField) - Method in class nl.datasteel.crudcraft.codegen.writer.search.SizeLtPredicateGenerator
-
Generates a CodeBlock that checks if the search request's property has a size less than a specified value.
- generate(SearchField) - Method in class nl.datasteel.crudcraft.codegen.writer.search.StartsWithPredicateGenerator
-
Generates a CodeBlock that checks if the search request's property starts with a specified value.
- GeneratedProjectionMetadataRegistry - Class in nl.datasteel.crudcraft.projection.mapping
- GeneratedProjectionMetadataRegistry() - Constructor for class nl.datasteel.crudcraft.projection.mapping.GeneratedProjectionMetadataRegistry
- Generator - Interface in nl.datasteel.crudcraft.codegen.writer
-
Base contract for all writer components that turn a
ModelDescriptor
into one or moreJavaFile
s. - get(Class<T>) - Static method in class nl.datasteel.crudcraft.codegen.reader.field.FieldPartExtractorRegistry
-
Retrieves the extractor for a given field part type.
- get(Class<T>) - Static method in class nl.datasteel.crudcraft.codegen.reader.model.ModelPartExtractorRegistry
-
Retrieves the extractor for a given model part type.
- GET_ALL - Enum constant in enum class nl.datasteel.crudcraft.annotations.CrudEndpoint
-
Gets all resources, with pagination and sorting options.
- GET_ALL_REF - Enum constant in enum class nl.datasteel.crudcraft.annotations.CrudEndpoint
-
Gets all reference versions of resources, with pagination and sorting options.
- GET_ONE - Enum constant in enum class nl.datasteel.crudcraft.annotations.CrudEndpoint
-
Gets a single resource by its ID.
- getAll(Pageable, Q) - Method in class nl.datasteel.crudcraft.runtime.controller.AbstractCrudController
-
Paginated list (optional search).
- GetAllEndpoint - Class in nl.datasteel.crudcraft.codegen.writer.controller.endpoints
- GetAllEndpoint() - Constructor for class nl.datasteel.crudcraft.codegen.writer.controller.endpoints.GetAllEndpoint
- getAllRef(Pageable, Q) - Method in class nl.datasteel.crudcraft.runtime.controller.AbstractCrudController
-
Paginated list of reference DTOs.
- GetAllRefEndpoint - Class in nl.datasteel.crudcraft.codegen.writer.controller.endpoints
- GetAllRefEndpoint() - Constructor for class nl.datasteel.crudcraft.codegen.writer.controller.endpoints.GetAllRefEndpoint
- getBasePackage() - Method in class nl.datasteel.crudcraft.codegen.descriptor.model.ModelDescriptor
-
Returns the base package of the model, which is used for generating code.
- getBasePackage() - Method in record class nl.datasteel.crudcraft.codegen.descriptor.model.part.ModelIdentity
-
Returns the base package used for generated sources.
- getById(ID) - Method in class nl.datasteel.crudcraft.runtime.controller.AbstractCrudController
-
Find by ID.
- getClassName(String, String) - Static method in class nl.datasteel.crudcraft.codegen.util.JavaPoetUtils
-
Creates a
ClassName
from a package and simple name. - getCreatedAt() - Method in class nl.datasteel.crudcraft.runtime.extensions.AuditableExtension
-
Gets the createdAt timestamp.
- getData() - Method in class nl.datasteel.crudcraft.runtime.Identified
- getDepth() - Method in record class nl.datasteel.crudcraft.codegen.descriptor.field.part.SearchOptions
-
Returns the search depth used when traversing relationships.
- getDepth() - Method in class nl.datasteel.crudcraft.runtime.config.CrudCraftSearchProperties
-
Gets the current depth for search operations.
- getEffectiveEndpoints(Set<CrudEndpoint>, Set<CrudEndpoint>) - Method in enum class nl.datasteel.crudcraft.annotations.CrudTemplate
-
Return the complete set of endpoints that are effective when adding and removing other endpoints from the template.
- getEndpointPolicy() - Method in class nl.datasteel.crudcraft.codegen.descriptor.model.ModelDescriptor
-
Returns the custom endpoint policy, if defined.
- getEndpointPolicy() - Method in record class nl.datasteel.crudcraft.codegen.descriptor.model.part.EndpointOptions
-
Returns the custom endpoint policy class for this model.
- getEngine() - Method in class nl.datasteel.crudcraft.projection.config.ProjectionProperties
-
Gets the projection engine to use.
- getEnumValues() - Method in class nl.datasteel.crudcraft.codegen.descriptor.field.FieldDescriptor
-
Returns the list of enum values if the field is an enum.
- getExecutor() - Method in interface nl.datasteel.crudcraft.projection.api.ProjectionExecutorProvider
-
Supply the executor instance to use for supported queries.
- getExecutor() - Method in class nl.datasteel.crudcraft.projection.impl.jpa.JpaProjectionExecutorProvider
-
Returns the JPA based
ProjectionExecutor
. - getExecutor() - Method in class nl.datasteel.crudcraft.projection.impl.querydsl.QuerydslProjectionExecutorProvider
-
Returns the Querydsl based
ProjectionExecutor
. - getFields() - Method in class nl.datasteel.crudcraft.codegen.descriptor.model.ModelDescriptor
-
Returns the fields of the model, which are defined in the ModelIdentity.
- getFields() - Method in record class nl.datasteel.crudcraft.codegen.descriptor.model.part.ModelIdentity
-
Returns the fields defined in the model.
- getId() - Method in class nl.datasteel.crudcraft.runtime.Identified
- getIdFromRequest(U) - Method in interface nl.datasteel.crudcraft.runtime.mapper.EntityMapper
-
Extract the identifier value from the DTO (for upsert logic).
- getIncludeEndpoints() - Method in class nl.datasteel.crudcraft.codegen.descriptor.model.ModelDescriptor
-
Returns the endpoints that should be included during controller generation.
- getIncludeEndpoints() - Method in record class nl.datasteel.crudcraft.codegen.descriptor.model.part.EndpointOptions
-
Returns the endpoints that should be explicitly included for this model.
- getInverseRelationshipFieldName(FieldDescriptor, ModelDescriptor) - Method in interface nl.datasteel.crudcraft.codegen.writer.relationship.RelationshipHandler
- getItemExceptions() - Method in exception class nl.datasteel.crudcraft.runtime.exception.BulkOperationException
-
Returns an immutable list of item exceptions.
- getListOf(TypeName) - Static method in class nl.datasteel.crudcraft.codegen.util.JavaPoetUtils
-
Returns a
ParameterizedTypeName
representing aList
of the given type. - getMappedBy() - Method in class nl.datasteel.crudcraft.codegen.descriptor.field.FieldDescriptor
-
Returns the mappedBy attribute of the relationship.
- getMappedBy() - Method in record class nl.datasteel.crudcraft.codegen.descriptor.field.part.Relationship
-
Returns the mappedBy field for the relationship.
- getMetadata(Class<D>) - Method in class nl.datasteel.crudcraft.projection.mapping.GeneratedProjectionMetadataRegistry
- getMetadata(Class<D>) - Method in interface nl.datasteel.crudcraft.projection.mapping.ProjectionMetadataRegistry
-
Retrieves the metadata for a given DTO type.
- getMetadata(Class<D>) - Method in class nl.datasteel.crudcraft.projection.mapping.SimpleProjectionMetadataRegistry
-
Retrieves the metadata for a given DTO type.
- getName() - Method in class nl.datasteel.crudcraft.codegen.descriptor.field.FieldDescriptor
-
Returns the simple name of the field.
- getName() - Method in record class nl.datasteel.crudcraft.codegen.descriptor.field.part.Identity
-
Returns the name of the identity field.
- getName() - Method in class nl.datasteel.crudcraft.codegen.descriptor.model.ModelDescriptor
-
Returns the name of the model, which is used for generating code and identifying the model.
- getName() - Method in record class nl.datasteel.crudcraft.codegen.descriptor.model.part.ModelIdentity
-
Returns the simple name of the model.
- getOmitEndpoints() - Method in class nl.datasteel.crudcraft.codegen.descriptor.model.ModelDescriptor
-
Returns the endpoints that should be omitted during controller generation.
- getOmitEndpoints() - Method in record class nl.datasteel.crudcraft.codegen.descriptor.model.part.EndpointOptions
-
Returns the endpoints that should be omitted for this model.
- GetOneEndpoint - Class in nl.datasteel.crudcraft.codegen.writer.controller.endpoints
- GetOneEndpoint() - Constructor for class nl.datasteel.crudcraft.codegen.writer.controller.endpoints.GetOneEndpoint
- getOperators() - Method in record class nl.datasteel.crudcraft.codegen.descriptor.field.part.SearchOptions
-
Returns the supported search operators for the field.
- getPackageName() - Method in class nl.datasteel.crudcraft.codegen.descriptor.model.ModelDescriptor
-
Returns the package name of the model, which is used for organizing code and avoiding naming conflicts.
- getPackageName() - Method in record class nl.datasteel.crudcraft.codegen.descriptor.model.part.ModelIdentity
-
Returns the package where the model resides.
- getReadRoles() - Method in class nl.datasteel.crudcraft.codegen.descriptor.field.FieldDescriptor
-
Returns roles that are allowed to read this field.
- getReadRoles() - Method in record class nl.datasteel.crudcraft.codegen.descriptor.field.part.Security
-
Returns the roles allowed to read the field.
- getRelationshipFieldName(FieldDescriptor) - Method in interface nl.datasteel.crudcraft.codegen.writer.relationship.RelationshipHandler
- getRelationshipType() - Method in record class nl.datasteel.crudcraft.codegen.descriptor.field.part.Relationship
-
Returns the type of the relationship.
- getRelType() - Method in class nl.datasteel.crudcraft.codegen.descriptor.field.FieldDescriptor
-
Returns the relationship type of the field.
- getResponseDtos() - Method in class nl.datasteel.crudcraft.codegen.descriptor.field.FieldDescriptor
-
Returns the names of additional response DTO variants this field participates in.
- getResponseDtos() - Method in record class nl.datasteel.crudcraft.codegen.descriptor.field.part.DtoOptions
-
Returns the names of additional response DTO variants this field participates in.
- getRowSecurityHandlers() - Method in class nl.datasteel.crudcraft.codegen.descriptor.model.ModelDescriptor
-
Returns the class names that handle row-level security for this model.
- getRowSecurityHandlers() - Method in record class nl.datasteel.crudcraft.codegen.descriptor.model.part.ModelSecurity
-
Returns the class names that handle row-level security for this model, if any.
- getSearchDepth() - Method in class nl.datasteel.crudcraft.codegen.descriptor.field.FieldDescriptor
-
Returns the maximum depth for search queries on this field.
- getSearchOperators() - Method in class nl.datasteel.crudcraft.codegen.descriptor.field.FieldDescriptor
-
Returns the list of search operators that can be used with this field.
- getSecurityExpression(CrudEndpoint) - Method in interface nl.datasteel.crudcraft.annotations.security.CrudSecurityPolicy
-
Resolve the security expression for the given endpoint.
- getSecurityExpression(CrudEndpoint) - Method in class nl.datasteel.crudcraft.annotations.security.policy.AdminOnlySecurityPolicy
- getSecurityExpression(CrudEndpoint) - Method in class nl.datasteel.crudcraft.annotations.security.policy.AuthenticatedSecurityPolicy
- getSecurityExpression(CrudEndpoint) - Method in class nl.datasteel.crudcraft.annotations.security.policy.DenyAllSecurityPolicy
- getSecurityExpression(CrudEndpoint) - Method in class nl.datasteel.crudcraft.annotations.security.policy.PermitAllSecurityPolicy
- getSecurityExpression(CrudEndpoint) - Method in class nl.datasteel.crudcraft.annotations.security.policy.ReadPublicWriteAdminPolicy
- getSecurityExpression(CrudEndpoint) - Method in class nl.datasteel.crudcraft.annotations.security.policy.RoleBasedCrudSecurityPolicy
-
Retrieves the role required for a specific CRUD endpoint.
- getSecurityExpression(CrudEndpoint) - Method in class nl.datasteel.crudcraft.annotations.security.policy.WriteOnlySecurityPolicy
- getSecurityPolicy() - Method in class nl.datasteel.crudcraft.codegen.descriptor.model.ModelDescriptor
-
Returns the class that implements the security policy for this model.
- getSecurityPolicy() - Method in record class nl.datasteel.crudcraft.codegen.descriptor.model.part.ModelSecurity
-
Returns the class that handles security policies for this model.
- getStaticDepth() - Static method in class nl.datasteel.crudcraft.runtime.config.CrudCraftSearchProperties
-
Provides access to the configured depth without requiring dependency injection.
- getTargetType() - Method in class nl.datasteel.crudcraft.codegen.descriptor.field.FieldDescriptor
-
Returns the target type of the relationship.
- getTargetType() - Method in record class nl.datasteel.crudcraft.codegen.descriptor.field.part.Relationship
-
Returns the target type of the relationship.
- getTemplate() - Method in class nl.datasteel.crudcraft.codegen.descriptor.model.ModelDescriptor
-
Returns the template used for generating endpoints for this model.
- getTemplate() - Method in record class nl.datasteel.crudcraft.codegen.descriptor.model.part.EndpointOptions
-
Returns the base endpoint template to use for this model.
- getter(String, TypeName) - Static method in class nl.datasteel.crudcraft.codegen.writer.search.SearchAccessorUtil
-
Generates a getter method for a given field name and type.
- getType() - Method in class nl.datasteel.crudcraft.codegen.descriptor.field.FieldDescriptor
-
Returns the
TypeMirror
of the field. - getType() - Method in record class nl.datasteel.crudcraft.codegen.descriptor.field.part.Identity
-
Returns the type of the identity field.
- getUpdatedAt() - Method in class nl.datasteel.crudcraft.runtime.extensions.AuditableExtension
-
Gets the updatedAt timestamp.
- getValidations() - Method in class nl.datasteel.crudcraft.codegen.descriptor.field.FieldDescriptor
-
Returns the validation rules for the field.
- getValidations() - Method in record class nl.datasteel.crudcraft.codegen.descriptor.field.part.Validation
-
Returns all validation annotations for the field.
- getValues() - Method in record class nl.datasteel.crudcraft.codegen.descriptor.field.part.EnumOptions
-
Returns the list of enum values.
- getWriteRoles() - Method in class nl.datasteel.crudcraft.codegen.descriptor.field.FieldDescriptor
-
Returns the roles that are allowed to write to this field.
- getWriteRoles() - Method in record class nl.datasteel.crudcraft.codegen.descriptor.field.part.Security
-
Returns the roles allowed to write the field.
- GreaterThanOrEqualPredicateGenerator - Class in nl.datasteel.crudcraft.codegen.writer.search
-
Generates predicates for the
GTE
operator. - GreaterThanOrEqualPredicateGenerator() - Constructor for class nl.datasteel.crudcraft.codegen.writer.search.GreaterThanOrEqualPredicateGenerator
- GreaterThanPredicateGenerator - Class in nl.datasteel.crudcraft.codegen.writer.search
-
Generates predicates for the
GT
operator. - GreaterThanPredicateGenerator() - Constructor for class nl.datasteel.crudcraft.codegen.writer.search.GreaterThanPredicateGenerator
- GT - Enum constant in enum class nl.datasteel.crudcraft.annotations.SearchOperator
-
Represents a check for values greater than a specified value.
- GTE - Enum constant in enum class nl.datasteel.crudcraft.annotations.SearchOperator
-
Represents a check for values greater than or equal to a specified value.
H
- handleBadRequest(BadRequestException, HttpServletRequest) - Method in class nl.datasteel.crudcraft.runtime.controller.CrudCraftExceptionHandler
-
Handles BadRequestException and returns a 400 Bad Request response.
- handleBulk(BulkOperationException, HttpServletRequest) - Method in class nl.datasteel.crudcraft.runtime.controller.CrudCraftExceptionHandler
-
Handles BulkOperationException and returns a 207 Multi-Status response with a list of errors.
- handleConflict(RuntimeException, HttpServletRequest) - Method in class nl.datasteel.crudcraft.runtime.controller.CrudCraftExceptionHandler
-
Handles DuplicateResourceException and DataIntegrityException, returning a 409 Conflict response.
- handleCrudCraftErrors(CrudCraftRuntimeException, HttpServletRequest) - Method in class nl.datasteel.crudcraft.runtime.controller.CrudCraftExceptionHandler
-
Handles CrudCraftRuntimeException and returns a 500 Internal Server Error response.
- handleEverythingElse(Exception, HttpServletRequest) - Method in class nl.datasteel.crudcraft.runtime.controller.CrudCraftExceptionHandler
-
Handles any other unexpected exceptions and returns a 500 Internal Server Error response.
- handleForbidden(ForbiddenException, HttpServletRequest) - Method in class nl.datasteel.crudcraft.runtime.controller.CrudCraftExceptionHandler
-
Handles ForbiddenException and returns a 403 Forbidden response.
- handleMethodNotAllowed(OperationNotAllowedException, HttpServletRequest) - Method in class nl.datasteel.crudcraft.runtime.controller.CrudCraftExceptionHandler
-
Handles MethodNotAllowedException and returns a 405 Method Not Allowed response.
- handleNotFound(ResourceNotFoundException, HttpServletRequest) - Method in class nl.datasteel.crudcraft.runtime.controller.CrudCraftExceptionHandler
-
Handles ResourceNotFoundException and returns a 404 Not Found response.
- handleNotImplemented(NotImplementedException, HttpServletRequest) - Method in class nl.datasteel.crudcraft.runtime.controller.CrudCraftExceptionHandler
-
Handles NotImplementedException and returns a 501 Not Implemented response.
- handlePreconditionFailed(PreconditionFailedException, HttpServletRequest) - Method in class nl.datasteel.crudcraft.runtime.controller.CrudCraftExceptionHandler
-
Handles PreconditionFailedException and returns a 412 Precondition Failed response.
- handlers() - Element in annotation interface nl.datasteel.crudcraft.annotations.security.RowSecurity
-
One or more
RowSecurityHandler
types providing row-level filters. - handleTooManyRequests(TooManyRequestsException, HttpServletRequest) - Method in class nl.datasteel.crudcraft.runtime.controller.CrudCraftExceptionHandler
-
Handles TooManyRequestsException and returns a 429 Too Many Requests response.
- handleUnauthorized(UnauthorizedException, HttpServletRequest) - Method in class nl.datasteel.crudcraft.runtime.controller.CrudCraftExceptionHandler
-
Handles UnauthorizedException and returns a 401 Unauthorized response.
- hasFieldSecurity() - Method in class nl.datasteel.crudcraft.codegen.descriptor.field.FieldDescriptor
-
Check if the field has security settings defined.
- hasFieldSecurity() - Method in record class nl.datasteel.crudcraft.codegen.descriptor.field.part.Security
-
Indicates whether any field security is configured.
- hashCode() - Method in class nl.datasteel.crudcraft.codegen.descriptor.field.FieldDescriptor
-
Computes a hash code for the FieldDescriptor based on its properties.
- hashCode() - Method in record class nl.datasteel.crudcraft.codegen.descriptor.field.part.DtoOptions
-
Returns a hash code value for this object.
- hashCode() - Method in record class nl.datasteel.crudcraft.codegen.descriptor.field.part.EnumOptions
-
Returns a hash code value for this object.
- hashCode() - Method in record class nl.datasteel.crudcraft.codegen.descriptor.field.part.Identity
-
Returns a hash code value for this object.
- hashCode() - Method in record class nl.datasteel.crudcraft.codegen.descriptor.field.part.Relationship
-
Returns a hash code value for this object.
- hashCode() - Method in record class nl.datasteel.crudcraft.codegen.descriptor.field.part.SearchOptions
-
Returns a hash code value for this object.
- hashCode() - Method in record class nl.datasteel.crudcraft.codegen.descriptor.field.part.Security
-
Computes the hash code for the Security object based on read and write roles.
- hashCode() - Method in record class nl.datasteel.crudcraft.codegen.descriptor.field.part.Validation
-
Returns a hash code value for this object.
- hashCode() - Method in class nl.datasteel.crudcraft.codegen.descriptor.model.ModelDescriptor
-
Computes a hash code for the ModelDescriptor based on its identity, flags, endpoints, and security options.
- hashCode() - Method in record class nl.datasteel.crudcraft.codegen.descriptor.model.part.EndpointOptions
-
Computes the hash code for the EndpointOptions.
- hashCode() - Method in record class nl.datasteel.crudcraft.codegen.descriptor.model.part.ModelFlags
-
Returns a hash code value for this object.
- hashCode() - Method in record class nl.datasteel.crudcraft.codegen.descriptor.model.part.ModelIdentity
-
Returns a hash code value for this object.
- hashCode() - Method in record class nl.datasteel.crudcraft.codegen.descriptor.model.part.ModelSecurity
-
Returns a hash code value for this object.
- hashCode() - Method in record class nl.datasteel.crudcraft.codegen.util.StubGeneratorUtil.StubMeta
-
Returns a hash code value for this object.
- hashCode() - Method in record class nl.datasteel.crudcraft.codegen.writer.controller.EndpointSpec
-
Returns a hash code value for this object.
- hashCode() - Method in record class nl.datasteel.crudcraft.codegen.writer.controller.method.ControllerMethodContext
-
Returns a hash code value for this object.
- hashCode() - Method in record class nl.datasteel.crudcraft.codegen.writer.search.PropertySpec
-
Returns a hash code value for this object.
- hashCode() - Method in record class nl.datasteel.crudcraft.codegen.writer.search.SearchField
-
Returns a hash code value for this object.
- hashCode() - Method in record class nl.datasteel.crudcraft.projection.api.ProjectionQuery
-
Returns a hash code value for this object.
- hashCode() - Method in record class nl.datasteel.crudcraft.projection.api.ProjectionResult
-
Returns a hash code value for this object.
- hashCode() - Method in record class nl.datasteel.crudcraft.projection.impl.CollectionHydrator.FetchResult
-
Returns a hash code value for this object.
- hashCode() - Method in record class nl.datasteel.crudcraft.projection.mapping.ProjectionFieldResolver.FieldMapping
-
Returns a hash code value for this object.
- hashCode() - Method in record class nl.datasteel.crudcraft.runtime.controller.response.ErrorResponse
-
Returns a hash code value for this object.
- hashCode() - Method in record class nl.datasteel.crudcraft.runtime.controller.response.PaginatedResponse
-
Returns a hash code value for this object.
- header() - Method in record class nl.datasteel.crudcraft.codegen.util.StubGeneratorUtil.StubMeta
-
Returns the value of the
header
record component. - header(String, String, String) - Method in interface nl.datasteel.crudcraft.codegen.fileheader.FileHeader
-
Generates a header for a file with the given model class, package, and generator class.
- header(String, String, String) - Static method in class nl.datasteel.crudcraft.codegen.fileheader.LogicStrictHeader
-
Generates a header for logic layer files that should not be edited.
- header(String, String, String) - Static method in class nl.datasteel.crudcraft.codegen.fileheader.ModelEditableHeader
-
Generates a header for model classes that can be customised.
- header(String, String, String) - Static method in class nl.datasteel.crudcraft.codegen.fileheader.ModelStrictHeader
-
Generates a header for model classes that should not be edited.
- header(String, String, String) - Static method in class nl.datasteel.crudcraft.codegen.fileheader.SearchEditableHeader
-
Generates a header for search-related files that can be customised.
- header(String, String, String) - Static method in class nl.datasteel.crudcraft.codegen.fileheader.SearchStrictHeader
-
Generates a header for search files that should not be edited.
- header(String, String, String, String) - Static method in class nl.datasteel.crudcraft.codegen.fileheader.LogicEditableHeader
-
Generates a header for logic layer files that can be customised.
- hydrateCollections(Class<T>, ProjectionMetadata<D>, Map<Object, D>, CollectionHydrator.RowFetcher) - Static method in class nl.datasteel.crudcraft.projection.impl.CollectionHydrator
-
Hydrates collection attributes in the DTO map by fetching the necessary data from the database.
I
- ID_ATTRIBUTE - Static variable in class nl.datasteel.crudcraft.runtime.service.AbstractCrudService
-
The attribute name for the ID field in the entity.
- Identified<ID,
T> - Class in nl.datasteel.crudcraft.runtime -
Envelope pairing an identifier with a DTO payload for batch operations.
- Identified() - Constructor for class nl.datasteel.crudcraft.runtime.Identified
- Identified(ID, T) - Constructor for class nl.datasteel.crudcraft.runtime.Identified
- Identity - Record Class in nl.datasteel.crudcraft.codegen.descriptor.field.part
-
Represents the core identity of a field in a model.
- Identity(String, TypeMirror) - Constructor for record class nl.datasteel.crudcraft.codegen.descriptor.field.part.Identity
-
Creates an instance of a
Identity
record class. - IdentityExtractor - Class in nl.datasteel.crudcraft.codegen.reader.field
-
Singleton extractor for the Identity field part.
- IdentityExtractor - Class in nl.datasteel.crudcraft.codegen.reader.model
-
Extracts
ModelIdentity
from a model class. - IdentityExtractor() - Constructor for class nl.datasteel.crudcraft.codegen.reader.field.IdentityExtractor
- IdentityExtractor() - Constructor for class nl.datasteel.crudcraft.codegen.reader.model.IdentityExtractor
- IMMUTABLE_WRITE - Enum constant in enum class nl.datasteel.crudcraft.annotations.CrudTemplate
-
GET + POST operations, immutable once created.
- IN - Enum constant in enum class nl.datasteel.crudcraft.annotations.SearchOperator
-
Represents a check for values that are in a specified collection.
- includeEndpoints() - Element in annotation interface nl.datasteel.crudcraft.annotations.classes.CrudCrafted
-
Used for generating additional code.
- includeEndpoints() - Method in record class nl.datasteel.crudcraft.codegen.descriptor.model.part.EndpointOptions
-
Safe, defensive accessor for includeEndpoints.
- inDto() - Method in class nl.datasteel.crudcraft.codegen.descriptor.field.FieldDescriptor
-
Returns whether the field is included in the DTO.
- inDto() - Method in record class nl.datasteel.crudcraft.codegen.descriptor.field.part.DtoOptions
-
Returns the value of the
inDto
record component. - init(ProcessingEnvironment) - Method in class nl.datasteel.crudcraft.codegen.CrudCraftProcessor
-
Initializes the processor with the processing environment.
- init(ProcessingEnvironment) - Method in class nl.datasteel.crudcraft.codegen.projection.ProjectionMetadataProcessor
-
Initializes the processor with the processing environment.
- InPredicateGenerator - Class in nl.datasteel.crudcraft.codegen.writer.search
-
Generates predicates for the
IN
operator. - InPredicateGenerator() - Constructor for class nl.datasteel.crudcraft.codegen.writer.search.InPredicateGenerator
- inRef() - Method in class nl.datasteel.crudcraft.codegen.descriptor.field.FieldDescriptor
-
Returns whether the field is included in the reference DTO.
- inRef() - Method in record class nl.datasteel.crudcraft.codegen.descriptor.field.part.DtoOptions
-
Returns the value of the
inRef
record component. - inRequest() - Method in class nl.datasteel.crudcraft.codegen.descriptor.field.FieldDescriptor
-
Returns whether the field is included in the request DTO.
- inRequest() - Method in record class nl.datasteel.crudcraft.codegen.descriptor.field.part.DtoOptions
-
Returns the value of the
inRequest
record component. - INSTANCE - Static variable in class nl.datasteel.crudcraft.codegen.reader.field.DtoOptionsExtractor
-
Singleton instance of DtoOptionsExtractor.
- INSTANCE - Static variable in class nl.datasteel.crudcraft.codegen.reader.field.EnumOptionsExtractor
-
Singleton instance of EnumExtractor.
- INSTANCE - Static variable in class nl.datasteel.crudcraft.codegen.reader.field.IdentityExtractor
-
Singleton instance of IdentityExtractor.
- INSTANCE - Static variable in class nl.datasteel.crudcraft.codegen.reader.field.RelationshipExtractor
-
Singleton instance of RelationshipExtractor.
- INSTANCE - Static variable in class nl.datasteel.crudcraft.codegen.reader.field.SearchOptionsExtractor
-
Singleton instance.
- INSTANCE - Static variable in class nl.datasteel.crudcraft.codegen.reader.field.SecurityExtractor
-
Singleton instance.
- INSTANCE - Static variable in class nl.datasteel.crudcraft.codegen.reader.field.ValidationExtractor
-
Singleton instance.
- INSTANCE - Static variable in class nl.datasteel.crudcraft.codegen.reader.model.EndpointOptionsExtractor
-
Singleton instance of EndpointOptionsExtractor.
- INSTANCE - Static variable in class nl.datasteel.crudcraft.codegen.reader.model.FlagsExtractor
-
Singleton instance of FlagsExtractor.
- INSTANCE - Static variable in class nl.datasteel.crudcraft.codegen.reader.model.IdentityExtractor
-
Singleton instance of IdentityExtractor.
- INSTANCE - Static variable in class nl.datasteel.crudcraft.codegen.reader.model.ModelSecurityExtractor
-
Singleton instance of ModelSecurityExtractor.
- IS_EMPTY - Enum constant in enum class nl.datasteel.crudcraft.annotations.SearchOperator
-
Represents a check for empty values.
- IS_NOT_EMPTY - Enum constant in enum class nl.datasteel.crudcraft.annotations.SearchOperator
-
Represents a check for non-empty values.
- isBidirectional() - Method in enum class nl.datasteel.crudcraft.codegen.descriptor.RelationshipType
-
Returns true for the relations that have a mappedBy side and thus need bidirectional fix/clear.
- isCrudCraftEntity() - Method in class nl.datasteel.crudcraft.codegen.descriptor.model.ModelDescriptor
-
Returns whether the model is a CrudCraft entity, meaning it is part of the CrudCraft framework.
- isCrudCraftEntity() - Method in record class nl.datasteel.crudcraft.codegen.descriptor.model.part.ModelFlags
-
Returns true if this model is a CrudCraft entity.
- isDeleted() - Method in class nl.datasteel.crudcraft.runtime.extensions.SoftDeleteExtension
-
Sets the deleted status and the timestamp when the entity is marked as deleted.
- isEditable() - Method in class nl.datasteel.crudcraft.codegen.descriptor.model.ModelDescriptor
-
Returns the identity of the model, which includes its name, package, and fields.
- isEditable() - Method in record class nl.datasteel.crudcraft.codegen.descriptor.model.part.ModelFlags
-
Returns true if the generated stubs are editable.
- isEmbeddable() - Method in class nl.datasteel.crudcraft.codegen.descriptor.model.ModelDescriptor
-
Returns whether the model is embeddable, meaning it can be used as a part of another entity.
- isEmbeddable() - Method in record class nl.datasteel.crudcraft.codegen.descriptor.model.part.ModelFlags
-
Returns true if this model is marked as embeddable.
- isEmbedded() - Method in class nl.datasteel.crudcraft.codegen.descriptor.field.FieldDescriptor
-
Returns whether the field is embedded.
- isEmbedded() - Method in record class nl.datasteel.crudcraft.codegen.descriptor.field.part.Relationship
-
Returns true if the field is embedded.
- IsEmptyPredicateGenerator - Class in nl.datasteel.crudcraft.codegen.writer.search
-
Generates predicates for the
IS_EMPTY
operator. - IsEmptyPredicateGenerator() - Constructor for class nl.datasteel.crudcraft.codegen.writer.search.IsEmptyPredicateGenerator
- isEnum() - Method in record class nl.datasteel.crudcraft.codegen.descriptor.field.part.EnumOptions
-
Returns the value of the
isEnum
record component. - isEnum(TypeMirror) - Static method in class nl.datasteel.crudcraft.codegen.util.TypeUtils
-
Determines whether the provided type represents an enum.
- isEnumString() - Method in class nl.datasteel.crudcraft.codegen.descriptor.field.FieldDescriptor
-
Returns whether the field is an enum.
- isInDto() - Method in record class nl.datasteel.crudcraft.codegen.descriptor.field.part.DtoOptions
-
Returns whether the field should be included in the DTO.
- isInRef() - Method in record class nl.datasteel.crudcraft.codegen.descriptor.field.part.DtoOptions
-
Returns whether the field should be included in the reference DTO.
- isInRequest() - Method in record class nl.datasteel.crudcraft.codegen.descriptor.field.part.DtoOptions
-
Returns whether the field should be included in the request DTO.
- isRangeOperator(SearchOperator) - Static method in class nl.datasteel.crudcraft.codegen.writer.search.OperatorSpecRegistry
-
Checks if the given operator is a range operator.
- isRequest() - Method in enum class nl.datasteel.crudcraft.codegen.writer.DtoType
-
Indicates whether this DTO type is used for requests (create/update).
- isSearchable() - Method in class nl.datasteel.crudcraft.codegen.descriptor.field.FieldDescriptor
-
Returns whether the field is searchable.
- isSearchable() - Method in record class nl.datasteel.crudcraft.codegen.descriptor.field.part.SearchOptions
-
Indicates whether the field is searchable.
- isSecure() - Method in class nl.datasteel.crudcraft.codegen.descriptor.model.ModelDescriptor
-
Returns whether the model is secure, meaning it has a defined security policy.
- isSecure() - Method in record class nl.datasteel.crudcraft.codegen.descriptor.model.part.ModelSecurity
-
Returns true if the model endpoints require security.
- isSizeOperator(SearchOperator) - Static method in class nl.datasteel.crudcraft.codegen.writer.search.OperatorSpecRegistry
-
Checks if the given operator is a size operator.
- isTargetCrud() - Method in class nl.datasteel.crudcraft.codegen.descriptor.field.FieldDescriptor
-
Returns whether the field is a target in a CRUD operation.
- isTargetCrud() - Method in record class nl.datasteel.crudcraft.codegen.descriptor.field.part.Relationship
-
Returns true if the target is a CRUD entity.
- isValidModelDescriptor(ModelDescriptor, WriteContext) - Static method in interface nl.datasteel.crudcraft.codegen.writer.Generator
-
Performs basic sanity checks on the descriptor before code generation.
- isValueOperator(SearchOperator) - Static method in class nl.datasteel.crudcraft.codegen.writer.search.OperatorSpecRegistry
-
Checks if the given operator is a value operator.
J
- JavaPoetUtils - Class in nl.datasteel.crudcraft.codegen.util
-
Helper methods around JavaPoet.
- joinTypes() - Method in record class nl.datasteel.crudcraft.projection.impl.CollectionHydrator.FetchResult
-
Returns the Java types of the joined associations as an immutable list.
- JpaProjectionExecutor - Class in nl.datasteel.crudcraft.projection.impl.jpa
-
JPA-based implementation of
ProjectionExecutor
using Criteria API. - JpaProjectionExecutor(EntityManager, CriteriaProjectionBuilder, ProjectionMetadataRegistry) - Constructor for class nl.datasteel.crudcraft.projection.impl.jpa.JpaProjectionExecutor
-
Constructs a new JpaProjectionExecutor with the given parameters.
- jpaProjectionExecutorProvider(EntityManager, CriteriaProjectionBuilder, ProjectionMetadataRegistry, ProjectionProperties) - Method in class nl.datasteel.crudcraft.projection.config.ProjectionAutoConfiguration
-
Provides a JpaProjectionExecutorProvider that uses JPA Criteria API for projections.
- JpaProjectionExecutorProvider - Class in nl.datasteel.crudcraft.projection.impl.jpa
-
Provider for the JPA based
ProjectionExecutor
. - JpaProjectionExecutorProvider(EntityManager, CriteriaProjectionBuilder, ProjectionMetadataRegistry) - Constructor for class nl.datasteel.crudcraft.projection.impl.jpa.JpaProjectionExecutorProvider
-
Constructs a new JpaProjectionExecutorProvider with the given parameters.
- JpaSpecificationExecutionStrategy<T> - Class in nl.datasteel.crudcraft.runtime.service.strategy
-
Executes queries using a
JpaSpecificationExecutor
. - JpaSpecificationExecutionStrategy(JpaSpecificationExecutor<T>) - Constructor for class nl.datasteel.crudcraft.runtime.service.strategy.JpaSpecificationExecutionStrategy
-
Constructs a new execution strategy using the provided repository.
K
- KEBAB - Enum constant in enum class nl.datasteel.crudcraft.codegen.util.StringCase
-
kebab-case style.
L
- last() - Method in record class nl.datasteel.crudcraft.runtime.controller.response.PaginatedResponse
-
Returns the value of the
last
record component. - LessThanOrEqualPredicateGenerator - Class in nl.datasteel.crudcraft.codegen.writer.search
-
Generates predicates for the
LTE
operator. - LessThanOrEqualPredicateGenerator() - Constructor for class nl.datasteel.crudcraft.codegen.writer.search.LessThanOrEqualPredicateGenerator
- LessThanPredicateGenerator - Class in nl.datasteel.crudcraft.codegen.writer.search
-
Generates predicates for the
LT
operator. - LessThanPredicateGenerator() - Constructor for class nl.datasteel.crudcraft.codegen.writer.search.LessThanPredicateGenerator
- LIGHT_PUBLIC - Enum constant in enum class nl.datasteel.crudcraft.annotations.CrudTemplate
-
Public lightweight endpoints.
- loadEntity(ID) - Method in class nl.datasteel.crudcraft.runtime.service.AbstractCrudService
-
Load the entity by ID applying row-security; throws if not found.
- log(Messager, Diagnostic.Kind, TypeElement, String) - Static method in interface nl.datasteel.crudcraft.codegen.reader.model.ModelPartExtractor
-
Utility method for logging during extraction.
- log(Messager, Diagnostic.Kind, VariableElement, String) - Static method in interface nl.datasteel.crudcraft.codegen.reader.field.FieldPartExtractor
-
Logs a message related to the field extraction.
- LogicEditableHeader - Class in nl.datasteel.crudcraft.codegen.fileheader
-
Header for editable logic layer stubs such as controllers and services.
- LogicStrictHeader - Class in nl.datasteel.crudcraft.codegen.fileheader
-
Header for non-editable logic layer files.
- LT - Enum constant in enum class nl.datasteel.crudcraft.annotations.SearchOperator
-
Represents a check for values lower than a specified value.
- LTE - Enum constant in enum class nl.datasteel.crudcraft.annotations.SearchOperator
-
Represents a check for values lower than or equal to specified value.
M
- main(String[]) - Static method in class nl.datasteel.crudcraft.sample.CrudCraftSampleApplication
- main(String[]) - Static method in class nl.datasteel.crudcraft.tools.EditableFileTool
-
The main method that executes the file copying process.
- MANY_TO_MANY - Enum constant in enum class nl.datasteel.crudcraft.codegen.descriptor.RelationshipType
-
Many-to-many relationship between entities.
- MANY_TO_ONE - Enum constant in enum class nl.datasteel.crudcraft.codegen.descriptor.RelationshipType
-
Many-to-one relationship between entities.
- mappedBy() - Method in record class nl.datasteel.crudcraft.codegen.descriptor.field.part.Relationship
-
Returns the value of the
mappedBy
record component. - mapper - Variable in class nl.datasteel.crudcraft.runtime.service.AbstractCrudService
-
The mapper used to convert between entity and DTOs.
- MapperException - Exception Class in nl.datasteel.crudcraft.runtime.exception
-
Thrown when mapping between DTO and entity fails.
- MapperException(String, Throwable) - Constructor for exception class nl.datasteel.crudcraft.runtime.exception.MapperException
-
Constructs a MapperException with a default message.
- MapperGenerator - Class in nl.datasteel.crudcraft.codegen.writer.stubs
-
Generates a MapStruct mapper interface for the given model descriptor, inclusief automatisch invullen van 'uses = { ...Mapper.class }' voor alle @ManyToOne, @OneToMany, @ManyToMany, etc. relaties.
- MapperGenerator() - Constructor for class nl.datasteel.crudcraft.codegen.writer.stubs.MapperGenerator
- mapping() - Method in record class nl.datasteel.crudcraft.codegen.writer.controller.EndpointSpec
-
Returns the value of the
mapping
record component. - MARKER_EDITABLE - Static variable in class nl.datasteel.crudcraft.codegen.fileheader.AbstractFileHeader
-
Marker indicating that the file is editable.
- MARKER_GENERATED - Static variable in class nl.datasteel.crudcraft.codegen.fileheader.AbstractFileHeader
-
Marker indicating that the file was generated by CrudCraft.
- maxCsvRows - Variable in class nl.datasteel.crudcraft.runtime.controller.AbstractCrudController
-
Maximum number of rows for CSV export.
- maxJsonRows - Variable in class nl.datasteel.crudcraft.runtime.controller.AbstractCrudController
-
Maximum number of rows for JSON export.
- maxPageSize - Variable in class nl.datasteel.crudcraft.runtime.controller.AbstractCrudController
-
Maximum page size for pagination.
- maxXlsxRows - Variable in class nl.datasteel.crudcraft.runtime.controller.AbstractCrudController
-
Maximum number of rows for XLSX export.
- message() - Method in record class nl.datasteel.crudcraft.runtime.controller.response.ErrorResponse
-
Returns the value of the
message
record component. - META_ONLY - Enum constant in enum class nl.datasteel.crudcraft.annotations.CrudTemplate
-
Only metadata operations.
- MetadataCriteriaProjectionBuilder - Class in nl.datasteel.crudcraft.projection.impl.jpa
-
CriteriaProjectionBuilder
that relies on pre-generatedProjectionMetadata
instead of reflection. - MetadataCriteriaProjectionBuilder(ProjectionMetadataRegistry) - Constructor for class nl.datasteel.crudcraft.projection.impl.jpa.MetadataCriteriaProjectionBuilder
-
Constructs a MetadataCriteriaProjectionBuilder with the given registry.
- MetadataCriteriaProjectionBuilder(ProjectionMetadataRegistry, ProjectionMapper) - Constructor for class nl.datasteel.crudcraft.projection.impl.jpa.MetadataCriteriaProjectionBuilder
-
Constructs a MetadataCriteriaProjectionBuilder with the given registry and mapper.
- MetadataQuerydslProjectionBuilder - Class in nl.datasteel.crudcraft.projection.impl.querydsl
-
QuerydslProjectionBuilder
that relies onProjectionMetadata
. - MetadataQuerydslProjectionBuilder(ProjectionMetadataRegistry) - Constructor for class nl.datasteel.crudcraft.projection.impl.querydsl.MetadataQuerydslProjectionBuilder
-
Constructs a MetadataQuerydslProjectionBuilder with the given registry.
- MetadataQuerydslProjectionBuilder(ProjectionMetadataRegistry, ProjectionMapper) - Constructor for class nl.datasteel.crudcraft.projection.impl.querydsl.MetadataQuerydslProjectionBuilder
-
Constructs a MetadataQuerydslProjectionBuilder with the given registry and mapper.
- methodName() - Method in record class nl.datasteel.crudcraft.codegen.writer.controller.EndpointSpec
-
Returns the value of the
methodName
record component. - model() - Method in record class nl.datasteel.crudcraft.codegen.writer.controller.method.ControllerMethodContext
-
Returns the value of the
model
record component. - ModelDescriptor - Class in nl.datasteel.crudcraft.codegen.descriptor.model
-
Metadata for a model composed of distinct descriptor parts.
- ModelDescriptor(ModelIdentity, ModelFlags, EndpointOptions, ModelSecurity) - Constructor for class nl.datasteel.crudcraft.codegen.descriptor.model.ModelDescriptor
-
Constructs a ModelDescriptor with the provided identity, flags, endpoints, and security options.
- ModelEditableHeader - Class in nl.datasteel.crudcraft.codegen.fileheader
-
Header for editable model classes such as DTOs.
- ModelFlags - Record Class in nl.datasteel.crudcraft.codegen.descriptor.model.part
-
Represents boolean flags that describe model characteristics.
- ModelFlags(boolean, boolean, boolean) - Constructor for record class nl.datasteel.crudcraft.codegen.descriptor.model.part.ModelFlags
-
Creates an instance of a
ModelFlags
record class. - ModelIdentity - Record Class in nl.datasteel.crudcraft.codegen.descriptor.model.part
-
Represents core identity of a model, including its name, package and fields.
- ModelIdentity(String, String, List<FieldDescriptor>, String) - Constructor for record class nl.datasteel.crudcraft.codegen.descriptor.model.part.ModelIdentity
-
Immutable constructor for ModelIdentity.
- ModelPartExtractor<T> - Interface in nl.datasteel.crudcraft.codegen.reader.model
-
Interface for extracting parts of a model from a TypeElement.
- ModelPartExtractorRegistry - Class in nl.datasteel.crudcraft.codegen.reader.model
-
Registry for model part extractors.
- ModelSecurity - Record Class in nl.datasteel.crudcraft.codegen.descriptor.model.part
-
Security-related configuration for a model.
- ModelSecurity(boolean, Class<? extends CrudSecurityPolicy>, List<String>) - Constructor for record class nl.datasteel.crudcraft.codegen.descriptor.model.part.ModelSecurity
-
Creates an instance of a
ModelSecurity
record class. - ModelSecurityExtractor - Class in nl.datasteel.crudcraft.codegen.reader.model
-
Singleton extractor for
ModelSecurity
. - ModelSecurityExtractor() - Constructor for class nl.datasteel.crudcraft.codegen.reader.model.ModelSecurityExtractor
- ModelStrictHeader - Class in nl.datasteel.crudcraft.codegen.fileheader
-
Header for generated model classes that should remain untouched.
- mutator() - Method in interface nl.datasteel.crudcraft.projection.mapping.ProjectionMetadata.Attribute
-
Mutator used to assign collection values on the DTO.
N
- name() - Method in interface nl.datasteel.crudcraft.annotations.CrudEndpointPolicy
-
Returns the name of the policy.
- name() - Method in record class nl.datasteel.crudcraft.codegen.descriptor.field.part.Identity
-
Returns the value of the
name
record component. - name() - Method in record class nl.datasteel.crudcraft.codegen.descriptor.model.part.ModelIdentity
-
Returns the value of the
name
record component. - name() - Method in record class nl.datasteel.crudcraft.codegen.util.StubGeneratorUtil.StubMeta
-
Returns the value of the
name
record component. - name() - Method in record class nl.datasteel.crudcraft.codegen.writer.search.PropertySpec
-
Returns the value of the
name
record component. - nested() - Method in interface nl.datasteel.crudcraft.projection.mapping.ProjectionMetadata.Attribute
-
Metadata for nested DTO projections, or
null
for simple fields. - nestedType() - Method in record class nl.datasteel.crudcraft.projection.mapping.ProjectionFieldResolver.FieldMapping
-
Returns the value of the
nestedType
record component. - nl.datasteel.crudcraft.annotations - package nl.datasteel.crudcraft.annotations
- nl.datasteel.crudcraft.annotations.classes - package nl.datasteel.crudcraft.annotations.classes
- nl.datasteel.crudcraft.annotations.fields - package nl.datasteel.crudcraft.annotations.fields
- nl.datasteel.crudcraft.annotations.security - package nl.datasteel.crudcraft.annotations.security
- nl.datasteel.crudcraft.annotations.security.policy - package nl.datasteel.crudcraft.annotations.security.policy
- nl.datasteel.crudcraft.codegen - package nl.datasteel.crudcraft.codegen
- nl.datasteel.crudcraft.codegen.descriptor - package nl.datasteel.crudcraft.codegen.descriptor
- nl.datasteel.crudcraft.codegen.descriptor.field - package nl.datasteel.crudcraft.codegen.descriptor.field
- nl.datasteel.crudcraft.codegen.descriptor.field.part - package nl.datasteel.crudcraft.codegen.descriptor.field.part
- nl.datasteel.crudcraft.codegen.descriptor.model - package nl.datasteel.crudcraft.codegen.descriptor.model
- nl.datasteel.crudcraft.codegen.descriptor.model.part - package nl.datasteel.crudcraft.codegen.descriptor.model.part
- nl.datasteel.crudcraft.codegen.exception - package nl.datasteel.crudcraft.codegen.exception
- nl.datasteel.crudcraft.codegen.fileheader - package nl.datasteel.crudcraft.codegen.fileheader
- nl.datasteel.crudcraft.codegen.projection - package nl.datasteel.crudcraft.codegen.projection
- nl.datasteel.crudcraft.codegen.reader - package nl.datasteel.crudcraft.codegen.reader
- nl.datasteel.crudcraft.codegen.reader.field - package nl.datasteel.crudcraft.codegen.reader.field
- nl.datasteel.crudcraft.codegen.reader.model - package nl.datasteel.crudcraft.codegen.reader.model
- nl.datasteel.crudcraft.codegen.util - package nl.datasteel.crudcraft.codegen.util
- nl.datasteel.crudcraft.codegen.writer - package nl.datasteel.crudcraft.codegen.writer
- nl.datasteel.crudcraft.codegen.writer.controller - package nl.datasteel.crudcraft.codegen.writer.controller
- nl.datasteel.crudcraft.codegen.writer.controller.endpoints - package nl.datasteel.crudcraft.codegen.writer.controller.endpoints
- nl.datasteel.crudcraft.codegen.writer.controller.method - package nl.datasteel.crudcraft.codegen.writer.controller.method
- nl.datasteel.crudcraft.codegen.writer.relationship - package nl.datasteel.crudcraft.codegen.writer.relationship
- nl.datasteel.crudcraft.codegen.writer.search - package nl.datasteel.crudcraft.codegen.writer.search
- nl.datasteel.crudcraft.codegen.writer.stubs - package nl.datasteel.crudcraft.codegen.writer.stubs
- nl.datasteel.crudcraft.projection.api - package nl.datasteel.crudcraft.projection.api
- nl.datasteel.crudcraft.projection.config - package nl.datasteel.crudcraft.projection.config
- nl.datasteel.crudcraft.projection.impl - package nl.datasteel.crudcraft.projection.impl
- nl.datasteel.crudcraft.projection.impl.jpa - package nl.datasteel.crudcraft.projection.impl.jpa
- nl.datasteel.crudcraft.projection.impl.querydsl - package nl.datasteel.crudcraft.projection.impl.querydsl
- nl.datasteel.crudcraft.projection.mapping - package nl.datasteel.crudcraft.projection.mapping
- nl.datasteel.crudcraft.runtime - package nl.datasteel.crudcraft.runtime
- nl.datasteel.crudcraft.runtime.config - package nl.datasteel.crudcraft.runtime.config
- nl.datasteel.crudcraft.runtime.controller - package nl.datasteel.crudcraft.runtime.controller
- nl.datasteel.crudcraft.runtime.controller.response - package nl.datasteel.crudcraft.runtime.controller.response
- nl.datasteel.crudcraft.runtime.exception - package nl.datasteel.crudcraft.runtime.exception
- nl.datasteel.crudcraft.runtime.extensions - package nl.datasteel.crudcraft.runtime.extensions
- nl.datasteel.crudcraft.runtime.mapper - package nl.datasteel.crudcraft.runtime.mapper
- nl.datasteel.crudcraft.runtime.search - package nl.datasteel.crudcraft.runtime.search
- nl.datasteel.crudcraft.runtime.security - package nl.datasteel.crudcraft.runtime.security
- nl.datasteel.crudcraft.runtime.security.row - package nl.datasteel.crudcraft.runtime.security.row
- nl.datasteel.crudcraft.runtime.service - package nl.datasteel.crudcraft.runtime.service
- nl.datasteel.crudcraft.runtime.service.strategy - package nl.datasteel.crudcraft.runtime.service.strategy
- nl.datasteel.crudcraft.runtime.util - package nl.datasteel.crudcraft.runtime.util
- nl.datasteel.crudcraft.sample - package nl.datasteel.crudcraft.sample
- nl.datasteel.crudcraft.starter - package nl.datasteel.crudcraft.starter
- nl.datasteel.crudcraft.tools - package nl.datasteel.crudcraft.tools
- NO_BATCH - Enum constant in enum class nl.datasteel.crudcraft.annotations.CrudTemplate
-
No bulk operations at all.
- NO_DELETE - Enum constant in enum class nl.datasteel.crudcraft.annotations.CrudTemplate
-
Everything except delete.
- NONE - Enum constant in enum class nl.datasteel.crudcraft.codegen.descriptor.RelationshipType
-
No relationship between entities.
- NOT_EMPTY - Enum constant in enum class nl.datasteel.crudcraft.annotations.SearchOperator
-
Represents a check for the presence of elements in a collection.
- NOT_EQUALS - Enum constant in enum class nl.datasteel.crudcraft.annotations.SearchOperator
-
Represents an inequality check.
- NOT_IN - Enum constant in enum class nl.datasteel.crudcraft.annotations.SearchOperator
-
Represents a check for values that are not in a specified collection.
- NotEmptyPredicateGenerator - Class in nl.datasteel.crudcraft.codegen.writer.search
-
Generates a predicate for the "not empty" search operator.
- NotEmptyPredicateGenerator() - Constructor for class nl.datasteel.crudcraft.codegen.writer.search.NotEmptyPredicateGenerator
- NotEqualsPredicateGenerator - Class in nl.datasteel.crudcraft.codegen.writer.search
-
Generates predicates for the
NOT_EQUALS
operator. - NotEqualsPredicateGenerator() - Constructor for class nl.datasteel.crudcraft.codegen.writer.search.NotEqualsPredicateGenerator
- NotImplementedException - Exception Class in nl.datasteel.crudcraft.runtime.exception
-
501 Not Implemented - stubbed method not yet supported.
- NotImplementedException(String) - Constructor for exception class nl.datasteel.crudcraft.runtime.exception.NotImplementedException
-
Constructs a NotImplementedException with a default message.
- NotInPredicateGenerator - Class in nl.datasteel.crudcraft.codegen.writer.search
-
Generates predicates for the
NOT_IN
operator. - NotInPredicateGenerator() - Constructor for class nl.datasteel.crudcraft.codegen.writer.search.NotInPredicateGenerator
O
- of(SearchOperator) - Static method in class nl.datasteel.crudcraft.codegen.writer.search.PredicateGeneratorRegistry
-
Retrieves the appropriate
PredicateGenerator
for the givenSearchOperator
. - of(FilterCriteria<T>, Pageable) - Static method in record class nl.datasteel.crudcraft.projection.api.ProjectionQuery
-
Creates a new ProjectionQuery with the specified filter criteria and pageable.
- ofPredicate(Predicate) - Static method in interface nl.datasteel.crudcraft.projection.api.FilterCriteria
-
Creates a FilterCriteria from a QueryDSL Predicate.
- ofSpecification(Specification<T>) - Static method in interface nl.datasteel.crudcraft.projection.api.FilterCriteria
-
Creates a FilterCriteria from a JPA Specification.
- omitEndpoints() - Element in annotation interface nl.datasteel.crudcraft.annotations.classes.CrudCrafted
-
Used for omitting endpoints that are not needed, but are included in the specified template.
- omitEndpoints() - Method in record class nl.datasteel.crudcraft.codegen.descriptor.model.part.EndpointOptions
-
Safe, defensive accessor for omitEndpoints.
- onCreate() - Method in class nl.datasteel.crudcraft.runtime.extensions.AuditableExtension
-
Hooks into the JPA lifecycle to set the createdAt and updatedAt timestamps when the entity is first persisted.
- ONE_TO_MANY - Enum constant in enum class nl.datasteel.crudcraft.codegen.descriptor.RelationshipType
-
One-to-many relationship between entities.
- ONE_TO_ONE - Enum constant in enum class nl.datasteel.crudcraft.codegen.descriptor.RelationshipType
-
One-to-one relationship between entities.
- OneToManyHandler - Class in nl.datasteel.crudcraft.codegen.writer.relationship
-
Handles ONE_TO_MANY and MANY_TO_MANY relationships.
- OneToManyHandler() - Constructor for class nl.datasteel.crudcraft.codegen.writer.relationship.OneToManyHandler
- OneToOneHandler - Class in nl.datasteel.crudcraft.codegen.writer.relationship
-
Handles ONE_TO_ONE relationships.
- OneToOneHandler() - Constructor for class nl.datasteel.crudcraft.codegen.writer.relationship.OneToOneHandler
- onUpdate() - Method in class nl.datasteel.crudcraft.runtime.extensions.AuditableExtension
-
Hooks into the JPA lifecycle to update the updatedAt timestamp whenever the entity is updated.
- OperationNotAllowedException - Exception Class in nl.datasteel.crudcraft.runtime.exception
-
405 Method Not Allowed - operation not supported.
- OperationNotAllowedException(String) - Constructor for exception class nl.datasteel.crudcraft.runtime.exception.OperationNotAllowedException
-
Constructs an OperationNotAllowedException with a default message.
- operator() - Method in record class nl.datasteel.crudcraft.codegen.writer.search.SearchField
-
Returns the value of the
operator
record component. - operators() - Element in annotation interface nl.datasteel.crudcraft.annotations.fields.Searchable
-
The set of allowed operators for this field.
- operators() - Method in record class nl.datasteel.crudcraft.codegen.descriptor.field.part.SearchOptions
-
Safe, defensive accessor for operators.
- operators() - Method in record class nl.datasteel.crudcraft.codegen.writer.search.PropertySpec
-
Returns the value of the
operators
record component. - OperatorSpec - Interface in nl.datasteel.crudcraft.codegen.writer.search
-
Describes how an operator contributes fields and accessors to the request DTO.
- OperatorSpecRegistry - Class in nl.datasteel.crudcraft.codegen.writer.search
-
Utility class that provides static methods to retrieve operator specifications based on the SearchOperator enum.
- order() - Method in class nl.datasteel.crudcraft.codegen.writer.DtoGenerator
- order() - Method in interface nl.datasteel.crudcraft.codegen.writer.Generator
-
Determines the execution order within the generator group (basic or CRUD).
- order() - Method in class nl.datasteel.crudcraft.codegen.writer.RelationshipMetaGenerator
- order() - Method in class nl.datasteel.crudcraft.codegen.writer.SearchGenerator
- order() - Method in class nl.datasteel.crudcraft.codegen.writer.stubs.ControllerGenerator
- order() - Method in class nl.datasteel.crudcraft.codegen.writer.stubs.MapperGenerator
- order() - Method in class nl.datasteel.crudcraft.codegen.writer.stubs.RepositoryGenerator
- order() - Method in class nl.datasteel.crudcraft.codegen.writer.stubs.ServiceGenerator
- OwnerBasedRowSecurity<T> - Class in nl.datasteel.crudcraft.runtime.security.row
-
A row-level security handler that restricts access to entities based on an
ownerId
field. - OwnerBasedRowSecurity(String, Supplier<UUID>) - Constructor for class nl.datasteel.crudcraft.runtime.security.row.OwnerBasedRowSecurity
-
Creates a handler using a custom field name.
- OwnerBasedRowSecurity(Supplier<UUID>) - Constructor for class nl.datasteel.crudcraft.runtime.security.row.OwnerBasedRowSecurity
-
Creates a handler using
ownerId
as the default field name.
P
- packageName() - Method in record class nl.datasteel.crudcraft.codegen.descriptor.model.part.ModelIdentity
-
Returns the value of the
packageName
record component. - packageSuffix() - Method in enum class nl.datasteel.crudcraft.codegen.writer.DtoType
-
Returns the package suffix for this DTO type.
- page() - Method in record class nl.datasteel.crudcraft.runtime.controller.response.PaginatedResponse
-
Returns the value of the
page
record component. - pageable() - Method in record class nl.datasteel.crudcraft.projection.api.ProjectionQuery
-
Returns the value of the
pageable
record component. - PaginatedResponse<T> - Record Class in nl.datasteel.crudcraft.runtime.controller.response
-
Uniform container for paginated REST responses.
- PaginatedResponse(List<T>, int, int, int, long, boolean, boolean) - Constructor for record class nl.datasteel.crudcraft.runtime.controller.response.PaginatedResponse
-
Defensive copy constructor to ensure immutability of content.
- ParameterComponent - Class in nl.datasteel.crudcraft.codegen.writer.controller.method
-
Adds parameters to the method based on the endpoint specification.
- ParameterComponent() - Constructor for class nl.datasteel.crudcraft.codegen.writer.controller.method.ParameterComponent
- params() - Method in record class nl.datasteel.crudcraft.codegen.writer.controller.EndpointSpec
-
Returns the value of the
params
record component. - parse(Element, ProcessingEnvironment) - Static method in class nl.datasteel.crudcraft.codegen.reader.AnnotationModelReader
-
Parses the given element to create a
ModelDescriptor
. - PASCAL - Enum constant in enum class nl.datasteel.crudcraft.codegen.util.StringCase
-
UpperCamelCase style.
- patch(ID, U) - Method in class nl.datasteel.crudcraft.runtime.controller.AbstractCrudController
-
Partial update.
- patch(ID, U) - Method in class nl.datasteel.crudcraft.runtime.service.AbstractCrudService
-
Partially update an existing entity (PATCH semantics).
- patch(ID, U) - Method in interface nl.datasteel.crudcraft.runtime.service.CrudService
-
Partially update an existing entity (patch semantics).
- patch(T, U) - Method in interface nl.datasteel.crudcraft.runtime.mapper.EntityMapper
-
Copy only non-null properties from the DTO into the entity.
- PATCH - Enum constant in enum class nl.datasteel.crudcraft.annotations.CrudEndpoint
-
Partially updates an existing resource by its ID.
- PATCH_ONLY - Enum constant in enum class nl.datasteel.crudcraft.annotations.CrudTemplate
-
Only PATCH for modifications, plus basic GET.
- patchAll(List<Identified<ID, U>>) - Method in class nl.datasteel.crudcraft.runtime.controller.AbstractCrudController
-
Bulk patch.
- patchAll(List<Identified<ID, U>>) - Method in class nl.datasteel.crudcraft.runtime.service.AbstractCrudService
-
Bulk patch entities by their IDs.
- patchAll(List<Identified<ID, U>>) - Method in interface nl.datasteel.crudcraft.runtime.service.CrudService
-
Bulk patch from a collection of DTOs.
- PatchEndpoint - Class in nl.datasteel.crudcraft.codegen.writer.controller.endpoints
- PatchEndpoint() - Constructor for class nl.datasteel.crudcraft.codegen.writer.controller.endpoints.PatchEndpoint
- path() - Method in record class nl.datasteel.crudcraft.codegen.writer.search.SearchField
-
Returns the value of the
path
record component. - path() - Method in record class nl.datasteel.crudcraft.projection.mapping.ProjectionFieldResolver.FieldMapping
-
Returns the value of the
path
record component. - path() - Method in interface nl.datasteel.crudcraft.projection.mapping.ProjectionMetadata.Attribute
-
Entity attribute path relative to the current entity or join.
- path() - Method in record class nl.datasteel.crudcraft.runtime.controller.response.ErrorResponse
-
Returns the value of the
path
record component. - PermitAllSecurityPolicy - Class in nl.datasteel.crudcraft.annotations.security.policy
-
Allows all users to access every endpoint.
- PermitAllSecurityPolicy() - Constructor for class nl.datasteel.crudcraft.annotations.security.policy.PermitAllSecurityPolicy
- pkg() - Method in record class nl.datasteel.crudcraft.codegen.util.StubGeneratorUtil.StubMeta
-
Returns the value of the
pkg
record component. - pluralize(String) - Static method in class nl.datasteel.crudcraft.codegen.util.Pluralizer
-
Returns a plural form of the given word using a small subset of English pluralization rules.
- Pluralizer - Class in nl.datasteel.crudcraft.codegen.util
-
Utility class providing very simple English pluralization and singularization.
- POST - Enum constant in enum class nl.datasteel.crudcraft.annotations.CrudEndpoint
-
Creates a new resource.
- postDelete(T) - Method in class nl.datasteel.crudcraft.runtime.service.AbstractCrudService
-
Post-delete hook for custom logic after an entity is deleted.
- postSave(T) - Method in class nl.datasteel.crudcraft.runtime.service.AbstractCrudService
-
Post-save hook for custom logic after an entity is saved.
- PreconditionFailedException - Exception Class in nl.datasteel.crudcraft.runtime.exception
-
412 Precondition Failed - e.g. conditional request headers not met.
- PreconditionFailedException(String) - Constructor for exception class nl.datasteel.crudcraft.runtime.exception.PreconditionFailedException
-
Constructs a PreconditionFailedException with a default message.
- preDelete(T) - Method in class nl.datasteel.crudcraft.runtime.service.AbstractCrudService
-
Pre-delete hook for custom logic before an entity is deleted.
- PredicateGenerator - Interface in nl.datasteel.crudcraft.codegen.writer.search
-
Interface for generating predicates based on search fields.
- PredicateGeneratorRegistry - Class in nl.datasteel.crudcraft.codegen.writer.search
-
Registry for predicate generators that maps search operators to their corresponding predicate generator implementations.
- preSave(T, U) - Method in class nl.datasteel.crudcraft.runtime.service.AbstractCrudService
-
Pre-save hook for custom logic before an entity is saved.
- process(Set<? extends TypeElement>, RoundEnvironment) - Method in class nl.datasteel.crudcraft.codegen.CrudCraftProcessor
-
Processes the annotations found in the current round.
- process(Set<? extends TypeElement>, RoundEnvironment) - Method in class nl.datasteel.crudcraft.codegen.projection.ProjectionMetadataProcessor
-
Processes the annotations in the round environment.
- project(Class<T>, Class<D>, ProjectionQuery<T>) - Method in interface nl.datasteel.crudcraft.projection.api.ProjectionExecutor
-
Execute a projection for the given entity type and DTO type.
- project(Class<T>, Class<D>, ProjectionQuery<T>) - Method in class nl.datasteel.crudcraft.projection.impl.jpa.JpaProjectionExecutor
-
Projects a DTO type from the given entity type using the provided query.
- project(Class<T>, Class<D>, ProjectionQuery<T>) - Method in class nl.datasteel.crudcraft.projection.impl.querydsl.QuerydslProjectionExecutor
-
Projects the given entity type into the specified DTO type using QueryDSL.
- project(Class<T>, Class<D>, ProjectionQuery<T>) - Method in class nl.datasteel.crudcraft.projection.impl.RoutingProjectionExecutor
-
Executes the projection query by delegating to the appropriate
ProjectionExecutorProvider
based on the query type. - ProjectionAutoConfiguration - Class in nl.datasteel.crudcraft.projection.config
-
Spring Boot auto configuration for projection support.
- ProjectionAutoConfiguration() - Constructor for class nl.datasteel.crudcraft.projection.config.ProjectionAutoConfiguration
- projectionExecutor(List<ProjectionExecutorProvider>) - Method in class nl.datasteel.crudcraft.projection.config.ProjectionAutoConfiguration
-
Provides a ProjectionExecutor that routes to the appropriate executor based on the available ProjectionExecutorProviders.
- ProjectionExecutor - Interface in nl.datasteel.crudcraft.projection.api
-
Executes projection queries and returns DTO results.
- ProjectionExecutorProvider - Interface in nl.datasteel.crudcraft.projection.api
-
Allows registration of
ProjectionExecutor
implementations. - ProjectionField - Annotation Interface in nl.datasteel.crudcraft.annotations.fields
-
Specifies an alternative projection path for a DTO field.
- ProjectionFieldResolver - Class in nl.datasteel.crudcraft.projection.mapping
-
Resolves mapping information for DTO fields at runtime.
- ProjectionFieldResolver() - Constructor for class nl.datasteel.crudcraft.projection.mapping.ProjectionFieldResolver
- ProjectionFieldResolver.FieldMapping - Record Class in nl.datasteel.crudcraft.projection.mapping
-
Describes a single field mapping for a DTO constructor parameter.
- ProjectionMapper - Class in nl.datasteel.crudcraft.projection.mapping
-
Maps DTO classes to entity paths at runtime using reflection.
- ProjectionMapper() - Constructor for class nl.datasteel.crudcraft.projection.mapping.ProjectionMapper
-
Constructs a ProjectionMapper using the default field resolver.
- ProjectionMapper(ProjectionFieldResolver) - Constructor for class nl.datasteel.crudcraft.projection.mapping.ProjectionMapper
-
Constructs a ProjectionMapper with a custom field resolver.
- ProjectionMetadata<D> - Interface in nl.datasteel.crudcraft.projection.mapping
-
Describes how a DTO maps to entity attributes.
- ProjectionMetadata.Attribute - Interface in nl.datasteel.crudcraft.projection.mapping
-
Attribute binding between DTO constructor arguments and entity paths.
- ProjectionMetadataProcessor - Class in nl.datasteel.crudcraft.codegen.projection
-
Annotation processor that scans DTO classes and emits
ProjectionMetadata
implementations along with a registry to expose them. - ProjectionMetadataProcessor() - Constructor for class nl.datasteel.crudcraft.codegen.projection.ProjectionMetadataProcessor
- projectionMetadataRegistry() - Method in class nl.datasteel.crudcraft.projection.config.ProjectionAutoConfiguration
-
Provides a ProjectionMetadataRegistry that can be used to access compile-time generated metadata for projections.
- ProjectionMetadataRegistry - Interface in nl.datasteel.crudcraft.projection.mapping
-
Registry that exposes compile-time generated projection metadata.
- ProjectionProperties - Class in nl.datasteel.crudcraft.projection.config
-
Configuration properties for projection engine selection.
- ProjectionProperties() - Constructor for class nl.datasteel.crudcraft.projection.config.ProjectionProperties
- ProjectionProperties.Engine - Enum Class in nl.datasteel.crudcraft.projection.config
-
Enum representing the available projection engines.
- ProjectionQuery<T> - Record Class in nl.datasteel.crudcraft.projection.api
-
Encapsulates filtering and paging information for a projection query.
- ProjectionQuery(FilterCriteria<T>, Pageable) - Constructor for record class nl.datasteel.crudcraft.projection.api.ProjectionQuery
-
Creates an instance of a
ProjectionQuery
record class. - ProjectionResult<D> - Record Class in nl.datasteel.crudcraft.projection.api
-
Holds projected DTOs and total count metadata.
- ProjectionResult(List<D>, long) - Constructor for record class nl.datasteel.crudcraft.projection.api.ProjectionResult
-
Defensive copy constructor to ensure immutability of the content list.
- property() - Method in record class nl.datasteel.crudcraft.codegen.writer.search.SearchField
-
Returns the value of the
property
record component. - PropertySpec - Record Class in nl.datasteel.crudcraft.codegen.writer.search
-
Represents a property specification for a searchable field in a model.
- PropertySpec(FieldDescriptor, String, Set<SearchOperator>) - Constructor for record class nl.datasteel.crudcraft.codegen.writer.search.PropertySpec
-
Immutable constructor for PropertySpec.
- PUT - Enum constant in enum class nl.datasteel.crudcraft.annotations.CrudEndpoint
-
Updates an existing resource by its ID.
Q
- QAuditableExtension - Class in nl.datasteel.crudcraft.runtime.extensions
- QAuditableExtension(Path<? extends AuditableExtension>) - Constructor for class nl.datasteel.crudcraft.runtime.extensions.QAuditableExtension
- QAuditableExtension(PathMetadata) - Constructor for class nl.datasteel.crudcraft.runtime.extensions.QAuditableExtension
- QAuditableExtension(String) - Constructor for class nl.datasteel.crudcraft.runtime.extensions.QAuditableExtension
- QSoftDeleteExtension - Class in nl.datasteel.crudcraft.runtime.extensions
- QSoftDeleteExtension(Path<? extends SoftDeleteExtension>) - Constructor for class nl.datasteel.crudcraft.runtime.extensions.QSoftDeleteExtension
- QSoftDeleteExtension(PathMetadata) - Constructor for class nl.datasteel.crudcraft.runtime.extensions.QSoftDeleteExtension
- QSoftDeleteExtension(String) - Constructor for class nl.datasteel.crudcraft.runtime.extensions.QSoftDeleteExtension
- QUERYDSL - Enum constant in enum class nl.datasteel.crudcraft.projection.config.ProjectionProperties.Engine
- QuerydslExecutionStrategy<T,
R, - Class in nl.datasteel.crudcraft.runtime.service.strategyF> -
Executes queries using a
QuerydslPredicateExecutor
. - QuerydslExecutionStrategy(QuerydslPredicateExecutor<T>, EntityMapper<T, ?, R, F, ?>, Class<R>, Class<F>, JpaSpecificationExecutor<T>) - Constructor for class nl.datasteel.crudcraft.runtime.service.strategy.QuerydslExecutionStrategy
-
Constructs a new execution strategy using the provided repository.
- querydslProjectionBuilder(ProjectionMetadataRegistry) - Method in class nl.datasteel.crudcraft.projection.config.ProjectionAutoConfiguration
-
Provides a QuerydslProjectionBuilder that uses ProjectionMetadataRegistry to access compile-time generated metadata.
- QuerydslProjectionBuilder - Interface in nl.datasteel.crudcraft.projection.impl.querydsl
-
Builds QueryDSL queries that project entity data directly into DTOs.
- QuerydslProjectionExecutor - Class in nl.datasteel.crudcraft.projection.impl.querydsl
-
QueryDSL-based implementation of
ProjectionExecutor
. - QuerydslProjectionExecutor(JPAQueryFactory, Metamodel, QuerydslProjectionBuilder, ProjectionMetadataRegistry) - Constructor for class nl.datasteel.crudcraft.projection.impl.querydsl.QuerydslProjectionExecutor
-
Constructs a new QuerydslProjectionExecutor with the given parameters.
- querydslProjectionExecutorProvider(JPAQueryFactory, EntityManager, QuerydslProjectionBuilder, ProjectionMetadataRegistry, ProjectionProperties) - Method in class nl.datasteel.crudcraft.projection.config.ProjectionAutoConfiguration
-
Provides a QuerydslProjectionExecutorProvider that uses QueryDSL for projections.
- QuerydslProjectionExecutorProvider - Class in nl.datasteel.crudcraft.projection.impl.querydsl
-
Provider for the Querydsl based
ProjectionExecutor
. - QuerydslProjectionExecutorProvider(JPAQueryFactory, Metamodel, QuerydslProjectionBuilder, ProjectionMetadataRegistry) - Constructor for class nl.datasteel.crudcraft.projection.impl.querydsl.QuerydslProjectionExecutorProvider
-
Constructs a new QuerydslProjectionExecutorProvider with the given parameters.
- QueryExecutionStrategy<T> - Interface in nl.datasteel.crudcraft.runtime.service.strategy
-
Strategy abstraction for executing queries using either QueryDSL or JPA Specifications.
- queryExecutor - Variable in class nl.datasteel.crudcraft.runtime.service.AbstractCrudService
-
The strategy used to execute queries, either via QueryDSL or JPA Specifications.
R
- range() - Static method in class nl.datasteel.crudcraft.codegen.writer.search.OperatorSpecRegistry
-
Returns ContainsOperatorSpec for operators that involve containment checks.
- RANGE - Enum constant in enum class nl.datasteel.crudcraft.annotations.SearchOperator
-
Represents a check for values within a specified range.
- RangeOperatorSpec - Class in nl.datasteel.crudcraft.codegen.writer.search
-
Specification for a range operator in search requests.
- RangeOperatorSpec() - Constructor for class nl.datasteel.crudcraft.codegen.writer.search.RangeOperatorSpec
- RangePredicateGenerator - Class in nl.datasteel.crudcraft.codegen.writer.search
-
Generates a predicate for checking if a field's value falls within a specified range in a search request.
- RangePredicateGenerator() - Constructor for class nl.datasteel.crudcraft.codegen.writer.search.RangePredicateGenerator
- READ_ONLY - Enum constant in enum class nl.datasteel.crudcraft.annotations.CrudTemplate
-
Only read operations.
- ReadPublicWriteAdminPolicy - Class in nl.datasteel.crudcraft.annotations.security.policy
-
Read endpoints are public; write endpoints require ADMIN role.
- ReadPublicWriteAdminPolicy() - Constructor for class nl.datasteel.crudcraft.annotations.security.policy.ReadPublicWriteAdminPolicy
- readRoles() - Element in annotation interface nl.datasteel.crudcraft.annotations.security.FieldSecurity
-
Roles allowed to read the field.
- readRoles() - Method in record class nl.datasteel.crudcraft.codegen.descriptor.field.part.Security
-
Safe, defensive accessor for read roles.
- reason() - Element in annotation interface nl.datasteel.crudcraft.runtime.controller.DisabledEndpoint
-
The reason why the endpoint is disabled.
- ref() - Element in annotation interface nl.datasteel.crudcraft.annotations.fields.Dto
-
When set to
true
, the field will be included in a reference DTO. - REF - Enum constant in enum class nl.datasteel.crudcraft.codegen.writer.DtoType
- refClass - Variable in class nl.datasteel.crudcraft.runtime.service.AbstractCrudService
-
The reference class type, used for lightweight projections.
- REGEX - Enum constant in enum class nl.datasteel.crudcraft.annotations.SearchOperator
-
Represents a check for values that match a specified pattern.
- RegexPredicateGenerator - Class in nl.datasteel.crudcraft.codegen.writer.search
-
Generates a predicate for checking if a string field matches a regular expression specified in a search request.
- RegexPredicateGenerator() - Constructor for class nl.datasteel.crudcraft.codegen.writer.search.RegexPredicateGenerator
- register(ProjectionMetadata<D>) - Method in class nl.datasteel.crudcraft.projection.mapping.SimpleProjectionMetadataRegistry
-
Registers new projection metadata.
- Relationship - Record Class in nl.datasteel.crudcraft.codegen.descriptor.field.part
-
Represents a relationship between entities in a model.
- Relationship(RelationshipType, String, String, boolean, boolean) - Constructor for record class nl.datasteel.crudcraft.codegen.descriptor.field.part.Relationship
-
Creates an instance of a
Relationship
record class. - RELATIONSHIP_FIELD_SUFFIX - Static variable in interface nl.datasteel.crudcraft.codegen.writer.relationship.RelationshipHandler
- RelationshipException - Exception Class in nl.datasteel.crudcraft.runtime.exception
-
409 Conflict - relationship constraint violation.
- RelationshipException(String, Throwable) - Constructor for exception class nl.datasteel.crudcraft.runtime.exception.RelationshipException
-
Constructs a RelationshipException with a default message.
- RelationshipExtractor - Class in nl.datasteel.crudcraft.codegen.reader.field
-
Singleton extractor for extracting relationships from fields annotated with JPA annotations.
- RelationshipExtractor() - Constructor for class nl.datasteel.crudcraft.codegen.reader.field.RelationshipExtractor
- RelationshipHandler - Interface in nl.datasteel.crudcraft.codegen.writer.relationship
-
Strategy for adding relationship fix and clear logic.
- RelationshipMetaGenerator - Class in nl.datasteel.crudcraft.codegen.writer
-
Generates a compile-time "RelationshipMeta" class with static fix(entity) and clear(entity) methods that re-establish or clear bidirectional links in memory via cached java.lang.reflect.Field references.
- RelationshipMetaGenerator() - Constructor for class nl.datasteel.crudcraft.codegen.writer.RelationshipMetaGenerator
- relationshipType() - Method in record class nl.datasteel.crudcraft.codegen.descriptor.field.part.Relationship
-
Returns the value of the
relationshipType
record component. - RelationshipType - Enum Class in nl.datasteel.crudcraft.codegen.descriptor
-
Enum representing the type of relationship between entities in a data model.
- RelationshipUtils - Class in nl.datasteel.crudcraft.runtime.util
-
Utility class for fixing or clearing bidirectional relationships in entities.
- repository - Variable in class nl.datasteel.crudcraft.runtime.service.AbstractCrudService
-
The JPA repository used for CRUD operations.
- RepositoryGenerator - Class in nl.datasteel.crudcraft.codegen.writer.stubs
-
Generates a Spring Data JPA repository interface for the given model.
- RepositoryGenerator() - Constructor for class nl.datasteel.crudcraft.codegen.writer.stubs.RepositoryGenerator
- Request - Annotation Interface in nl.datasteel.crudcraft.annotations.fields
-
Annotation to mark a field for inclusion in request objects.
- REQUEST - Enum constant in enum class nl.datasteel.crudcraft.codegen.writer.DtoType
- RequestTimingFilter - Class in nl.datasteel.crudcraft.sample
-
Simple servlet filter that logs how long each HTTP request takes.
- RequestTimingFilter() - Constructor for class nl.datasteel.crudcraft.sample.RequestTimingFilter
- requiresCrudEntity() - Method in interface nl.datasteel.crudcraft.codegen.writer.Generator
-
Indicates whether this generator should only be applied to models that are marked as CrudCraft entities.
- requiresCrudEntity() - Method in class nl.datasteel.crudcraft.codegen.writer.RelationshipMetaGenerator
- requiresCrudEntity() - Method in class nl.datasteel.crudcraft.codegen.writer.stubs.ControllerGenerator
- requiresCrudEntity() - Method in class nl.datasteel.crudcraft.codegen.writer.stubs.MapperGenerator
- requiresCrudEntity() - Method in class nl.datasteel.crudcraft.codegen.writer.stubs.RepositoryGenerator
- requiresCrudEntity() - Method in class nl.datasteel.crudcraft.codegen.writer.stubs.ServiceGenerator
- resolve(Class<D>) - Method in class nl.datasteel.crudcraft.projection.mapping.ProjectionFieldResolver
-
Resolve field mappings for the given DTO type.
- resolveEndpoints() - Method in interface nl.datasteel.crudcraft.annotations.CrudEndpointPolicy
-
Resolves a set of CRUD endpoints based on the policy's criteria.
- resolveEndpoints() - Method in enum class nl.datasteel.crudcraft.annotations.CrudTemplate
-
Returns the endpoints defined by this template.
- resourceExists(Filer, String, String) - Static method in class nl.datasteel.crudcraft.codegen.util.FilerUtils
-
Returns true if the given class-file already exists in the generated-sources folder.
- ResourceNotFoundException - Exception Class in nl.datasteel.crudcraft.runtime.exception
-
404 Not Found - requested resource does not exist.
- ResourceNotFoundException(String) - Constructor for exception class nl.datasteel.crudcraft.runtime.exception.ResourceNotFoundException
-
Constructs a ResourceNotFoundException with a default message.
- RESPONSE - Enum constant in enum class nl.datasteel.crudcraft.codegen.writer.DtoType
- responseClass - Variable in class nl.datasteel.crudcraft.runtime.service.AbstractCrudService
-
The full response class type, used for detailed entity projections.
- ResponseComponent - Class in nl.datasteel.crudcraft.codegen.writer.controller.method
-
Sets the return type and populates the method body according to the endpoint specification.
- ResponseComponent() - Constructor for class nl.datasteel.crudcraft.codegen.writer.controller.method.ResponseComponent
- responseDtos() - Method in record class nl.datasteel.crudcraft.codegen.descriptor.field.part.DtoOptions
-
Returns the value of the
responseDtos
record component. - returnType() - Method in record class nl.datasteel.crudcraft.codegen.writer.controller.EndpointSpec
-
Returns the value of the
returnType
record component. - RoleBasedCrudSecurityPolicy - Class in nl.datasteel.crudcraft.annotations.security.policy
-
Allows configuring roles per CRUD endpoint.
- RoleBasedCrudSecurityPolicy() - Constructor for class nl.datasteel.crudcraft.annotations.security.policy.RoleBasedCrudSecurityPolicy
-
Default constructor for serialization frameworks.
- RoleBasedCrudSecurityPolicy(Map<CrudEndpoint, String>) - Constructor for class nl.datasteel.crudcraft.annotations.security.policy.RoleBasedCrudSecurityPolicy
-
Constructs a policy with specific roles for each CRUD endpoint.
- RouteDeclarationComponent - Class in nl.datasteel.crudcraft.codegen.writer.controller.method
-
Adds the mapping annotation to the method based on the endpoint specification.
- RouteDeclarationComponent() - Constructor for class nl.datasteel.crudcraft.codegen.writer.controller.method.RouteDeclarationComponent
- RoutingProjectionExecutor - Class in nl.datasteel.crudcraft.projection.impl
-
Delegates projection execution to the first
ProjectionExecutorProvider
that supports the givenProjectionQuery
. - RoutingProjectionExecutor(List<ProjectionExecutorProvider>) - Constructor for class nl.datasteel.crudcraft.projection.impl.RoutingProjectionExecutor
-
Constructs a new RoutingProjectionExecutor with the provided list of ProjectionExecutorProviders.
- rowFilter() - Method in interface nl.datasteel.crudcraft.annotations.security.RowSecurityHandler
-
Returns a JPA
Specification
that restricts which rows are visible for the current user. - rowFilter() - Method in class nl.datasteel.crudcraft.runtime.security.row.OwnerBasedRowSecurity
-
Builds a row-level specification that only allows access to entities where the
ownerField
equals the current user ID. - rowFilterPredicate() - Method in interface nl.datasteel.crudcraft.annotations.security.RowSecurityHandler
-
Returns a QueryDSL
Predicate
that restricts which rows are visible for the current user. - rows() - Method in record class nl.datasteel.crudcraft.projection.impl.CollectionHydrator.FetchResult
-
Returns the fetched rows as an immutable list.
- RowSecurity - Annotation Interface in nl.datasteel.crudcraft.annotations.security
-
Marks an entity with a
RowSecurityHandler
that filters accessible rows. - rowSecurityFilter() - Method in class nl.datasteel.crudcraft.runtime.service.AbstractCrudService
-
Override to provide row-level security filter.
- RowSecurityHandler<T> - Interface in nl.datasteel.crudcraft.annotations.security
-
Provides a row-level security filter for entities of type
T
. - rowSecurityHandlers() - Method in record class nl.datasteel.crudcraft.codegen.descriptor.model.part.ModelSecurity
-
Returns the value of the
rowSecurityHandlers
record component. - rowSecurityHandlers() - Method in class nl.datasteel.crudcraft.runtime.service.AbstractCrudService
-
Override to provide a
RowSecurityHandler
used for both filtering and write-time validation. - rowSecurityPredicate() - Method in class nl.datasteel.crudcraft.runtime.service.AbstractCrudService
-
Override to provide row-level security filter using QueryDSL.
- run(String...) - Method in class nl.datasteel.crudcraft.sample.DemoDataSeeder
S
- schema(String) - Static method in class nl.datasteel.crudcraft.codegen.writer.TemplateUtil
-
Generates an OpenAPI Schema annotation with a description.
- schemaAllowable(List<String>) - Static method in class nl.datasteel.crudcraft.codegen.writer.TemplateUtil
-
Generates an OpenAPI Schema annotation with a list of allowable values.
- schemaDescription(String) - Method in enum class nl.datasteel.crudcraft.codegen.writer.DtoType
-
Returns the schema description for the given model.
- search(SearchRequest<T>, Pageable) - Method in class nl.datasteel.crudcraft.runtime.service.AbstractCrudService
-
Retrieve a paginated list of DTO projections, optionally filtered by a search request.
- search(SearchRequest<T>, Pageable) - Method in interface nl.datasteel.crudcraft.runtime.service.CrudService
-
Execute a typed search using a generated search request object.
- search(Q, Integer) - Method in class nl.datasteel.crudcraft.runtime.controller.AbstractCrudController
-
Dedicated search endpoint.
- SEARCH - Enum constant in enum class nl.datasteel.crudcraft.annotations.CrudEndpoint
-
Searches for resources based on specific criteria.
- SEARCH_ONLY - Enum constant in enum class nl.datasteel.crudcraft.annotations.CrudTemplate
-
Only search style endpoints.
- searchable() - Method in record class nl.datasteel.crudcraft.codegen.descriptor.field.part.SearchOptions
-
Returns the value of the
searchable
record component. - Searchable - Annotation Interface in nl.datasteel.crudcraft.annotations.fields
-
Marks a field as searchable and optionally restricts the allowed
operators
. - SearchAccessorUtil - Class in nl.datasteel.crudcraft.codegen.writer.search
-
Utility class for generating getter and setter methods for fields in search request DTOs.
- SearchEditableHeader - Class in nl.datasteel.crudcraft.codegen.fileheader
-
Header for files in the Search package that may be customised.
- SearchEndpoint - Class in nl.datasteel.crudcraft.codegen.writer.controller.endpoints
- SearchEndpoint() - Constructor for class nl.datasteel.crudcraft.codegen.writer.controller.endpoints.SearchEndpoint
- SearchField - Record Class in nl.datasteel.crudcraft.codegen.writer.search
-
Holds field metadata together with the operator used for generating predicates.
- SearchField(FieldDescriptor, String, String, SearchOperator) - Constructor for record class nl.datasteel.crudcraft.codegen.writer.search.SearchField
-
Creates an instance of a
SearchField
record class. - SearchFieldCollector - Class in nl.datasteel.crudcraft.codegen.writer.search
-
Collects searchable fields from a model descriptor and its child models up to a specified depth, creating a list of SearchField objects.
- SearchFieldCollector(WriteContext) - Constructor for class nl.datasteel.crudcraft.codegen.writer.search.SearchFieldCollector
-
Constructs a SearchFieldCollector with the given WriteContext.
- SearchGenerator - Class in nl.datasteel.crudcraft.codegen.writer
-
Generates a SearchRequest DTO and Specification implementation for each CrudCraft entity that has @Searchable fields.
- SearchGenerator() - Constructor for class nl.datasteel.crudcraft.codegen.writer.SearchGenerator
- SearchOperator - Enum Class in nl.datasteel.crudcraft.annotations
-
Enum representing various search operators that can be used in query specifications.
- SearchOptions - Record Class in nl.datasteel.crudcraft.codegen.descriptor.field.part
-
Search configuration for a field.
- SearchOptions(boolean, List<SearchOperator>, int) - Constructor for record class nl.datasteel.crudcraft.codegen.descriptor.field.part.SearchOptions
-
Immutable constructor for SearchOptions.
- SearchOptionsExtractor - Class in nl.datasteel.crudcraft.codegen.reader.field
-
Extracts
SearchOptions
for a field. - SearchOptionsExtractor() - Constructor for class nl.datasteel.crudcraft.codegen.reader.field.SearchOptionsExtractor
- SearchPathUtil - Class in nl.datasteel.crudcraft.codegen.writer.search
-
Utility for converting between dotted paths and DTO properties.
- searchRef(SearchRequest<T>, Pageable) - Method in class nl.datasteel.crudcraft.runtime.service.AbstractCrudService
-
Retrieve a paginated list of reference DTO projections, optionally filtered by a search request.
- searchRef(SearchRequest<T>, Pageable) - Method in interface nl.datasteel.crudcraft.runtime.service.CrudService
-
Execute a typed search returning reference DTOs.
- SearchRequest<T> - Interface in nl.datasteel.crudcraft.runtime.search
-
Marker interface for generated search request objects that can produce a QueryDSL
Predicate
for searching, while still supporting a JPASpecification
. - SearchStrictHeader - Class in nl.datasteel.crudcraft.codegen.fileheader
-
Header for files in the Search package that should not be edited.
- secure() - Element in annotation interface nl.datasteel.crudcraft.annotations.classes.CrudCrafted
-
Toggle table/endpoint security.
- secure() - Method in record class nl.datasteel.crudcraft.codegen.descriptor.model.part.ModelSecurity
-
Returns the value of the
secure
record component. - SECURE_INTERNAL - Enum constant in enum class nl.datasteel.crudcraft.annotations.CrudTemplate
-
All except bulk and export style endpoints.
- Security - Record Class in nl.datasteel.crudcraft.codegen.descriptor.field.part
-
Field level security configuration.
- Security(boolean, String[], String[]) - Constructor for record class nl.datasteel.crudcraft.codegen.descriptor.field.part.Security
-
Immutable constructor for Security.
- SecurityComponent - Class in nl.datasteel.crudcraft.codegen.writer.controller.method
-
Applies security annotations if a security policy is present.
- SecurityComponent() - Constructor for class nl.datasteel.crudcraft.codegen.writer.controller.method.SecurityComponent
- SecurityExtractor - Class in nl.datasteel.crudcraft.codegen.reader.field
-
Extracts
Security
configuration from a field. - SecurityExtractor() - Constructor for class nl.datasteel.crudcraft.codegen.reader.field.SecurityExtractor
- securityPolicy() - Element in annotation interface nl.datasteel.crudcraft.annotations.classes.CrudCrafted
-
The table-level security policy to use for generating @PreAuthorize expressions.
- securityPolicy() - Method in record class nl.datasteel.crudcraft.codegen.descriptor.model.part.ModelSecurity
-
Returns the value of the
securityPolicy
record component. - securityPolicy() - Method in record class nl.datasteel.crudcraft.codegen.writer.controller.method.ControllerMethodContext
-
Returns the value of the
securityPolicy
record component. - service - Variable in class nl.datasteel.crudcraft.runtime.controller.AbstractCrudController
-
The service that handles CRUD operations.
- ServiceGenerator - Class in nl.datasteel.crudcraft.codegen.writer.stubs
-
Generates a service stub for the given model descriptor, with hooks to fix and clear bidirectional links.
- ServiceGenerator() - Constructor for class nl.datasteel.crudcraft.codegen.writer.stubs.ServiceGenerator
- setData(T) - Method in class nl.datasteel.crudcraft.runtime.Identified
- setDeleted(boolean) - Method in class nl.datasteel.crudcraft.runtime.extensions.SoftDeleteExtension
-
Sets the deleted status of the entity.
- setDepth(int) - Method in class nl.datasteel.crudcraft.runtime.config.CrudCraftSearchProperties
-
Sets the depth for search operations.
- setEngine(ProjectionProperties.Engine) - Method in class nl.datasteel.crudcraft.projection.config.ProjectionProperties
-
Sets the projection engine to use.
- setId(ID) - Method in class nl.datasteel.crudcraft.runtime.Identified
- setter(String, TypeName) - Static method in class nl.datasteel.crudcraft.codegen.writer.search.SearchAccessorUtil
-
Generates a setter method for a given field name and type.
- SimpleProjectionMetadataRegistry - Class in nl.datasteel.crudcraft.projection.mapping
-
Simple in-memory registry for projection metadata.
- SimpleProjectionMetadataRegistry() - Constructor for class nl.datasteel.crudcraft.projection.mapping.SimpleProjectionMetadataRegistry
- singularize(String) - Static method in class nl.datasteel.crudcraft.codegen.util.Pluralizer
-
Returns a singular form of the given word using a small subset of English singularization rules.
- size() - Static method in class nl.datasteel.crudcraft.codegen.writer.search.OperatorSpecRegistry
-
Returns ContainsOperatorSpec for operators that involve size checks.
- size() - Method in record class nl.datasteel.crudcraft.runtime.controller.response.PaginatedResponse
-
Returns the value of the
size
record component. - SIZE_EQUALS - Enum constant in enum class nl.datasteel.crudcraft.annotations.SearchOperator
-
Represents a check for size equality with a specified value.
- SIZE_GT - Enum constant in enum class nl.datasteel.crudcraft.annotations.SearchOperator
-
Represents a check for size greater than a specified value.
- SIZE_LT - Enum constant in enum class nl.datasteel.crudcraft.annotations.SearchOperator
-
Represents a check for a size lower than a specified value.
- SizeEqualsPredicateGenerator - Class in nl.datasteel.crudcraft.codegen.writer.search
-
Generates a predicate for checking if the size of a collection field is equal to a specified value in a search request.
- SizeEqualsPredicateGenerator() - Constructor for class nl.datasteel.crudcraft.codegen.writer.search.SizeEqualsPredicateGenerator
- SizeGtPredicateGenerator - Class in nl.datasteel.crudcraft.codegen.writer.search
-
Generates a predicate for checking if the size of a collection field is greater than a specified value in a search request.
- SizeGtPredicateGenerator() - Constructor for class nl.datasteel.crudcraft.codegen.writer.search.SizeGtPredicateGenerator
- SizeLtPredicateGenerator - Class in nl.datasteel.crudcraft.codegen.writer.search
-
Generates a predicate for checking if the size of a collection field is less than a specified value in a search request.
- SizeLtPredicateGenerator() - Constructor for class nl.datasteel.crudcraft.codegen.writer.search.SizeLtPredicateGenerator
- SizeOperatorSpec - Class in nl.datasteel.crudcraft.codegen.writer.search
-
Handles size operators in search requests, such as greater than, less than, and size equality.
- SizeOperatorSpec() - Constructor for class nl.datasteel.crudcraft.codegen.writer.search.SizeOperatorSpec
- SKIP_ON_DENIED - Enum constant in enum class nl.datasteel.crudcraft.annotations.security.WritePolicy
-
Leave the field value untouched when write access is denied.
- SNAKE - Enum constant in enum class nl.datasteel.crudcraft.codegen.util.StringCase
-
snake_case style.
- snapshotOf(WriteContext) - Static method in class nl.datasteel.crudcraft.codegen.writer.WriteContext
-
Creates a snapshot of the current context.
- softDeleteExtension - Static variable in class nl.datasteel.crudcraft.runtime.extensions.QSoftDeleteExtension
- SoftDeleteExtension - Class in nl.datasteel.crudcraft.runtime.extensions
-
SoftDeleteExtension is an embeddable class that provides soft delete functionality for entities, allowing them to be marked as deleted without being physically removed from the database.
- SoftDeleteExtension() - Constructor for class nl.datasteel.crudcraft.runtime.extensions.SoftDeleteExtension
- spec() - Method in record class nl.datasteel.crudcraft.codegen.writer.controller.method.ControllerMethodContext
-
Returns the value of the
spec
record component. - STARTS_WITH - Enum constant in enum class nl.datasteel.crudcraft.annotations.SearchOperator
-
Represents a check for values that start with a specified prefix.
- StartsWithPredicateGenerator - Class in nl.datasteel.crudcraft.codegen.writer.search
-
Generates a predicate for checking if a string field starts with a given value.
- StartsWithPredicateGenerator() - Constructor for class nl.datasteel.crudcraft.codegen.writer.search.StartsWithPredicateGenerator
- status() - Method in record class nl.datasteel.crudcraft.runtime.controller.response.ErrorResponse
-
Returns the value of the
status
record component. - streamCsv(Iterator<R>, OutputStream) - Static method in class nl.datasteel.crudcraft.runtime.util.ExportUtil
-
Streams a list of DTOs to a CSV file.
- streamJson(Iterator<R>, OutputStream) - Static method in class nl.datasteel.crudcraft.runtime.util.ExportUtil
-
Streams a list of DTOs to a JSON array.
- streamXlsx(Iterator<R>, OutputStream) - Static method in class nl.datasteel.crudcraft.runtime.util.ExportUtil
-
Streams a list of DTOs to an XLSX file.
- strictHeader(String, String, String) - Static method in class nl.datasteel.crudcraft.codegen.fileheader.AbstractFileHeader
-
Generates a strict header for model classes that should not be edited.
- strictHeader(String, String, String, String) - Static method in class nl.datasteel.crudcraft.codegen.fileheader.AbstractFileHeader
-
Generates a strict header for model classes that should not be edited, with an extra paragraph.
- strictHeader(String, String, String, String, String) - Static method in class nl.datasteel.crudcraft.codegen.fileheader.AbstractFileHeader
-
Generates a strict header for model classes that should not be edited, with an extra paragraph and features.
- StringCase - Enum Class in nl.datasteel.crudcraft.codegen.util
-
Utility for transforming strings into a specific casing style.
- StubGenerator - Interface in nl.datasteel.crudcraft.codegen.writer.stubs
-
Specialized generator for editable/non-editable stubs.
- StubGeneratorUtil - Class in nl.datasteel.crudcraft.codegen.util
-
Helper for deriving common package, class and header information for stub generators.
- StubGeneratorUtil.StubMeta - Record Class in nl.datasteel.crudcraft.codegen.util
-
Simple record holding stub metadata.
- stubMeta(ModelDescriptor, String, String, String, Class<?>) - Static method in class nl.datasteel.crudcraft.codegen.util.StubGeneratorUtil
-
Derives package name, class name and header text for a stub generator.
- StubMeta(String, String, String) - Constructor for record class nl.datasteel.crudcraft.codegen.util.StubGeneratorUtil.StubMeta
-
Creates an instance of a
StubMeta
record class. - supports(ProjectionQuery<?>) - Method in interface nl.datasteel.crudcraft.projection.api.ProjectionExecutorProvider
-
Determine whether this provider can handle the supplied query.
- supports(ProjectionQuery<?>) - Method in class nl.datasteel.crudcraft.projection.impl.jpa.JpaProjectionExecutorProvider
-
Checks if the given
ProjectionQuery
can be handled by this provider. - supports(ProjectionQuery<?>) - Method in class nl.datasteel.crudcraft.projection.impl.querydsl.QuerydslProjectionExecutorProvider
-
Checks if the given
ProjectionQuery
can be handled by this provider.
T
- targetCrud() - Method in record class nl.datasteel.crudcraft.codegen.descriptor.field.part.Relationship
-
Returns the value of the
targetCrud
record component. - targetType() - Method in record class nl.datasteel.crudcraft.codegen.descriptor.field.part.Relationship
-
Returns the value of the
targetType
record component. - template() - Element in annotation interface nl.datasteel.crudcraft.annotations.classes.CrudCrafted
-
The CrudTemplate to use for generating endpoints.
- template() - Method in record class nl.datasteel.crudcraft.codegen.descriptor.model.part.EndpointOptions
-
Returns the value of the
template
record component. - TemplateUtil - Class in nl.datasteel.crudcraft.codegen.writer
-
Utility helpers for common annotation templates used by writers.
- timestamp() - Method in record class nl.datasteel.crudcraft.runtime.controller.response.ErrorResponse
-
Returns the value of the
timestamp
record component. - TIMESTAMP - Static variable in class nl.datasteel.crudcraft.codegen.fileheader.AbstractFileHeader
-
Timestamp of when the file was generated, formatted in ISO 8601.
- toCsv(List<R>) - Static method in class nl.datasteel.crudcraft.runtime.util.ExportUtil
-
Exports a list of DTOs to a CSV file.
- toJson(List<R>) - Static method in class nl.datasteel.crudcraft.runtime.util.ExportUtil
-
Exports a list of DTOs to a JSON array.
- TooManyRequestsException - Exception Class in nl.datasteel.crudcraft.runtime.exception
-
429 Too Many Requests - rate limiting exceeded.
- TooManyRequestsException(String) - Constructor for exception class nl.datasteel.crudcraft.runtime.exception.TooManyRequestsException
-
Constructs a TooManyRequestsException with a default message.
- toPredicate() - Method in interface nl.datasteel.crudcraft.runtime.search.SearchRequest
-
Returns a QueryDSL predicate representing the search criteria.
- toProperty(String) - Static method in class nl.datasteel.crudcraft.codegen.writer.search.SearchPathUtil
-
Converts a dotted path (e.g., "parent.child") to a DTO property name (e.g., "parentChild").
- toRef(T) - Method in interface nl.datasteel.crudcraft.runtime.mapper.EntityMapper
-
Instantiate and populate a reference DTO from the entity.
- toResponse(T) - Method in interface nl.datasteel.crudcraft.runtime.mapper.EntityMapper
-
Instantiate and populate a full response DTO from the entity.
- toSpecification() - Method in interface nl.datasteel.crudcraft.runtime.search.SearchRequest
-
Returns a JPA specification representing the search criteria.
- toString() - Method in class nl.datasteel.crudcraft.codegen.descriptor.field.FieldDescriptor
-
Returns a string representation of the FieldDescriptor.
- toString() - Method in record class nl.datasteel.crudcraft.codegen.descriptor.field.part.DtoOptions
-
Returns a string representation of this record class.
- toString() - Method in record class nl.datasteel.crudcraft.codegen.descriptor.field.part.EnumOptions
-
Returns a string representation of this record class.
- toString() - Method in record class nl.datasteel.crudcraft.codegen.descriptor.field.part.Identity
-
Returns a string representation of this record class.
- toString() - Method in record class nl.datasteel.crudcraft.codegen.descriptor.field.part.Relationship
-
Returns a string representation of this record class.
- toString() - Method in record class nl.datasteel.crudcraft.codegen.descriptor.field.part.SearchOptions
-
Returns a string representation of this record class.
- toString() - Method in record class nl.datasteel.crudcraft.codegen.descriptor.field.part.Security
-
Returns a string representation of the Security object.
- toString() - Method in record class nl.datasteel.crudcraft.codegen.descriptor.field.part.Validation
-
Returns a string representation of this record class.
- toString() - Method in class nl.datasteel.crudcraft.codegen.descriptor.model.ModelDescriptor
-
Returns a string representation of the ModelDescriptor.
- toString() - Method in record class nl.datasteel.crudcraft.codegen.descriptor.model.part.EndpointOptions
-
Returns a string representation of the EndpointOptions.
- toString() - Method in record class nl.datasteel.crudcraft.codegen.descriptor.model.part.ModelFlags
-
Returns a string representation of this record class.
- toString() - Method in record class nl.datasteel.crudcraft.codegen.descriptor.model.part.ModelIdentity
-
Returns a string representation of this record class.
- toString() - Method in record class nl.datasteel.crudcraft.codegen.descriptor.model.part.ModelSecurity
-
Returns a string representation of this record class.
- toString() - Method in record class nl.datasteel.crudcraft.codegen.util.StubGeneratorUtil.StubMeta
-
Returns a string representation of this record class.
- toString() - Method in record class nl.datasteel.crudcraft.codegen.writer.controller.EndpointSpec
-
Returns a string representation of this record class.
- toString() - Method in record class nl.datasteel.crudcraft.codegen.writer.controller.method.ControllerMethodContext
-
Returns a string representation of this record class.
- toString() - Method in record class nl.datasteel.crudcraft.codegen.writer.search.PropertySpec
-
Returns a string representation of this record class.
- toString() - Method in record class nl.datasteel.crudcraft.codegen.writer.search.SearchField
-
Returns a string representation of this record class.
- toString() - Method in record class nl.datasteel.crudcraft.projection.api.ProjectionQuery
-
Returns a string representation of this record class.
- toString() - Method in record class nl.datasteel.crudcraft.projection.api.ProjectionResult
-
Returns a string representation of this record class.
- toString() - Method in record class nl.datasteel.crudcraft.projection.impl.CollectionHydrator.FetchResult
-
Returns a string representation of this record class.
- toString() - Method in record class nl.datasteel.crudcraft.projection.mapping.ProjectionFieldResolver.FieldMapping
-
Returns a string representation of this record class.
- toString() - Method in record class nl.datasteel.crudcraft.runtime.controller.response.ErrorResponse
-
Returns a string representation of this record class.
- toString() - Method in record class nl.datasteel.crudcraft.runtime.controller.response.PaginatedResponse
-
Returns a string representation of this record class.
- totalElements() - Method in record class nl.datasteel.crudcraft.projection.api.ProjectionResult
-
Returns the value of the
totalElements
record component. - totalElements() - Method in record class nl.datasteel.crudcraft.runtime.controller.response.PaginatedResponse
-
Returns the value of the
totalElements
record component. - totalPages() - Method in record class nl.datasteel.crudcraft.runtime.controller.response.PaginatedResponse
-
Returns the value of the
totalPages
record component. - toXlsx(List<R>) - Static method in class nl.datasteel.crudcraft.runtime.util.ExportUtil
-
Exports a list of DTOs to an XLSX file.
- type() - Method in record class nl.datasteel.crudcraft.codegen.descriptor.field.part.Identity
-
Returns the value of the
type
record component. - TypeUtils - Class in nl.datasteel.crudcraft.codegen.util
-
Utility class for handling type-related operations in the code generation process.
U
- UnauthorizedException - Exception Class in nl.datasteel.crudcraft.runtime.exception
-
401 Unauthorized - user must authenticate.
- UnauthorizedException(String) - Constructor for exception class nl.datasteel.crudcraft.runtime.exception.UnauthorizedException
-
Constructs an UnauthorizedException with a default message.
- unwrapGeneric(TypeMirror, Messager) - Static method in class nl.datasteel.crudcraft.codegen.util.TypeUtils
-
Unwraps the generic type from a TypeMirror if applicable, if not returns string name of the fieldType.
- update(ID, U) - Method in class nl.datasteel.crudcraft.runtime.service.AbstractCrudService
-
Update an existing entity by ID, invoking pre-/post-update hooks.
- update(ID, U) - Method in interface nl.datasteel.crudcraft.runtime.service.CrudService
-
Update an existing entity by ID from the DTO.
- update(ID, U) - Method in class nl.datasteel.crudcraft.runtime.controller.AbstractCrudController
-
Full update.
- update(T, U) - Method in interface nl.datasteel.crudcraft.runtime.mapper.EntityMapper
-
Copy all properties from the DTO into an existing entity.
- updateAll(List<Identified<ID, U>>) - Method in class nl.datasteel.crudcraft.runtime.controller.AbstractCrudController
-
Bulk update.
- updateAll(List<Identified<ID, U>>) - Method in class nl.datasteel.crudcraft.runtime.service.AbstractCrudService
-
Bulk update entities by their IDs.
- updateAll(List<Identified<ID, U>>) - Method in interface nl.datasteel.crudcraft.runtime.service.CrudService
-
Bulk update from a collection of DTOs.
- updatedAt - Variable in class nl.datasteel.crudcraft.runtime.extensions.QAuditableExtension
- UpdateEndpoint - Class in nl.datasteel.crudcraft.codegen.writer.controller.endpoints
- UpdateEndpoint() - Constructor for class nl.datasteel.crudcraft.codegen.writer.controller.endpoints.UpdateEndpoint
- UPPER_SNAKE - Enum constant in enum class nl.datasteel.crudcraft.codegen.util.StringCase
-
UPPER_SNAKE_CASE style.
- upsert(U) - Method in class nl.datasteel.crudcraft.runtime.service.AbstractCrudService
-
Create or update an entity based on presence/existence of ID in request (UPSERT).
- upsert(U) - Method in interface nl.datasteel.crudcraft.runtime.service.CrudService
-
Create or update (upsert) based on presence/existence of ID in DTO.
- upsertAll(Collection<U>) - Method in class nl.datasteel.crudcraft.runtime.controller.AbstractCrudController
-
Bulk upsert.
- upsertAll(Collection<U>) - Method in class nl.datasteel.crudcraft.runtime.service.AbstractCrudService
-
Bulk upsert: create or update for each request in the batch.
- upsertAll(Collection<U>) - Method in interface nl.datasteel.crudcraft.runtime.service.CrudService
-
Bulk upsert from a collection of DTOs.
V
- validate(U) - Method in class nl.datasteel.crudcraft.runtime.controller.AbstractCrudController
-
Validate an upsert request body without persisting.
- VALIDATE - Enum constant in enum class nl.datasteel.crudcraft.annotations.CrudEndpoint
-
Validates a resource without creating or updating it.
- ValidateEndpoint - Class in nl.datasteel.crudcraft.codegen.writer.controller.endpoints
- ValidateEndpoint() - Constructor for class nl.datasteel.crudcraft.codegen.writer.controller.endpoints.ValidateEndpoint
- Validation - Record Class in nl.datasteel.crudcraft.codegen.descriptor.field.part
-
Bean validation annotations present on a field.
- Validation(List<AnnotationSpec>) - Constructor for record class nl.datasteel.crudcraft.codegen.descriptor.field.part.Validation
-
Immutable constructor for Validation.
- VALIDATION_ONLY - Enum constant in enum class nl.datasteel.crudcraft.annotations.CrudTemplate
-
Only validate endpoint.
- ValidationExtractor - Class in nl.datasteel.crudcraft.codegen.reader.field
-
Extracts bean validation annotations from a field.
- ValidationExtractor() - Constructor for class nl.datasteel.crudcraft.codegen.reader.field.ValidationExtractor
- validations() - Method in record class nl.datasteel.crudcraft.codegen.descriptor.field.part.Validation
-
Safe, defensive accessor for validations.
- value() - Element in annotation interface nl.datasteel.crudcraft.annotations.fields.Dto
-
Names of additional response DTO variants this field should appear on.
- value() - Element in annotation interface nl.datasteel.crudcraft.annotations.fields.ProjectionField
-
The projection path to use for the annotated field.
- value() - Static method in class nl.datasteel.crudcraft.codegen.writer.search.OperatorSpecRegistry
-
Returns ValueOperatorSpec for operators that involve value checks.
- valueOf(String) - Static method in enum class nl.datasteel.crudcraft.annotations.CrudEndpoint
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class nl.datasteel.crudcraft.annotations.CrudTemplate
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class nl.datasteel.crudcraft.annotations.SearchOperator
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class nl.datasteel.crudcraft.annotations.security.WritePolicy
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class nl.datasteel.crudcraft.codegen.descriptor.RelationshipType
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class nl.datasteel.crudcraft.codegen.util.StringCase
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class nl.datasteel.crudcraft.codegen.writer.DtoType
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class nl.datasteel.crudcraft.projection.config.ProjectionProperties.Engine
-
Returns the enum constant of this class with the specified name.
- ValueOperatorSpec - Class in nl.datasteel.crudcraft.codegen.writer.search
-
Handles value operators in search requests, such as equality and inequality.
- ValueOperatorSpec() - Constructor for class nl.datasteel.crudcraft.codegen.writer.search.ValueOperatorSpec
- values() - Static method in enum class nl.datasteel.crudcraft.annotations.CrudEndpoint
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class nl.datasteel.crudcraft.annotations.CrudTemplate
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Element in annotation interface nl.datasteel.crudcraft.annotations.fields.EnumString
-
The values that are allowed for this field.
- values() - Static method in enum class nl.datasteel.crudcraft.annotations.SearchOperator
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class nl.datasteel.crudcraft.annotations.security.WritePolicy
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Method in record class nl.datasteel.crudcraft.codegen.descriptor.field.part.EnumOptions
-
Safe, defensive accessor for values.
- values() - Static method in enum class nl.datasteel.crudcraft.codegen.descriptor.RelationshipType
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class nl.datasteel.crudcraft.codegen.util.StringCase
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class nl.datasteel.crudcraft.codegen.writer.DtoType
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class nl.datasteel.crudcraft.projection.config.ProjectionProperties.Engine
-
Returns an array containing the constants of this enum class, in the order they are declared.
- VERSION - Static variable in class nl.datasteel.crudcraft.codegen.fileheader.AbstractFileHeader
-
Version of CrudCraft used to generate the file.
W
- write(JavaFile) - Method in class nl.datasteel.crudcraft.codegen.writer.WriteContext
-
Writes a JavaFile to the file system, handling any IO exceptions.
- write(ModelDescriptor, WriteContext) - Method in interface nl.datasteel.crudcraft.codegen.writer.Generator
-
Writes the generated files using the provided context.
- write(ModelDescriptor, WriteContext) - Method in class nl.datasteel.crudcraft.codegen.writer.stubs.ControllerGenerator
- write(ModelDescriptor, WriteContext) - Method in interface nl.datasteel.crudcraft.codegen.writer.stubs.StubGenerator
-
Writes the generated stub files to the context.
- writeAll(ModelDescriptor, WriteContext) - Static method in class nl.datasteel.crudcraft.codegen.writer.WriterRegistry
-
Dispatches generation for the given model descriptor.
- WriteContext - Class in nl.datasteel.crudcraft.codegen.writer
-
Shared context for writer components.
- WriteContext(ProcessingEnvironment) - Constructor for class nl.datasteel.crudcraft.codegen.writer.WriteContext
-
Constructs a WriteContext with the given processing environment.
- WriteContext(WriteContext) - Constructor for class nl.datasteel.crudcraft.codegen.writer.WriteContext
-
Creates a deep/shallow copy of the context.
- writeJavaFile(JavaFile, Filer, Messager) - Static method in class nl.datasteel.crudcraft.codegen.util.FilerUtils
-
Writes the given
JavaFile
using the suppliedFiler
. - WriteOnlySecurityPolicy - Class in nl.datasteel.crudcraft.annotations.security.policy
-
Allows modification endpoints but denies read access.
- WriteOnlySecurityPolicy() - Constructor for class nl.datasteel.crudcraft.annotations.security.policy.WriteOnlySecurityPolicy
- writePolicy() - Element in annotation interface nl.datasteel.crudcraft.annotations.security.FieldSecurity
-
Policy applied when write access is denied.
- WritePolicy - Enum Class in nl.datasteel.crudcraft.annotations.security
-
Behavior when write access is denied for a field.
- writeRoles() - Element in annotation interface nl.datasteel.crudcraft.annotations.security.FieldSecurity
-
Roles allowed to write the field.
- writeRoles() - Method in record class nl.datasteel.crudcraft.codegen.descriptor.field.part.Security
-
Safe, defensive accessor for write roles.
- WriterRegistry - Class in nl.datasteel.crudcraft.codegen.writer
-
Central registry for writer components.
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form