Uses of Enum Class
nl.datasteel.crudcraft.annotations.CrudEndpoint
Packages that use CrudEndpoint
Package
Description
-
Uses of CrudEndpoint in nl.datasteel.crudcraft.annotations
Methods in nl.datasteel.crudcraft.annotations that return CrudEndpointModifier and TypeMethodDescriptionstatic CrudEndpointReturns the enum constant of this class with the specified name.static CrudEndpoint[]CrudEndpoint.values()Returns an array containing the constants of this enum class, in the order they are declared.Methods in nl.datasteel.crudcraft.annotations that return types with arguments of type CrudEndpointModifier and TypeMethodDescriptionCrudTemplate.getEffectiveEndpoints(Set<CrudEndpoint> omitted, Set<CrudEndpoint> included) Return the complete set of endpoints that are effective when adding and removing other endpoints from the template.CrudEndpointPolicy.resolveEndpoints()Resolves a set of CRUD endpoints based on the policy's criteria.CrudTemplate.resolveEndpoints()Returns the endpoints defined by this template.Method parameters in nl.datasteel.crudcraft.annotations with type arguments of type CrudEndpointModifier and TypeMethodDescriptionCrudTemplate.getEffectiveEndpoints(Set<CrudEndpoint> omitted, Set<CrudEndpoint> included) Return the complete set of endpoints that are effective when adding and removing other endpoints from the template. -
Uses of CrudEndpoint in nl.datasteel.crudcraft.annotations.security
Methods in nl.datasteel.crudcraft.annotations.security with parameters of type CrudEndpointModifier and TypeMethodDescriptionCrudSecurityPolicy.getSecurityExpression(CrudEndpoint endpoint) Resolve the security expression for the given endpoint. -
Uses of CrudEndpoint in nl.datasteel.crudcraft.annotations.security.policy
Methods in nl.datasteel.crudcraft.annotations.security.policy with parameters of type CrudEndpointModifier and TypeMethodDescriptionAdminOnlySecurityPolicy.getSecurityExpression(CrudEndpoint endpoint) AuthenticatedSecurityPolicy.getSecurityExpression(CrudEndpoint endpoint) DenyAllSecurityPolicy.getSecurityExpression(CrudEndpoint endpoint) PermitAllSecurityPolicy.getSecurityExpression(CrudEndpoint endpoint) ReadPublicWriteAdminPolicy.getSecurityExpression(CrudEndpoint endpoint) RoleBasedCrudSecurityPolicy.getSecurityExpression(CrudEndpoint endpoint) Retrieves the role required for a specific CRUD endpoint.final StringWriteOnlySecurityPolicy.getSecurityExpression(CrudEndpoint endpoint) Constructor parameters in nl.datasteel.crudcraft.annotations.security.policy with type arguments of type CrudEndpointModifierConstructorDescriptionConstructs a policy with specific roles for each CRUD endpoint. -
Uses of CrudEndpoint in nl.datasteel.crudcraft.codegen.descriptor.model
Methods in nl.datasteel.crudcraft.codegen.descriptor.model that return CrudEndpointModifier and TypeMethodDescriptionModelDescriptor.getIncludeEndpoints()Returns the endpoints that should be included during controller generation.ModelDescriptor.getOmitEndpoints()Returns the endpoints that should be omitted during controller generation. -
Uses of CrudEndpoint in nl.datasteel.crudcraft.codegen.descriptor.model.part
Methods in nl.datasteel.crudcraft.codegen.descriptor.model.part that return CrudEndpointModifier and TypeMethodDescriptionEndpointOptions.getIncludeEndpoints()Returns the endpoints that should be explicitly included for this model.EndpointOptions.getOmitEndpoints()Returns the endpoints that should be omitted for this model.EndpointOptions.includeEndpoints()Safe, defensive accessor for includeEndpoints.EndpointOptions.omitEndpoints()Safe, defensive accessor for omitEndpoints.Constructors in nl.datasteel.crudcraft.codegen.descriptor.model.part with parameters of type CrudEndpointModifierConstructorDescriptionEndpointOptions(CrudTemplate template, CrudEndpoint[] omitEndpoints, CrudEndpoint[] includeEndpoints, Class<? extends CrudEndpointPolicy> endpointPolicy) Immutable constructor for EndpointOptions. -
Uses of CrudEndpoint in nl.datasteel.crudcraft.codegen.util
Method parameters in nl.datasteel.crudcraft.codegen.util with type arguments of type CrudEndpointModifier and TypeMethodDescriptionstatic voidControllerSecurityUtil.applySecurity(ProcessingEnvironment env, com.squareup.javapoet.TypeSpec.Builder builder, Set<CrudEndpoint> allowed, ModelDescriptor modelDescriptor) Adds security annotations to the generated controller methods based on the providedCrudSecurityPolicyand allowed endpoints. -
Uses of CrudEndpoint in nl.datasteel.crudcraft.codegen.writer.controller
Methods in nl.datasteel.crudcraft.codegen.writer.controller that return CrudEndpointModifier and TypeMethodDescriptionEndpointSpec.endpoint()Returns the value of theendpointrecord component.Methods in nl.datasteel.crudcraft.codegen.writer.controller that return types with arguments of type CrudEndpointModifier and TypeMethodDescriptionstatic Map<CrudEndpoint, EndpointSpec> ControllerEndpoints.defaults(ModelDescriptor modelDescriptor) Constructors in nl.datasteel.crudcraft.codegen.writer.controller with parameters of type CrudEndpointModifierConstructorDescriptionEndpointSpec(CrudEndpoint endpoint, String methodName, Function<ModelDescriptor, com.squareup.javapoet.AnnotationSpec> mapping, Function<ModelDescriptor, com.squareup.javapoet.TypeName> returnType, List<Function<ModelDescriptor, com.squareup.javapoet.ParameterSpec>> params, BiConsumer<com.squareup.javapoet.MethodSpec.Builder, ModelDescriptor> body) Creates an instance of aEndpointSpecrecord class. -
Uses of CrudEndpoint in nl.datasteel.crudcraft.codegen.writer.controller.endpoints
Methods in nl.datasteel.crudcraft.codegen.writer.controller.endpoints that return CrudEndpointModifier and TypeMethodDescriptionBulkCreateEndpoint.endpoint()BulkDeleteEndpoint.endpoint()BulkFindByIdsEndpoint.endpoint()BulkPatchEndpoint.endpoint()BulkUpdateEndpoint.endpoint()BulkUpsertEndpoint.endpoint()CountEndpoint.endpoint()CreateEndpoint.endpoint()DeleteEndpoint.endpoint()EndpointSpecProvider.endpoint()ExistsEndpoint.endpoint()ExportEndpoint.endpoint()GetAllEndpoint.endpoint()GetAllRefEndpoint.endpoint()GetOneEndpoint.endpoint()PatchEndpoint.endpoint()SearchEndpoint.endpoint()UpdateEndpoint.endpoint()ValidateEndpoint.endpoint() -
Uses of CrudEndpoint in nl.datasteel.crudcraft.codegen.writer.controller.method
Methods in nl.datasteel.crudcraft.codegen.writer.controller.method that return CrudEndpoint