Interface ISlugSupport
-
- All Implemented Interfaces:
public interface ISlugSupport<ID extends Object>Interface to be implemented by entities that support slugs.
This interface defines the contract for entities that require a slug field, typically for use in SEO-friendly URLs or human-readable identifiers.
Implementing this interface allows the slug generation mechanism (e.g., via ISlugGenerator) to interact with the entity's identifier and slug field in a consistent way.
Usage example:
<pre>{@code