Index
All Classes and Interfaces|All Packages|Serialized Form
C
- com.mewebstudio.springboot.jpa.slug - package com.mewebstudio.springboot.jpa.slug
- configureSlugSupport() - Method in class com.mewebstudio.springboot.jpa.slug.SlugAutoConfiguration
-
Initializes slug generation support after the application context is loaded.
D
- DefaultSlugGenerator - Class in com.mewebstudio.springboot.jpa.slug
-
Default implementation of the
ISlugGeneratorinterface that generates slugs by transforming the input string to a standardized format. - DefaultSlugGenerator() - Constructor for class com.mewebstudio.springboot.jpa.slug.DefaultSlugGenerator
-
Constructs a new
DefaultSlugGenerator.
E
- EnableSlug - Annotation Interface in com.mewebstudio.springboot.jpa.slug
-
@EnableSlugis a configuration annotation that enables automatic slug generation in a Spring Boot application.
G
- generate(String) - Method in class com.mewebstudio.springboot.jpa.slug.DefaultSlugGenerator
-
Generates a slug from the given input string.
- generate(String) - Method in interface com.mewebstudio.springboot.jpa.slug.ISlugGenerator
-
Generates a slug from the given input string.
- generate(String) - Static method in class com.mewebstudio.springboot.jpa.slug.SlugUtil
-
Converts the input string into a slug using the globally set
ISlugGenerator. - generateSlug(Object, String) - Method in interface com.mewebstudio.springboot.jpa.slug.SlugProvider
-
Generates a slug for the given entity using the provided base slug.
- generator() - Element in annotation interface com.mewebstudio.springboot.jpa.slug.EnableSlug
-
Specifies the custom slug generator class to use.
- getGenerator() - Static method in class com.mewebstudio.springboot.jpa.slug.SlugUtil
-
Retrieves the currently set
ISlugGenerator. - getId() - Method in interface com.mewebstudio.springboot.jpa.slug.ISlugSupport
-
Returns the unique identifier of the entity.
- getSlug() - Method in interface com.mewebstudio.springboot.jpa.slug.ISlugSupport
-
Returns the current slug value of the entity.
- getSlugProvider() - Static method in class com.mewebstudio.springboot.jpa.slug.SlugRegistry
-
Retrieves the currently set
SlugProvider.
H
- handle(Object) - Method in class com.mewebstudio.springboot.jpa.slug.SlugListener
-
JPA callback method invoked before persist or update operations.
I
- ISlugGenerator - Interface in com.mewebstudio.springboot.jpa.slug
-
Strategy interface for generating slugs from input strings.
- ISlugSupport<ID> - Interface in com.mewebstudio.springboot.jpa.slug
-
Interface to be implemented by entities that support slugs.
S
- setGenerator(ISlugGenerator) - Static method in class com.mewebstudio.springboot.jpa.slug.SlugUtil
-
Sets the
ISlugGeneratorto be used globally for slug generation. - setSlug(String) - Method in interface com.mewebstudio.springboot.jpa.slug.ISlugSupport
-
Sets the slug value of the entity.
- setSlugProvider(SlugProvider) - Static method in class com.mewebstudio.springboot.jpa.slug.SlugRegistry
-
Sets the
SlugProviderto be used globally for slug generation. - SlugAutoConfiguration - Class in com.mewebstudio.springboot.jpa.slug
-
Auto-configuration class for enabling slug generation in JPA entities.
- SlugAutoConfiguration(ApplicationContext, PlatformTransactionManager) - Constructor for class com.mewebstudio.springboot.jpa.slug.SlugAutoConfiguration
-
Constructs the slug auto-configuration with required dependencies.
- slugExists(Class<?>, String, String) - Method in class com.mewebstudio.springboot.jpa.slug.SlugAutoConfiguration
-
Checks whether a given slug already exists in the database for the specified entity type.
- SlugField - Annotation Interface in com.mewebstudio.springboot.jpa.slug
-
Annotation to mark a field in a class that should be processed for slug generation.
- SlugListener - Class in com.mewebstudio.springboot.jpa.slug
-
JPA entity listener for generating and updating slugs on entities that implement the
ISlugSupportinterface. - SlugListener() - Constructor for class com.mewebstudio.springboot.jpa.slug.SlugListener
-
Default constructor for SlugListener.
- SlugOperationException - Exception in com.mewebstudio.springboot.jpa.slug
-
Exception thrown when an error occurs during slug generation or slug-related operations.
- SlugOperationException() - Constructor for exception com.mewebstudio.springboot.jpa.slug.SlugOperationException
-
Default constructor that initializes the exception with a default error message.
- SlugOperationException(String) - Constructor for exception com.mewebstudio.springboot.jpa.slug.SlugOperationException
-
Constructor that initializes the exception with a specific error message.
- SlugOperationException(String, Exception) - Constructor for exception com.mewebstudio.springboot.jpa.slug.SlugOperationException
-
Constructor that initializes the exception with a specific error message and a cause.
- SlugProvider - Interface in com.mewebstudio.springboot.jpa.slug
-
Interface to be implemented by custom slug generators.
- SlugRegistry - Class in com.mewebstudio.springboot.jpa.slug
-
Registry for managing the global
SlugProvider. - SlugUtil - Class in com.mewebstudio.springboot.jpa.slug
-
Utility class for handling slug generation operations.
All Classes and Interfaces|All Packages|Serialized Form