Uses of Interface
org.nuxeo.ecm.core.io.registry.context.RenderingContext
Package
Description
-
Uses of RenderingContext in org.nuxeo.ecm.core.io.marshallers.csv
Modifier and TypeFieldDescriptionprotected RenderingContext
AbstractCSVWriter.ctx
The currentRenderingContext
. -
Uses of RenderingContext in org.nuxeo.ecm.core.io.marshallers.json
Modifier and TypeFieldDescriptionprotected RenderingContext
AbstractJsonReader.ctx
The currentRenderingContext
.protected RenderingContext
AbstractJsonWriter.ctx
The currentRenderingContext
. -
Uses of RenderingContext in org.nuxeo.ecm.core.io.marshallers.json.document
Modifier and TypeMethodDescriptionprotected static boolean
DocumentPropertyJsonWriter.skipProperty
(RenderingContext ctx, Property property) -
Uses of RenderingContext in org.nuxeo.ecm.core.io.registry
Modifier and TypeMethodDescription<T> Collection<Marshaller<T>>
MarshallerRegistryImpl.getAllMarshallers
(RenderingContext ctx, Class<T> marshalledClazz, Type genericType, javax.ws.rs.core.MediaType mediatype, Set<MarshallerInspector> customs, Set<MarshallerInspector> wildcards) Returns the marshallers, in fact always enrichers, in their reverse priority order.<T> Collection<Reader<T>>
MarshallerRegistry.getAllReaders
(RenderingContext ctx, Class<T> marshalledClazz, Type genericType, javax.ws.rs.core.MediaType mediatype) Provides allReader
instance that manage marshalling of a mimetype in a Java Type.<T> Collection<Reader<T>>
MarshallerRegistryImpl.getAllReaders
(RenderingContext ctx, Class<T> marshalledClazz, Type genericType, javax.ws.rs.core.MediaType mediatype) <T> Collection<Writer<T>>
MarshallerRegistry.getAllWriters
(RenderingContext ctx, Class<T> marshalledClazz, Type genericType, javax.ws.rs.core.MediaType mediatype) Provides allWriter
instance that manage marshalling of the given Java Type and mimetype.<T> Collection<Writer<T>>
MarshallerRegistryImpl.getAllWriters
(RenderingContext ctx, Class<T> marshalledClazz, Type genericType, javax.ws.rs.core.MediaType mediatype) <T> T
MarshallerRegistry.getInstance
(RenderingContext ctx, Class<T> marshallerClass) Provides an instance of a given marshaller class.<T> T
MarshallerRegistryImpl.getInstance
(RenderingContext ctx, Class<T> marshallerClass) <T> Marshaller<T>
MarshallerRegistryImpl.getMarshaller
(RenderingContext ctx, Class<T> marshalledClazz, Type genericType, javax.ws.rs.core.MediaType mediatype, Set<MarshallerInspector> customs, Set<MarshallerInspector> wildcards, boolean forceInstantiation) <T> Reader<T>
MarshallerRegistry.getReader
(RenderingContext ctx, Class<T> marshalledClazz, Type genericType, javax.ws.rs.core.MediaType mediatype) Provides aReader
instance to manage marshalling of a mimetype in a Java Type.<T> Reader<T>
MarshallerRegistry.getReader
(RenderingContext ctx, Class<T> marshalledClazz, javax.ws.rs.core.MediaType mediatype) <T> Reader<T>
MarshallerRegistryImpl.getReader
(RenderingContext ctx, Class<T> marshalledClazz, Type genericType, javax.ws.rs.core.MediaType mediatype) <T> Reader<T>
MarshallerRegistryImpl.getReader
(RenderingContext ctx, Class<T> marshalledClazz, javax.ws.rs.core.MediaType mediatype) <T> T
MarshallerRegistry.getUniqueInstance
(RenderingContext ctx, Class<T> marshallerClass) Provides an instance of the given marshaller class.<T> T
MarshallerRegistryImpl.getUniqueInstance
(RenderingContext ctx, Class<T> marshallerClass) <T> Reader<T>
MarshallerRegistry.getUniqueReader
(RenderingContext ctx, Class<T> marshalledClazz, Type genericType, javax.ws.rs.core.MediaType mediatype) Provides aReader
instance to manage marshalling of a mimetype in a Java Type.<T> Reader<T>
MarshallerRegistryImpl.getUniqueReader
(RenderingContext ctx, Class<T> marshalledClazz, Type genericType, javax.ws.rs.core.MediaType mediatype) <T> Writer<T>
MarshallerRegistry.getUniqueWriter
(RenderingContext ctx, Class<T> marshalledClazz, Type genericType, javax.ws.rs.core.MediaType mediatype) Provides aWriter
instance to manage marshalling of the given Java Type and mimetype.<T> Writer<T>
MarshallerRegistryImpl.getUniqueWriter
(RenderingContext ctx, Class<T> marshalledClazz, Type genericType, javax.ws.rs.core.MediaType mediatype) <T> Writer<T>
MarshallerRegistry.getWriter
(RenderingContext ctx, Class<T> marshalledClazz, Type genericType, javax.ws.rs.core.MediaType mediatype) Provides aWriter
instance to manage marshalling of the given Java Type and mimetype.<T> Writer<T>
MarshallerRegistry.getWriter
(RenderingContext ctx, Class<T> marshalledClazz, javax.ws.rs.core.MediaType mediatype) <T> Writer<T>
MarshallerRegistryImpl.getWriter
(RenderingContext ctx, Class<T> marshalledClazz, Type genericType, javax.ws.rs.core.MediaType mediatype) <T> Writer<T>
MarshallerRegistryImpl.getWriter
(RenderingContext ctx, Class<T> marshalledClazz, javax.ws.rs.core.MediaType mediatype) static <T> List<T>
MarshallerHelper.jsonToList
(Class<T> elementType, String json, RenderingContext ctx) static <T> T
MarshallerHelper.jsonToObject
(Class<T> type, Type genericType, String json, RenderingContext ctx) static <T> T
MarshallerHelper.jsonToObject
(Class<T> type, String json, RenderingContext ctx) static <T> List<T>
MarshallerHelper.listToJson
(Class<T> elementType, String json, RenderingContext ctx) Deprecated.static <T> String
MarshallerHelper.listToJson
(Class<T> elementType, List<T> list, RenderingContext ctx) Convert the given list to json.static <T> T
MarshallerHelper.objectToJson
(Class<T> type, Type genericType, String json, RenderingContext ctx) Deprecated.since 10.2, useMarshallerHelper.jsonToObject(Class, Type, String, RenderingContext)
instead.static <T> T
MarshallerHelper.objectToJson
(Class<T> type, String json, RenderingContext ctx) Deprecated.since 10.2 useMarshallerHelper.jsonToObject(Class, String, RenderingContext)
instead.static <T> String
MarshallerHelper.objectToJson
(Type genericType, T object, RenderingContext ctx) Convert the given object to json.static <T> String
MarshallerHelper.objectToJson
(T object, RenderingContext ctx) Convert the given object to json. -
Uses of RenderingContext in org.nuxeo.ecm.core.io.registry.context
Modifier and TypeClassDescriptionclass
A thread-safeRenderingContext
implementation.final class
Modifier and TypeMethodDescriptionstatic RenderingContext
RenderingContext.CtxBuilder.get()
RenderingContextImpl.RenderingContextBuilder.get()
ThreadSafeRenderingContext.getDelegate()
Get the underlyingRenderingContext
.Modifier and TypeMethodDescriptionvoid
ThreadSafeRenderingContext.configureThread
(RenderingContext delegates) Configure thisRenderingContext
to use the givenRenderingContext
in the current thread. -
Uses of RenderingContext in org.nuxeo.ecm.core.io.registry.reflect
Modifier and TypeMethodDescription<T> T
MarshallerInspector.getInstance
(RenderingContext ctx) Create an instance of this marshaller.MarshallerInspector.getNewInstance
(RenderingContext ctx, boolean singleton) Create a new instance of the marshaller.void
MarshallerInspector.injectCtx
(Object instance, RenderingContext ctx, boolean singleton) Inject the context. -
Uses of RenderingContext in org.nuxeo.ecm.platform.audit.io
Modifier and TypeMethodDescriptionLogEntryCSVWriter.getPropertiesToFetch
(RenderingContext ctx) Gets the properties to fetch if specified.static void
LogEntryCSVWriter.writeHeader
(org.apache.commons.csv.CSVPrinter printer, RenderingContext ctx) -
Uses of RenderingContext in org.nuxeo.ecm.platform.csv.export.computation
Modifier and TypeFieldDescriptionprotected RenderingContext
CSVProjectionComputation.renderingCtx
-
Uses of RenderingContext in org.nuxeo.ecm.platform.csv.export.io
Modifier and TypeMethodDescriptionDocumentModelCSVHelper.getList
(RenderingContext ctx, String key) -
Uses of RenderingContext in org.nuxeo.ecm.platform.routing.core.io
Modifier and TypeMethodDescriptionstatic String
DocumentRouteWriter.getGraphResourceURL
(DocumentRoute route, RenderingContext ctx) static void
TaskWriter.writeTaskVariables
(GraphNode node, com.fasterxml.jackson.core.JsonGenerator jg, MarshallerRegistry registry, RenderingContext ctx, SchemaManager schemaManager) static void
DocumentRouteWriter.writeVariables
(DocumentRoute item, com.fasterxml.jackson.core.JsonGenerator jg, MarshallerRegistry registry, RenderingContext ctx, SchemaManager schemaManager) static void
TaskWriter.writeWorkflowVariables
(DocumentRoute route, GraphNode node, com.fasterxml.jackson.core.JsonGenerator jg, MarshallerRegistry registry, RenderingContext ctx, SchemaManager schemaManager) -
Uses of RenderingContext in org.nuxeo.ecm.restapi.server.jaxrs.adapters
-
Uses of RenderingContext in org.nuxeo.ecm.webengine.jaxrs.coreiodelegate
Modifier and TypeMethodDescriptionstatic RenderingContext
RenderingContextWebUtils.getContext
(javax.servlet.ServletRequest request) Get the current context in the currentHttpServletRequest
or create it from the currentHttpServletRequest
.CoreIODelegate.getValue()
JsonCoreIODelegate.getValue()
Deprecated, for removal: This API element is subject to removal in a future version.Modifier and TypeMethodDescriptionstatic void
RenderingContextWebUtils.registerContext
(javax.servlet.ServletRequest request, RenderingContext ctx) Register the given context as the context to use to manage the marshalling.
MarshallerHelper.jsonToList(Class, String, RenderingContext)
instead.