public interface UrlSupporting<D>
Modifier and Type | Field and Description |
---|---|
static SessionAspectType<UrlSupporting> |
TYPE
Aspect providing means to support URLs for data objects.
|
Modifier and Type | Method and Description |
---|---|
Optional<String> |
getUrl(UrlGenerationContext context,
D object)
Returns an URL string for the given object in the specified language,
if there is any.
|
static final SessionAspectType<UrlSupporting> TYPE
@NotNull Optional<String> getUrl(@NotNull UrlGenerationContext context, @NotNull D object)
context
- The context in which the URL is requested.object
- The object to get the URL for.Copyright © 2021 e-Spirit AG. All Rights Reserved. Build 5.2.210210