Package org.nuxeo.template.jaxrs
Class TemplateBasedResource
- java.lang.Object
-
- org.nuxeo.ecm.webengine.model.impl.AbstractResource<ResourceTypeImpl>
-
- org.nuxeo.ecm.webengine.model.impl.DefaultObject
-
- org.nuxeo.template.jaxrs.TemplateBasedResource
-
public class TemplateBasedResource extends DefaultObject
-
-
Constructor Summary
Constructors Constructor Description TemplateBasedResource()
TemplateBasedResource(String uuid)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
get()
Object
getAssociatedTemplate(String name)
String
getAssociatedTemplates()
Blob
getResource(String templateName, String resourceName)
protected void
initialize(Object... args)
protected TemplateBasedDocument
resolve()
-
Methods inherited from class org.nuxeo.ecm.webengine.model.impl.DefaultObject
disptachAdapter, isAdapter
-
Methods inherited from class org.nuxeo.ecm.webengine.model.impl.AbstractResource
checkGuard, dispose, getActiveAdapter, getAdapter, getContext, getFacets, getLinks, getModule, getName, getNext, getNextSegment, getPath, getPrevious, getTemplate, getTrailingPath, getType, getURL, getView, hasFacet, initialize, isInstanceOf, isRoot, newAdapter, newObject, redirect, setNext, setPrevious, setRoot, toString
-
-
-
-
Field Detail
-
uuid
protected String uuid
-
-
Constructor Detail
-
TemplateBasedResource
public TemplateBasedResource()
-
TemplateBasedResource
public TemplateBasedResource(String uuid)
-
-
Method Detail
-
initialize
protected void initialize(Object... args)
- Overrides:
initialize
in classAbstractResource<ResourceTypeImpl>
-
resolve
protected TemplateBasedDocument resolve()
-
get
public Object get()
-
getAssociatedTemplates
public String getAssociatedTemplates()
-
-