Package ch.tocco.nice2.dms.api.uri
Class UriConversionEntityInterceptorContext
java.lang.Object
ch.tocco.nice2.dms.api.uri.UriConversionEntityInterceptorContext
On each call of
Entity.getValue(String)
(and overloaded methods)
for HTML fields an entity interceptor is triggered to convert entity URIs to admin oder public URI.
In order to disable this conversion, interceptorDisabled
can be set to true within the
current thread.-
Nested Class Summary
-
Method Summary
Modifier and TypeMethodDescriptiondisabled()
enabled()
static boolean
static void
setInterceptorDisabled
(boolean disabled)
-
Method Details
-
isInterceptorDisabled
public static boolean isInterceptorDisabled() -
setInterceptorDisabled
public static void setInterceptorDisabled(boolean disabled) -
disabled
- Returns:
- an invoker to disable the URI conversion.
-
enabled
- Returns:
- an invoker to enable the URI conversion.
-