Class RenderingContext.CtxBuilder
- java.lang.Object
-
- org.nuxeo.ecm.core.io.registry.context.RenderingContext.CtxBuilder
-
- Enclosing interface:
- RenderingContext
public static final class RenderingContext.CtxBuilder extends Object
RenderingContext
builder.RenderingContext ctx = CtxBuilder.base("http://mine.nuxeo.com/nuxeo").locale(Locale.ENGLISH).param("name", "value1", "value2").get();
- Since:
- 7.2
-
-
Method Summary
-
-
-
Method Detail
-
builder
public static RenderingContextImpl.RenderingContextBuilder builder()
-
base
public static RenderingContextImpl.RenderingContextBuilder base(String url)
-
locale
public static RenderingContextImpl.RenderingContextBuilder locale(Locale locale)
-
session
public static RenderingContextImpl.RenderingContextBuilder session(CoreSession session)
-
param
public static RenderingContextImpl.RenderingContextBuilder param(String name, Object value)
-
paramValues
public static RenderingContextImpl.RenderingContextBuilder paramValues(String name, Object... values)
-
paramList
public static RenderingContextImpl.RenderingContextBuilder paramList(String name, List<?> values)
-
properties
public static RenderingContextImpl.RenderingContextBuilder properties(String... schemaName)
-
fetch
public static RenderingContextImpl.RenderingContextBuilder fetch(String entityType, String... propertyName)
-
fetchInDoc
public static RenderingContextImpl.RenderingContextBuilder fetchInDoc(String... propertyName)
-
translate
public static RenderingContextImpl.RenderingContextBuilder translate(String entityType, String... propertyName)
-
enrich
public static RenderingContextImpl.RenderingContextBuilder enrich(String entityType, String... enricherName)
-
enrichDoc
public static RenderingContextImpl.RenderingContextBuilder enrichDoc(String... enricherName)
-
depth
public static RenderingContextImpl.RenderingContextBuilder depth(DepthValues value)
-
get
public static RenderingContext get()
-
-