Uses of Interface
org.nuxeo.ecm.core.io.registry.context.RenderingContext
-
-
Uses of RenderingContext in org.nuxeo.ecm.core.io.marshallers.csv
Fields in org.nuxeo.ecm.core.io.marshallers.csv declared as RenderingContext Modifier and Type Field Description protected RenderingContext
AbstractCSVWriter. ctx
The currentRenderingContext
. -
Uses of RenderingContext in org.nuxeo.ecm.core.io.marshallers.json
Fields in org.nuxeo.ecm.core.io.marshallers.json declared as RenderingContext Modifier and Type Field Description protected RenderingContext
AbstractJsonReader. ctx
The currentRenderingContext
.protected RenderingContext
AbstractJsonWriter. ctx
The currentRenderingContext
. -
Uses of RenderingContext in org.nuxeo.ecm.core.io.marshallers.json.document
Methods in org.nuxeo.ecm.core.io.marshallers.json.document with parameters of type RenderingContext Modifier and Type Method Description protected static boolean
DocumentPropertyJsonWriter. skipProperty(RenderingContext ctx, Property property)
-
Uses of RenderingContext in org.nuxeo.ecm.core.io.registry
Methods in org.nuxeo.ecm.core.io.registry with parameters of type RenderingContext Modifier and Type Method Description <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)
<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.since 10.2, useMarshallerHelper.jsonToList(Class, String, RenderingContext)
instead.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
Classes in org.nuxeo.ecm.core.io.registry.context that implement RenderingContext Modifier and Type Class Description class
RenderingContextImpl
A thread-safeRenderingContext
implementation.class
ThreadSafeRenderingContext
Methods in org.nuxeo.ecm.core.io.registry.context that return RenderingContext Modifier and Type Method Description static RenderingContext
RenderingContext.CtxBuilder. get()
RenderingContext
RenderingContextImpl.RenderingContextBuilder. get()
RenderingContext
ThreadSafeRenderingContext. getDelegate()
Get the underlyingRenderingContext
.Methods in org.nuxeo.ecm.core.io.registry.context with parameters of type RenderingContext Modifier and Type Method Description void
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
Methods in org.nuxeo.ecm.core.io.registry.reflect with parameters of type RenderingContext Modifier and Type Method Description <T> T
MarshallerInspector. getInstance(RenderingContext ctx)
Create an instance of this marshaller.Object
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
Methods in org.nuxeo.ecm.platform.audit.io with parameters of type RenderingContext Modifier and Type Method Description protected static List<String>
LogEntryCSVWriter. 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
Fields in org.nuxeo.ecm.platform.csv.export.computation declared as RenderingContext Modifier and Type Field Description protected RenderingContext
CSVProjectionComputation. renderingCtx
-
Uses of RenderingContext in org.nuxeo.ecm.platform.csv.export.io
Methods in org.nuxeo.ecm.platform.csv.export.io with parameters of type RenderingContext Modifier and Type Method Description static List<String>
DocumentModelCSVHelper. getList(RenderingContext ctx, String key)
-
Uses of RenderingContext in org.nuxeo.ecm.platform.routing.core.io
Methods in org.nuxeo.ecm.platform.routing.core.io with parameters of type RenderingContext Modifier and Type Method Description static 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
Fields in org.nuxeo.ecm.restapi.server.jaxrs.adapters declared as RenderingContext Modifier and Type Field Description protected RenderingContext
EmptyDocumentAdapter. renderingCtx
-
Uses of RenderingContext in org.nuxeo.ecm.webengine.jaxrs.coreiodelegate
Methods in org.nuxeo.ecm.webengine.jaxrs.coreiodelegate that return RenderingContext Modifier and Type Method Description static RenderingContext
RenderingContextWebUtils. getContext(javax.servlet.ServletRequest request)
Get the current context in the currentHttpServletRequest
or create it from the currentHttpServletRequest
.RenderingContext
CoreIODelegate. getValue()
RenderingContext
JsonCoreIODelegate. getValue()
Deprecated, for removal: This API element is subject to removal in a future version.Methods in org.nuxeo.ecm.webengine.jaxrs.coreiodelegate with parameters of type RenderingContext Modifier and Type Method Description static void
DocumentModelJsonReaderLegacy. pushInstanceIfNeeded(RenderingContext ctx, javax.servlet.http.HttpServletRequest request, javax.ws.rs.core.MultivaluedMap<String,String> httpHeaders)
static void
RenderingContextWebUtils. registerContext(javax.servlet.ServletRequest request, RenderingContext ctx)
Register the given context as the context to use to manage the marshalling.
-